@Beta public final class Parameter extends java.lang.Object implements java.lang.reflect.AnnotatedElement
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
<A extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<A> annotationType) |
java.lang.annotation.Annotation[] |
getAnnotations() |
<A extends java.lang.annotation.Annotation> |
getAnnotationsByType(java.lang.Class<A> annotationType) |
<A extends java.lang.annotation.Annotation> |
getDeclaredAnnotation(java.lang.Class<A> annotationType) |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
<A extends java.lang.annotation.Annotation> |
getDeclaredAnnotationsByType(java.lang.Class<A> annotationType) |
Invokable<?,?> |
getDeclaringInvokable()
Returns the
Invokable that declares this parameter. |
TypeToken<?> |
getType()
Returns the type of the parameter.
|
int |
hashCode() |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
java.lang.String |
toString() |
public TypeToken<?> getType()
public Invokable<?,?> getDeclaringInvokable()
Invokable that declares this parameter.public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isAnnotationPresent in interface java.lang.reflect.AnnotatedElement@Nullable public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationType)
getAnnotation in interface java.lang.reflect.AnnotatedElementpublic java.lang.annotation.Annotation[] getAnnotations()
getAnnotations in interface java.lang.reflect.AnnotatedElementpublic <A extends java.lang.annotation.Annotation> A[] getAnnotationsByType(java.lang.Class<A> annotationType)
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface java.lang.reflect.AnnotatedElement@Nullable public <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation(java.lang.Class<A> annotationType)
public <A extends java.lang.annotation.Annotation> A[] getDeclaredAnnotationsByType(java.lang.Class<A> annotationType)
public boolean equals(@Nullable
java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object