|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo.Annotation.AMemberValue
public abstract static class AAnnotationsAttributeInfo.Annotation.AMemberValue
Storage class for a member value.
| Field Summary | |
|---|---|
char |
tag
Type tag. |
| Constructor Summary | |
|---|---|
protected |
AAnnotationsAttributeInfo.Annotation.AMemberValue(char tag)
Creates a new member value. |
| Method Summary | ||
|---|---|---|
abstract boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. |
|
abstract
|
execute(AAnnotationsAttributeInfo.Annotation.IMemberValueVisitor<R,P> v,
P param)
Execute a visitor. |
|
abstract int |
getSize()
Returns the size of this value. |
|
char |
getTag()
Returns the tag character of this value. |
|
abstract int |
hashCode()
Returns a hash code value for the object. |
|
static AAnnotationsAttributeInfo.Annotation.AMemberValue |
read(ConstantPool cp,
byte[] data,
int start)
Parses member value data and returns a member value. |
|
abstract java.lang.String |
toStringJava()
Returns a string representation of the object like it would be seen in a Java listing. |
|
abstract void |
writeToByteArrayOutputStream(ConstantPool cp,
java.io.ByteArrayOutputStream baos)
Writes this value into the stream. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public char tag
| Constructor Detail |
|---|
protected AAnnotationsAttributeInfo.Annotation.AMemberValue(char tag)
tag - _type tag of this value| Method Detail |
|---|
public abstract int getSize()
public char getTag()
public abstract void writeToByteArrayOutputStream(ConstantPool cp,
java.io.ByteArrayOutputStream baos)
throws java.io.IOException
cp - constant poolbaos - stream
java.io.IOException
public static AAnnotationsAttributeInfo.Annotation.AMemberValue read(ConstantPool cp,
byte[] data,
int start)
cp - constant pooldata - data arraystart - start index in data array
public abstract java.lang.String toStringJava()
public abstract <R,P> R execute(AAnnotationsAttributeInfo.Annotation.IMemberValueVisitor<R,P> v,
P param)
v - visitorparam - visitor-specific parameter
public abstract int hashCode()
hashCode in class java.lang.Objectpublic abstract boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the reference object with which to compare.
true if this object is the same as the obj argument; false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||