|
||||||||||
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.AAttributeInfo edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo edu.rice.cs.cunit.classFile.attributes.ASingleAnnotationsAttributeInfo
public abstract class ASingleAnnotationsAttributeInfo
Represents a single abstract Annotations attribute in a class file.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo |
---|
AAnnotationsAttributeInfo.Annotation |
Field Summary |
---|
Fields inherited from class edu.rice.cs.cunit.classFile.attributes.AAttributeInfo |
---|
_constantPool, _data, _name |
Constructor Summary | |
---|---|
ASingleAnnotationsAttributeInfo(AUTFPoolInfo name,
byte[] data,
ConstantPool cp)
Creates a new abstract parameter annotations attribute. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
int |
getAnnotationCount()
Return the number of annotations. |
AAnnotationsAttributeInfo.Annotation[] |
getAnnotations()
Return the annotations list. |
void |
setAnnotations(AAnnotationsAttributeInfo.Annotation[] ann)
Set the annotations list. |
java.lang.String |
toString()
Return a human-readable version of this attribute. |
Methods inherited from class edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo |
---|
adjustPC, translatePC |
Methods inherited from class edu.rice.cs.cunit.classFile.attributes.AAttributeInfo |
---|
equals, execute, getData, getName, hashCode, read, setData, setName, write |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ASingleAnnotationsAttributeInfo(AUTFPoolInfo name, byte[] data, ConstantPool cp)
name
- name of attributedata
- data arraycp
- constant poolMethod Detail |
---|
public int getAnnotationCount() throws java.lang.ClassFormatError
java.lang.ClassFormatError
public AAnnotationsAttributeInfo.Annotation[] getAnnotations() throws java.lang.ClassFormatError
java.lang.ClassFormatError
public void setAnnotations(AAnnotationsAttributeInfo.Annotation[] ann) throws java.io.IOException
ann
- list of checked exceptions
java.lang.ClassFormatError
java.io.IOException
public java.lang.String toString()
toString
in class AAttributeInfo
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class AAnnotationsAttributeInfo
java.lang.CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |