|
||||||||||
| 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.NameValuePair
public static class AAnnotationsAttributeInfo.Annotation.NameValuePair
Storage class for a name-value pair.
| Field Summary | |
|---|---|
private AUTFPoolInfo |
name
Name. |
private AAnnotationsAttributeInfo.Annotation.AMemberValue |
value
Value. |
| Constructor Summary | |
|---|---|
AAnnotationsAttributeInfo.Annotation.NameValuePair(AUTFPoolInfo name,
AAnnotationsAttributeInfo.Annotation.AMemberValue value)
Creates a new name-value pair. |
|
AAnnotationsAttributeInfo.Annotation.NameValuePair(ConstantPool cp,
byte[] data,
int start)
Creates a new name-value pair. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. |
AUTFPoolInfo |
getName()
Accessor for the name. |
int |
getSize()
Returns the size of this name-value pair. |
AAnnotationsAttributeInfo.Annotation.AMemberValue |
getValue()
Accessor for the value. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
toString()
Returns a string representation of the object. |
void |
writeToByteArrayOutputStream(ConstantPool cp,
java.io.ByteArrayOutputStream baos)
Writes this name-value pair into the stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private AUTFPoolInfo name
private AAnnotationsAttributeInfo.Annotation.AMemberValue value
| Constructor Detail |
|---|
public AAnnotationsAttributeInfo.Annotation.NameValuePair(AUTFPoolInfo name,
AAnnotationsAttributeInfo.Annotation.AMemberValue value)
name - namevalue - value
public AAnnotationsAttributeInfo.Annotation.NameValuePair(ConstantPool cp,
byte[] data,
int start)
cp - constant pooldata - data arraystart - start index in array| Method Detail |
|---|
public int getSize()
public void writeToByteArrayOutputStream(ConstantPool cp,
java.io.ByteArrayOutputStream baos)
throws java.io.IOException
cp - constant poolbaos - stream
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic AUTFPoolInfo getName()
public AAnnotationsAttributeInfo.Annotation.AMemberValue getValue()
public 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.public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||