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

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

Field Summary
 
Fields inherited from class org.aspectj.apache.bcel.classfile.Attribute
cpool, length, nameIndex, NoAttributes, tag
 
Constructor Summary
RuntimeParamAnnos(byte attrid, boolean visible, int nameIdx, int len, byte[] data, ConstantPool cpool)
           
RuntimeParamAnnos(byte attrid, boolean visible, int nameIdx, int len, ConstantPool cpool)
           
 
Method Summary
 boolean areVisible()
           
 Attribute copy(ConstantPool constant_pool)
           
 void dump(java.io.DataOutputStream dos)
           
 AnnotationGen[] getAnnotationsOnParameter(int parameterIndex)
           
 java.util.List<AnnotationGen[]> getParameterAnnotations()
          Return a list of Annotation[] - each list entry contains the annotations for one parameter
 boolean isInflated()
          FOR TESTING ONLY: Tells you if the annotations have been inflated to an object graph
protected  void readParameterAnnotations(java.io.DataInputStream dis, ConstantPool cpool)
           
 java.lang.String toString()
           
protected  void writeAnnotations(java.io.DataOutputStream dos)
           
 
Methods inherited from class org.aspectj.apache.bcel.classfile.Attribute
accept, getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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

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