org.aspectj.apache.bcel.classfile.annotation
Class RuntimeParamAnnos
java.lang.Object
org.aspectj.apache.bcel.classfile.Attribute
org.aspectj.apache.bcel.classfile.annotation.RuntimeParamAnnos
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Node
- Direct Known Subclasses:
- RuntimeInvisParamAnnos, RuntimeVisParamAnnos
public abstract class RuntimeParamAnnos
- extends Attribute
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RuntimeParamAnnos
public RuntimeParamAnnos(byte attrid,
boolean visible,
int nameIdx,
int len,
ConstantPool cpool)
RuntimeParamAnnos
public RuntimeParamAnnos(byte attrid,
boolean visible,
int nameIdx,
int len,
byte[] data,
ConstantPool cpool)
dump
public final void dump(java.io.DataOutputStream dos)
throws java.io.IOException
- Overrides:
dump
in class Attribute
- Throws:
java.io.IOException
copy
public Attribute copy(ConstantPool constant_pool)
getParameterAnnotations
public java.util.List<AnnotationGen[]> getParameterAnnotations()
- Return a list of Annotation[] - each list entry contains the annotations for one parameter
getAnnotationsOnParameter
public AnnotationGen[] getAnnotationsOnParameter(int parameterIndex)
areVisible
public boolean areVisible()
readParameterAnnotations
protected void readParameterAnnotations(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
toString
public java.lang.String toString()
- Overrides:
toString
in class Attribute