Klasse Annotation
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.Annotation
- Alle implementierten Schnittstellen:
IAnnotation
Default implementation of IAnnotation
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAnnotation(byte[] classFileBytes, IConstantPool constantPool, int offset) Constructor for Annotation. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungAnswer back the components as described in the JVM specifications.intAnswer back the number of components as described in the JVM specifications.intAnswer back the type index as described in the JVM specifications.char[]Answer back the type name as described in the JVM specifications.
-
Konstruktordetails
-
Annotation
public Annotation(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException Constructor for Annotation.- Parameter:
classFileBytes-constantPool-offset-- Löst aus:
ClassFormatException
-
-
Methodendetails
-
getTypeIndex
public int getTypeIndex()Beschreibung aus Schnittstelle kopiert:IAnnotationAnswer back the type index as described in the JVM specifications.- Angegeben von:
getTypeIndexin SchnittstelleIAnnotation- Gibt zurück:
- the type index
-
getComponentsNumber
public int getComponentsNumber()Beschreibung aus Schnittstelle kopiert:IAnnotationAnswer back the number of components as described in the JVM specifications.- Angegeben von:
getComponentsNumberin SchnittstelleIAnnotation- Gibt zurück:
- the type index
-
getComponents
Beschreibung aus Schnittstelle kopiert:IAnnotationAnswer back the components as described in the JVM specifications. Answer an empty collection if none.- Angegeben von:
getComponentsin SchnittstelleIAnnotation- Gibt zurück:
- the components
-
getTypeName
public char[] getTypeName()Beschreibung aus Schnittstelle kopiert:IAnnotationAnswer back the type name as described in the JVM specifications.- Angegeben von:
getTypeNamein SchnittstelleIAnnotation- Gibt zurück:
- the type name
-