|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo.Annotation.AMemberValue edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo.Annotation.ClassMemberValue
public static class AAnnotationsAttributeInfo.Annotation.ClassMemberValue
Storage class for a class value.
Field Summary | |
---|---|
(package private) AUTFPoolInfo |
classNameInfo
Class name info. |
Fields inherited from class edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo.Annotation.AMemberValue |
---|
tag |
Constructor Summary | |
---|---|
AAnnotationsAttributeInfo.Annotation.ClassMemberValue(char tag,
AUTFPoolInfo classNameInfo)
Creates a new class value. |
Method Summary | ||
---|---|---|
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. |
|
|
execute(AAnnotationsAttributeInfo.Annotation.IMemberValueVisitor<R,P> v,
P param)
Execute a visitor. |
|
AUTFPoolInfo |
getClassName()
Accessor for the class name. |
|
int |
getSize()
Returns the size of this value. |
|
int |
hashCode()
Returns a hash code value for the object. |
|
java.lang.String |
toString()
Returns a string representation of the object. |
|
java.lang.String |
toStringJava()
Returns a string representation of the object like it would be seen in a Java listing. |
|
void |
writeToByteArrayOutputStream(ConstantPool cp,
java.io.ByteArrayOutputStream baos)
Writes this value into the stream. |
Methods inherited from class edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo.Annotation.AMemberValue |
---|
getTag, read |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
AUTFPoolInfo classNameInfo
Constructor Detail |
---|
public AAnnotationsAttributeInfo.Annotation.ClassMemberValue(char tag, AUTFPoolInfo classNameInfo)
tag
- _type tagclassNameInfo
- class name infoMethod Detail |
---|
public int getSize()
getSize
in class AAnnotationsAttributeInfo.Annotation.AMemberValue
public void writeToByteArrayOutputStream(ConstantPool cp, java.io.ByteArrayOutputStream baos) throws java.io.IOException
writeToByteArrayOutputStream
in class AAnnotationsAttributeInfo.Annotation.AMemberValue
cp
- constant poolbaos
- stream
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringJava()
toStringJava
in class AAnnotationsAttributeInfo.Annotation.AMemberValue
public <R,P> R execute(AAnnotationsAttributeInfo.Annotation.IMemberValueVisitor<R,P> v, P param)
execute
in class AAnnotationsAttributeInfo.Annotation.AMemberValue
v
- visitorparam
- visitor-specific parameter
public AUTFPoolInfo getClassName()
public boolean equals(java.lang.Object o)
equals
in class AAnnotationsAttributeInfo.Annotation.AMemberValue
o
- the reference object with which to compare.
true
if this object is the same as the obj argument; false
otherwise.public int hashCode()
hashCode
in class AAnnotationsAttributeInfo.Annotation.AMemberValue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |