Class ParameterAnnotation
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.ParameterAnnotation
-
Constructor Summary
ConstructorsConstructorDescriptionParameterAnnotation(byte[] classFileBytes, IConstantPool constantPool, int offset) Constructor for Annotation. -
Method Summary
Modifier and TypeMethodDescriptionAnswer back the annotations as described in the JVM specifications.intAnswer back the number of annotations as described in the JVM specifications.
-
Constructor Details
-
ParameterAnnotation
public ParameterAnnotation(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException Constructor for Annotation.- Throws:
ClassFormatException
-
-
Method Details
-
getAnnotations
Description copied from interface:IParameterAnnotationAnswer back the annotations as described in the JVM specifications. Answers an empty collection if none.- Specified by:
getAnnotationsin interfaceIParameterAnnotation- Returns:
- the annotations
-
getAnnotationsNumber
public int getAnnotationsNumber()Description copied from interface:IParameterAnnotationAnswer back the number of annotations as described in the JVM specifications.- Specified by:
getAnnotationsNumberin interfaceIParameterAnnotation- Returns:
- the number of annotations
-