Class RuntimeParamAnnos
java.lang.Object
org.aspectj.apache.bcel.classfile.Attribute
org.aspectj.apache.bcel.classfile.annotation.RuntimeParamAnnos
- All Implemented Interfaces:
Serializable, Cloneable, Node
- Direct Known Subclasses:
RuntimeInvisParamAnnos, RuntimeVisParamAnnos
- See Also:
-
Field Summary
Fields inherited from class Attribute
cpool, length, nameIndex, NoAttributes, tagModifier and TypeFieldDescriptionprotected ConstantPoolprotected intprotected intstatic final Attribute[]protected byte -
Constructor Summary
ConstructorsConstructorDescriptionRuntimeParamAnnos(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
Modifier and TypeMethodDescriptionbooleancopy(ConstantPool constant_pool) final voiddump(DataOutputStream dos) getAnnotationsOnParameter(int parameterIndex) Return a list of Annotation[] - each list entry contains the annotations for one parameterbooleanFOR TESTING ONLY: Tells you if the annotations have been inflated to an object graphprotected voidreadParameterAnnotations(DataInputStream dis, ConstantPool cpool) toString()protected voidMethods inherited from class Attribute
accept, getConstantPool, getLength, getName, getNameIndex, getTag, readAttributeModifier and TypeMethodDescriptionabstract voidfinal ConstantPoolfinal intgetName()final intfinal bytegetTag()static final AttributereadAttribute(DataInputStream file, ConstantPool cpool)
-
Constructor Details
-
RuntimeParamAnnos
-
RuntimeParamAnnos
public RuntimeParamAnnos(byte attrid, boolean visible, int nameIdx, int len, byte[] data, ConstantPool cpool)
-
-
Method Details
-
dump
- Overrides:
dumpin classAttribute- Throws:
IOException
-
copy
-
getParameterAnnotations
Return a list of Annotation[] - each list entry contains the annotations for one parameter -
getAnnotationsOnParameter
-
areVisible
public boolean areVisible() -
readParameterAnnotations
- Throws:
IOException
-
writeAnnotations
- Throws:
IOException
-
isInflated
public boolean isInflated()FOR TESTING ONLY: Tells you if the annotations have been inflated to an object graph -
toString
-