com.sun.tools.classfile
Class Attribute
java.lang.Object
com.sun.tools.classfile.Attribute
- Direct Known Subclasses:
- AnnotationDefault_attribute, CharacterRangeTable_attribute, Code_attribute, CompilationID_attribute, ConstantValue_attribute, DefaultAttribute, Deprecated_attribute, EnclosingMethod_attribute, Exceptions_attribute, InnerClasses_attribute, LineNumberTable_attribute, LocalVariableTable_attribute, LocalVariableTypeTable_attribute, Module_attribute, ModuleExportTable_attribute, ModuleMemberTable_attribute, RuntimeAnnotations_attribute, RuntimeParameterAnnotations_attribute, Signature_attribute, SourceDebugExtension_attribute, SourceFile_attribute, SourceID_attribute, StackMap_attribute, StackMapTable_attribute, Synthetic_attribute
public abstract class Attribute
- extends java.lang.Object
This is NOT part of any API supported by Sun Microsystems. If
you write code that depends on this, you do so at your own risk.
This code and its internal interfaces are subject to change or
deletion without notice.
|
Constructor Summary |
protected |
Attribute(int name_index,
int length)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationDefault
public static final java.lang.String AnnotationDefault
- See Also:
- Constant Field Values
CharacterRangeTable
public static final java.lang.String CharacterRangeTable
- See Also:
- Constant Field Values
Code
public static final java.lang.String Code
- See Also:
- Constant Field Values
ConstantValue
public static final java.lang.String ConstantValue
- See Also:
- Constant Field Values
CompilationID
public static final java.lang.String CompilationID
- See Also:
- Constant Field Values
Deprecated
public static final java.lang.String Deprecated
- See Also:
- Constant Field Values
EnclosingMethod
public static final java.lang.String EnclosingMethod
- See Also:
- Constant Field Values
Exceptions
public static final java.lang.String Exceptions
- See Also:
- Constant Field Values
InnerClasses
public static final java.lang.String InnerClasses
- See Also:
- Constant Field Values
LineNumberTable
public static final java.lang.String LineNumberTable
- See Also:
- Constant Field Values
LocalVariableTable
public static final java.lang.String LocalVariableTable
- See Also:
- Constant Field Values
LocalVariableTypeTable
public static final java.lang.String LocalVariableTypeTable
- See Also:
- Constant Field Values
RuntimeVisibleAnnotations
public static final java.lang.String RuntimeVisibleAnnotations
- See Also:
- Constant Field Values
RuntimeInvisibleAnnotations
public static final java.lang.String RuntimeInvisibleAnnotations
- See Also:
- Constant Field Values
RuntimeVisibleParameterAnnotations
public static final java.lang.String RuntimeVisibleParameterAnnotations
- See Also:
- Constant Field Values
RuntimeInvisibleParameterAnnotations
public static final java.lang.String RuntimeInvisibleParameterAnnotations
- See Also:
- Constant Field Values
Signature
public static final java.lang.String Signature
- See Also:
- Constant Field Values
SourceDebugExtension
public static final java.lang.String SourceDebugExtension
- See Also:
- Constant Field Values
SourceFile
public static final java.lang.String SourceFile
- See Also:
- Constant Field Values
SourceID
public static final java.lang.String SourceID
- See Also:
- Constant Field Values
StackMap
public static final java.lang.String StackMap
- See Also:
- Constant Field Values
StackMapTable
public static final java.lang.String StackMapTable
- See Also:
- Constant Field Values
Synthetic
public static final java.lang.String Synthetic
- See Also:
- Constant Field Values
Module
public static final java.lang.String Module
- See Also:
- Constant Field Values
ModuleExportTable
public static final java.lang.String ModuleExportTable
- See Also:
- Constant Field Values
ModuleMemberTable
public static final java.lang.String ModuleMemberTable
- See Also:
- Constant Field Values
attribute_name_index
public final int attribute_name_index
attribute_length
public final int attribute_length
Attribute
protected Attribute(int name_index,
int length)
read
public static Attribute read(ClassReader cr)
throws java.io.IOException
- Throws:
java.io.IOException
getName
public java.lang.String getName(ConstantPool constant_pool)
throws ConstantPoolException
- Throws:
ConstantPoolException
accept
public abstract <R,D> R accept(Attribute.Visitor<R,D> visitor,
D data)