edu.rice.cs.cunit.classFile.attributes
Class RuntimeVisibleLocalVariableAnnotationsAttributeInfo

java.lang.Object
  extended by edu.rice.cs.cunit.classFile.attributes.AAttributeInfo
      extended by edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo
          extended by edu.rice.cs.cunit.classFile.attributes.AMultipleNamedAnnotationsAttributeInfo
              extended by edu.rice.cs.cunit.classFile.attributes.RuntimeVisibleLocalVariableAnnotationsAttributeInfo
All Implemented Interfaces:
java.lang.Cloneable

public class RuntimeVisibleLocalVariableAnnotationsAttributeInfo
extends AMultipleNamedAnnotationsAttributeInfo

Represents the (non-standard) RuntimeInvisibleLocalVariableAnnotations attribute in a class file.

Author:
Mathias Ricken

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.rice.cs.cunit.classFile.attributes.AMultipleNamedAnnotationsAttributeInfo
AMultipleNamedAnnotationsAttributeInfo.NamedAnnotationsRecord
 
Nested classes/interfaces inherited from class edu.rice.cs.cunit.classFile.attributes.AAnnotationsAttributeInfo
AAnnotationsAttributeInfo.Annotation
 
Field Summary
 
Fields inherited from class edu.rice.cs.cunit.classFile.attributes.AAttributeInfo
_constantPool, _data, _name
 
Constructor Summary
RuntimeVisibleLocalVariableAnnotationsAttributeInfo(AUTFPoolInfo name, byte[] data, ConstantPool cp)
          Constructor.
 
Method Summary
<R,D> R
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 edu.rice.cs.cunit.classFile.attributes.AMultipleNamedAnnotationsAttributeInfo
adjustPC, clone, getEntityAnnotations, getEntityCount, setLocalVariableAnnotations, toString, translatePC
 
Methods inherited from class edu.rice.cs.cunit.classFile.attributes.AAttributeInfo
equals, getData, getName, hashCode, read, setData, setName, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuntimeVisibleLocalVariableAnnotationsAttributeInfo

public RuntimeVisibleLocalVariableAnnotationsAttributeInfo(AUTFPoolInfo name,
                                                           byte[] data,
                                                           ConstantPool cp)
                                                    throws java.lang.ClassFormatError
Constructor.

Parameters:
name - attribute name
data - attribute data
cp - constant pool
Throws:
java.lang.ClassFormatError
Method Detail

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 - visitor
param - 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 AMultipleNamedAnnotationsAttributeInfo
Returns:
name of tne entity