public class Parameter
extends java.lang.Object
implements java.lang.reflect.AnnotatedElement
| Constructor and Description |
|---|
Parameter(int index,
java.lang.Class<?> type,
java.lang.annotation.Annotation[] declaredAnnotations) |
| Modifier and Type | Method and Description |
|---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
java.lang.annotation.Annotation[] |
getAnnotations() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
java.lang.Class<?> |
getType()
Returns a
Class object that identifies the
declared type for the parameter represented by this
Parameter object. |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
java.lang.String |
toString() |
public Parameter(int index,
java.lang.Class<?> type,
java.lang.annotation.Annotation[] declaredAnnotations)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Class<?> getType()
Class object that identifies the
declared type for the parameter represented by this
Parameter object.Class object identifying the declared
type of the parameter represented by this objectpublic boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
isAnnotationPresent in interface java.lang.reflect.AnnotatedElementpublic <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation in interface java.lang.reflect.AnnotatedElementpublic java.lang.annotation.Annotation[] getAnnotations()
getAnnotations in interface java.lang.reflect.AnnotatedElementpublic java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface java.lang.reflect.AnnotatedElement