Klasse ClassFileAttribute
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
- Alle implementierten Schnittstellen:
IClassFileAttribute
- Bekannte direkte Unterklassen:
AnnotationDefaultAttribute,BootstrapMethodsAttribute,CodeAttribute,ConstantValueAttribute,EnclosingMethodAttribute,ExceptionAttribute,InnerClassesAttribute,LineNumberAttribute,LocalVariableAttribute,LocalVariableTypeAttribute,MethodParametersAttribute,ModuleAttribute,ModuleMainClassAttribute,ModulePackagesAttribute,NestHostAttribute,NestMembersAttribute,PermittedSubclassesAttribute,RecordAttribute,RuntimeInvisibleAnnotationsAttribute,RuntimeInvisibleParameterAnnotationsAttribute,RuntimeInvisibleTypeAnnotationsAttribute,RuntimeVisibleAnnotationsAttribute,RuntimeVisibleParameterAnnotationsAttribute,RuntimeVisibleTypeAnnotationsAttribute,SignatureAttribute,SourceFileAttribute,StackMapAttribute,StackMapTableAttribute
Default implementation of IClassFileAttribute
-
Feldübersicht
Felder -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungClassFileAttribute(byte[] classFileBytes, IConstantPool constantPool, int offset) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunglongAnswer back the attribute length as specified in the JVM specifications.char[]Answer back the attribute name as specified in the JVM specifications.intAnswer back the attribute name index in the constant pool as specified in the JVM specifications.
-
Felddetails
-
NO_ATTRIBUTES
-
-
Konstruktordetails
-
ClassFileAttribute
public ClassFileAttribute(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException - Löst aus:
ClassFormatException
-
-
Methodendetails
-
getAttributeNameIndex
public int getAttributeNameIndex()Beschreibung aus Schnittstelle kopiert:IClassFileAttributeAnswer back the attribute name index in the constant pool as specified in the JVM specifications.- Angegeben von:
getAttributeNameIndexin SchnittstelleIClassFileAttribute- Gibt zurück:
- the attribute name index in the constant pool
-
getAttributeName
public char[] getAttributeName()Beschreibung aus Schnittstelle kopiert:IClassFileAttributeAnswer back the attribute name as specified in the JVM specifications.- Angegeben von:
getAttributeNamein SchnittstelleIClassFileAttribute- Gibt zurück:
- the attribute name
- Siehe auch:
-
getAttributeLength
public long getAttributeLength()Beschreibung aus Schnittstelle kopiert:IClassFileAttributeAnswer back the attribute length as specified in the JVM specifications.- Angegeben von:
getAttributeLengthin SchnittstelleIClassFileAttribute- Gibt zurück:
- the attribute length
- Siehe auch:
-