|
||||||||||
| 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
edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo.Annotation.AnnotationMemberValue
public static class AAnnotationsAttributeInfo.Annotation.AnnotationMemberValue
Storage class for an annotation value.
| Field Summary | |
|---|---|
(package private) AAnnotationsAttributeInfo.Annotation |
annotation
Annotation value. |
| Fields inherited from class edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo.Annotation.AMemberValue |
|---|
tag |
| Constructor Summary | |
|---|---|
AAnnotationsAttributeInfo.Annotation.AnnotationMemberValue(char tag,
AAnnotationsAttributeInfo.Annotation annotation)
Creates a new annotation 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. |
|
AAnnotationsAttributeInfo.Annotation |
getAnnotation()
Accessor for the annotation. |
|
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 |
|---|
AAnnotationsAttributeInfo.Annotation annotation
| Constructor Detail |
|---|
public AAnnotationsAttributeInfo.Annotation.AnnotationMemberValue(char tag,
AAnnotationsAttributeInfo.Annotation annotation)
tag - _type tagannotation - annotation value| Method 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.AMemberValuecp - constant poolbaos - stream
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic 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.AMemberValuev - visitorparam - visitor-specific parameter
public AAnnotationsAttributeInfo.Annotation getAnnotation()
public boolean equals(java.lang.Object o)
equals in class AAnnotationsAttributeInfo.Annotation.AMemberValueo - 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 | |||||||||