|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.cunit.classFile.attributes.AAttributeInfo
edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo
edu.rice.cs.cunit.classFile.attributes.AMultipleNamedAnnotationsAttributeInfo
public abstract class AMultipleNamedAnnotationsAttributeInfo
| Nested Class Summary | |
|---|---|
static class |
AMultipleNamedAnnotationsAttributeInfo.NamedAnnotationsRecord
Storage class for name and annotations. |
| 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 | |
|---|---|
AMultipleNamedAnnotationsAttributeInfo(AUTFPoolInfo name,
byte[] data,
ConstantPool cp)
|
|
| Method Summary | |
|---|---|
void |
adjustPC(int startPC,
int deltaPC)
Adjust program counter values contained in this attribute, starting at startPC, by adding deltaPC to them. |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
AMultipleNamedAnnotationsAttributeInfo.NamedAnnotationsRecord[] |
getEntityAnnotations()
Return an array of entity annotations records. |
int |
getEntityCount()
Return the number of entities. |
abstract java.lang.String |
getEntityName()
Return the name of the entity, e.g. |
void |
setLocalVariableAnnotations(AMultipleNamedAnnotationsAttributeInfo.NamedAnnotationsRecord[] nars)
Set the array of entity annotations records. |
java.lang.String |
toString()
Return a human-readable version of this attribute. |
void |
translatePC(int index,
int deltaIndex,
LineNumberTable oldLnt,
LineNumberTable newLnt)
Translate the program counter values contained in this attribute from an old line number table to a new one. |
| 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 AMultipleNamedAnnotationsAttributeInfo(AUTFPoolInfo name,
byte[] data,
ConstantPool cp)
| Method Detail |
|---|
public int getEntityCount()
java.lang.ClassFormatError
public AMultipleNamedAnnotationsAttributeInfo.NamedAnnotationsRecord[] getEntityAnnotations()
throws java.lang.ClassFormatError
java.lang.ClassFormatError - if the attribute has an incorrect formatpublic void setLocalVariableAnnotations(AMultipleNamedAnnotationsAttributeInfo.NamedAnnotationsRecord[] nars)
nars - array of entity annotations recordspublic java.lang.String toString()
toString in class AAttributeInfopublic abstract java.lang.String getEntityName()
public void adjustPC(int startPC,
int deltaPC)
adjustPC in class AAnnotationsAttributeInfostartPC - program counter to start atdeltaPC - change in program counter values
public void translatePC(int index,
int deltaIndex,
LineNumberTable oldLnt,
LineNumberTable newLnt)
translatePC in class AAnnotationsAttributeInfoindex - critical point (insertion or deletion point)deltaIndex - delta value to add to all old line numbers greater than the critical pointoldLnt - old line number tablenewLnt - new line number table
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class AAnnotationsAttributeInfojava.lang.CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||