|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.classfile.AnnotElementValue
A class representing a value in an element-value pair of an annotation structure. This serves as the abstract super class of all value classes.
Annotation,
Annotation.ElementValuePair| Constructor Summary | |
AnnotElementValue()
|
|
| Method Summary | |
(package private) abstract int |
getSize()
Return the size in bytes that this value takes up in the class file (not including the tag). |
(package private) abstract void |
resolveConstants(ConstantPool cp)
Insert or check location of constant value on constant pool. |
abstract java.lang.String |
toString()
Return a textual representation of the value. |
(package private) abstract void |
write(ConstantPool cp,
java.io.DataOutput out)
Write this value to a classfile stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AnnotElementValue()
| Method Detail |
abstract void resolveConstants(ConstantPool cp)
cp - the constant pool for this class
abstract void write(ConstantPool cp,
java.io.DataOutput out)
throws java.io.IOException
cp - the constant poolout - the output stream
java.io.IOException - an IO error has occurredabstract int getSize()
public abstract java.lang.String toString()
toString in class java.lang.Object
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||