Klasse Attribute
java.lang.Object
org.aspectj.apache.bcel.classfile.Attribute
- Alle implementierten Schnittstellen:
Serializable,Cloneable,Node
- Bekannte direkte Unterklassen:
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
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 $
- Autor:
- M. Dahm
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected ConstantPoolprotected intprotected intstatic final Attribute[]protected byte -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedAttribute(byte tag, int nameIndex, int length, ConstantPool cpool) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract voidvoiddump(DataOutputStream file) final ConstantPoolfinal intgetName()final intfinal bytegetTag()static final AttributereadAttribute(DataInputStream file, ConstantPool cpool) toString()
-
Felddetails
-
NoAttributes
-
tag
protected byte tag -
nameIndex
protected int nameIndex -
length
protected int length -
cpool
-
-
Konstruktordetails
-
Attribute
-
-
Methodendetails
-
dump
- Löst aus:
IOException
-
readAttribute
public static final Attribute readAttribute(DataInputStream file, ConstantPool cpool) throws IOException - Löst aus:
IOException
-
getName
-
getLength
public final int getLength() -
getNameIndex
public final int getNameIndex() -
getTag
public final byte getTag() -
getConstantPool
-
toString
-
accept
-