edu.rice.cs.cunit.classFile.attributes
Class RuntimeVisibleParameterAnnotationsAttributeInfo
java.lang.Object
edu.rice.cs.cunit.classFile.attributes.AAttributeInfo
edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo
edu.rice.cs.cunit.classFile.attributes.AMultipleAnnotationsAttributeInfo
edu.rice.cs.cunit.classFile.attributes.RuntimeVisibleParameterAnnotationsAttributeInfo
- All Implemented Interfaces:
- java.lang.Cloneable
public class RuntimeVisibleParameterAnnotationsAttributeInfo
- extends AMultipleAnnotationsAttributeInfo
Represents the RuntimeVisibleParameterAnnotations attribute in a class file.
- Author:
- Mathias Ricken
Method Summary |
|
execute(IAttributeVisitor<R,D> visitor,
D param)
Execute a visitor on this attribute. |
static java.lang.String |
getAttributeName()
Returns the name of the attribute as it appears in the class file. |
java.lang.String |
getEntityName()
Return the name of the entity, i.e. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
RuntimeVisibleParameterAnnotationsAttributeInfo
public RuntimeVisibleParameterAnnotationsAttributeInfo(AUTFPoolInfo name,
byte[] data,
ConstantPool cp)
throws java.lang.ClassFormatError
- Constructor.
- Parameters:
name
- attribute namedata
- attribute datacp
- constant pool
- Throws:
java.lang.ClassFormatError
execute
public <R,D> R execute(IAttributeVisitor<R,D> visitor,
D param)
- Execute a visitor on this attribute.
- Specified by:
execute
in class AAttributeInfo
- Parameters:
visitor
- visitorparam
- visitor-specific parameter
- Returns:
- visitor-specific return value
getAttributeName
public static java.lang.String getAttributeName()
- Returns the name of the attribute as it appears in the class file.
- Returns:
- name of the attribute.
getEntityName
public java.lang.String getEntityName()
- Return the name of the entity, i.e. "Parameter".
- Specified by:
getEntityName
in class AMultipleAnnotationsAttributeInfo
- Returns:
- name of tne entity