|
||||||||||
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.ConstantMemberValue
public static class AAnnotationsAttributeInfo.Annotation.ConstantMemberValue
Storage class for constants.
Field Summary | |
---|---|
(package private) APoolInfo |
constValue
Constant value. |
Fields inherited from class edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo.Annotation.AMemberValue |
---|
tag |
Constructor Summary | |
---|---|
AAnnotationsAttributeInfo.Annotation.ConstantMemberValue(char tag,
APoolInfo constValue)
Creates a new constant 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. |
|
APoolInfo |
getConstValue()
Accessor for the constant value. |
|
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 |
---|
APoolInfo constValue
Constructor Detail |
---|
public AAnnotationsAttributeInfo.Annotation.ConstantMemberValue(char tag, APoolInfo constValue)
tag
- _type tagconstValue
- constant valueMethod 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 APoolInfo getConstValue()
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 |