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

public abstract Class RuntimeParamAnnos

extends Attribute
Class Inheritance
Known Direct Subclasses
org.aspectj.apache.bcel.classfile.annotation.RuntimeVisParamAnnos, org.aspectj.apache.bcel.classfile.annotation.RuntimeInvisParamAnnos
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 boolean
private List<AnnotationGen[]>
private boolean
Inherited from org.aspectj.apache.bcel.classfile.Attribute:
cpoollengthnameIndexNoAttributestag

Constructor Summary

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

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

Method Summary

Modifier and TypeMethod and Description
public boolean
public Attribute
copy(ConstantPool constant_pool)

public final void
public AnnotationGen[]
getAnnotationsOnParameter(int parameterIndex)

public List<AnnotationGen[]>
getParameterAnnotations()

Return a list of Annotation[] - each list entry contains the annotations for one parameter

private void
public boolean
isInflated()

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

protected void
public String
toString()

Overrides org.aspectj.apache.bcel.classfile.Attribute.toString.

Returns a string representation of the object.
protected void
Inherited from org.aspectj.apache.bcel.classfile.Attribute:
acceptgetConstantPoolgetLengthgetNamegetNameIndexgetTagreadAttribute

Field Detail

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

Constructor Detail

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

Method Detail

areVisibleback to summary
public boolean areVisible()
copyback to summary
public Attribute copy(ConstantPool constant_pool)
dumpback to summary
public final void dump(DataOutputStream dos) throws IOException

Overrides org.aspectj.apache.bcel.classfile.Attribute.dump.

getAnnotationsOnParameterback to summary
public AnnotationGen[] getAnnotationsOnParameter(int parameterIndex)
getParameterAnnotationsback to summary
public List<AnnotationGen[]> getParameterAnnotations()

Return a list of Annotation[] - each list entry contains the annotations for one parameter

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

readParameterAnnotationsback to summary
protected void readParameterAnnotations(DataInputStream dis, ConstantPool cpool) throws IOException
toStringback to summary
public String toString()

Overrides org.aspectj.apache.bcel.classfile.Attribute.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

writeAnnotationsback to summary
protected void writeAnnotations(DataOutputStream dos) throws IOException