Klasse ParameterAnnotation
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.ParameterAnnotation
- Alle implementierten Schnittstellen:
IParameterAnnotation
Default implementation of IParameterAnnotation
-
Konstruktorübersicht
KonstruktorBeschreibungParameterAnnotation
(byte[] classFileBytes, IConstantPool constantPool, int offset) Constructor for Annotation. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungAnswer back the annotations as described in the JVM specifications.int
Answer back the number of annotations as described in the JVM specifications.
-
Konstruktordetails
-
ParameterAnnotation
public ParameterAnnotation(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException Constructor for Annotation.- Parameter:
classFileBytes
-constantPool
-offset
-- Löst aus:
ClassFormatException
-
-
Methodendetails
-
getAnnotations
Beschreibung aus Schnittstelle kopiert:IParameterAnnotation
Answer back the annotations as described in the JVM specifications. Answers an empty collection if none.- Angegeben von:
getAnnotations
in SchnittstelleIParameterAnnotation
- Gibt zurück:
- the annotations
-
getAnnotationsNumber
public int getAnnotationsNumber()Beschreibung aus Schnittstelle kopiert:IParameterAnnotation
Answer back the number of annotations as described in the JVM specifications.- Angegeben von:
getAnnotationsNumber
in SchnittstelleIParameterAnnotation
- Gibt zurück:
- the number of annotations
-