@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() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
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.AnnotatedElement
public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations
in interface java.lang.reflect.AnnotatedElement
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface java.lang.reflect.AnnotatedElement
public boolean equals(@Nullable java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object