Top Fields Constructors Methods
org.aspectj.apache.bcel.classfile.annotation

public abstract Class RuntimeAnnos

extends Attribute
Class Inheritance
Known Direct Subclasses
org.aspectj.apache.bcel.classfile.annotation.RuntimeInvisAnnos, org.aspectj.apache.bcel.classfile.annotation.RuntimeVisAnnos
Imports
java.io.ByteArrayInputStream, .DataInputStream, .DataOutputStream, .IOException, java.util.ArrayList, .List, org.aspectj.apache.bcel.classfile.Attribute, .ConstantPool

Field Summary

Modifier and TypeField and Description
private byte[]
private List<AnnotationGen>
private boolean
private boolean
Inherited from org.aspectj.apache.bcel.classfile.Attribute:
cpoollengthnameIndexNoAttributestag

Constructor Summary

AccessConstructor and Description
public
RuntimeAnnos(byte attrid, boolean visible, int nameIdx, int len, ConstantPool cpool)

public
RuntimeAnnos(byte attrid, boolean visible, int nameIdx, int len, byte[] data, ConstantPool cpool)

Method Summary

Modifier and TypeMethod and Description
public boolean
public List<AnnotationGen>
private void
public boolean
isInflated()

FOR TESTING ONLY: Tells you if the annotations have been inflated to an object graph

protected void
protected void
Inherited from org.aspectj.apache.bcel.classfile.Attribute:
acceptdumpgetConstantPoolgetLengthgetNamegetNameIndexgetTagreadAttributetoString

Field Detail

annotation_databack to summary
private byte[] annotation_data
annotationsback to summary
private List<AnnotationGen> annotations
inflatedback to summary
private boolean inflated
visibleback to summary
private boolean visible

Constructor Detail

RuntimeAnnosback to summary
public RuntimeAnnos(byte attrid, boolean visible, int nameIdx, int len, ConstantPool cpool)
RuntimeAnnosback to summary
public RuntimeAnnos(byte attrid, boolean visible, int nameIdx, int len, byte[] data, ConstantPool cpool)

Method Detail

areVisibleback to summary
public boolean areVisible()
getAnnotationsback to summary
public List<AnnotationGen> getAnnotations()
inflateback to summary
private void inflate()
isInflatedback to summary
public boolean isInflated()

FOR TESTING ONLY: Tells you if the annotations have been inflated to an object graph

readAnnotationsback to summary
protected void readAnnotations(DataInputStream dis, ConstantPool cpool) throws IOException
writeAnnotationsback to summary
protected void writeAnnotations(DataOutputStream dos) throws IOException