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
KonstruktorBeschreibungAnnotation
(byte[] classFileBytes, IConstantPool constantPool, int offset) Constructor for Annotation. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungAnswer back the components as described in the JVM specifications.int
Answer back the number of components as described in the JVM specifications.int
Answer 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:IAnnotation
Answer back the type index as described in the JVM specifications.- Angegeben von:
getTypeIndex
in SchnittstelleIAnnotation
- Gibt zurück:
- the type index
-
getComponentsNumber
public int getComponentsNumber()Beschreibung aus Schnittstelle kopiert:IAnnotation
Answer back the number of components as described in the JVM specifications.- Angegeben von:
getComponentsNumber
in SchnittstelleIAnnotation
- Gibt zurück:
- the type index
-
getComponents
Beschreibung aus Schnittstelle kopiert:IAnnotation
Answer back the components as described in the JVM specifications. Answer an empty collection if none.- Angegeben von:
getComponents
in SchnittstelleIAnnotation
- Gibt zurück:
- the components
-
getTypeName
public char[] getTypeName()Beschreibung aus Schnittstelle kopiert:IAnnotation
Answer back the type name as described in the JVM specifications.- Angegeben von:
getTypeName
in SchnittstelleIAnnotation
- Gibt zurück:
- the type name
-