org.aspectj.apache.bcel.classfile.annotation
Class RuntimeAnnos
java.lang.Object
org.aspectj.apache.bcel.classfile.Attribute
org.aspectj.apache.bcel.classfile.annotation.RuntimeAnnos
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Node
- Direct Known Subclasses:
- RuntimeInvisAnnos, RuntimeVisAnnos
public abstract class RuntimeAnnos
- extends Attribute
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RuntimeAnnos
public RuntimeAnnos(byte attrid,
boolean visible,
int nameIdx,
int len,
ConstantPool cpool)
RuntimeAnnos
public RuntimeAnnos(byte attrid,
boolean visible,
int nameIdx,
int len,
byte[] data,
ConstantPool cpool)
getAnnotations
public java.util.List<AnnotationGen> getAnnotations()
areVisible
public boolean areVisible()
readAnnotations
protected void readAnnotations(java.io.DataInputStream dis,
ConstantPool cpool)
throws java.io.IOException
- Throws:
java.io.IOException
writeAnnotations
protected void writeAnnotations(java.io.DataOutputStream dos)
throws java.io.IOException
- Throws:
java.io.IOException
isInflated
public boolean isInflated()
- FOR TESTING ONLY: Tells you if the annotations have been inflated to an object graph