Class Attribute

java.lang.Object
org.aspectj.apache.bcel.classfile.Attribute
All Implemented Interfaces:
Serializable, Cloneable, Node
Direct Known Subclasses:
AnnotationDefault, BootstrapMethods, Code, ConstantValue, Deprecated, EnclosingMethod, ExceptionTable, InnerClasses, LineNumberTable, LocalVariableTable, LocalVariableTypeTable, MethodParameters, Module, ModuleMainClass, ModulePackages, NestHost, NestMembers, RuntimeAnnos, RuntimeParamAnnos, RuntimeTypeAnnos, Signature, SourceFile, StackMap, Synthetic, Unknown

public abstract class Attribute extends Object implements Cloneable, Node, Serializable
Abstract super class for Attribute objects. Currently the ConstantValue, SourceFile, Code, Exceptiontable, LineNumberTable, LocalVariableTable, InnerClasses and Synthetic attributes are supported. The Unknown attribute stands for non-standard-attributes.
Version:
$Id: Attribute.java,v 1.9 2009/12/09 18:01:31 aclement Exp $
Author:
M. Dahm
See Also:
ConstantValue, SourceFile, Code, Unknown, ExceptionTable, LineNumberTable, LocalVariableTable, InnerClasses, Synthetic, Deprecated, Signature, Serialized Form
  • Field Details

    • NoAttributes

      public static final Attribute[] NoAttributes
    • tag

      protected byte tag
    • nameIndex

      protected int nameIndex
    • length

      protected int length
    • cpool

      protected ConstantPool cpool
  • Constructor Details

    • Attribute

      protected Attribute(byte tag, int nameIndex, int length, ConstantPool cpool)
  • Method Details