org.aspectj.apache.bcel.classfile.annotation
Class RuntimeAnnos

java.lang.Object
  extended by org.aspectj.apache.bcel.classfile.Attribute
      extended by 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

Field Summary
 
Fields inherited from class org.aspectj.apache.bcel.classfile.Attribute
cpool, length, nameIndex, NoAttributes, tag
 
Constructor Summary
RuntimeAnnos(byte attrid, boolean visible, int nameIdx, int len, byte[] data, ConstantPool cpool)
           
RuntimeAnnos(byte attrid, boolean visible, int nameIdx, int len, ConstantPool cpool)
           
 
Method Summary
 boolean areVisible()
           
 java.util.List<AnnotationGen> getAnnotations()
           
 boolean isInflated()
          FOR TESTING ONLY: Tells you if the annotations have been inflated to an object graph
protected  void readAnnotations(java.io.DataInputStream dis, ConstantPool cpool)
           
protected  void writeAnnotations(java.io.DataOutputStream dos)
           
 
Methods inherited from class org.aspectj.apache.bcel.classfile.Attribute
accept, dump, getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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