@Beta public final class Parameter extends Object implements AnnotatedElement
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
<A extends Annotation> |
getAnnotation(Class<A> annotationType) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
Invokable<?,?> |
getDeclaringInvokable()
Returns the
Invokable that declares this parameter. |
TypeToken<?> |
getType()
Returns the type of the parameter.
|
int |
hashCode() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType) |
String |
toString() |
public Invokable<?,?> getDeclaringInvokable()
Invokable
that declares this parameter.public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
isAnnotationPresent
in interface AnnotatedElement
@Nullable public <A extends Annotation> A getAnnotation(Class<A> annotationType)
getAnnotation
in interface AnnotatedElement
public Annotation[] getAnnotations()
getAnnotations
in interface AnnotatedElement
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotatedElement
Copyright © 2010-2013. All Rights Reserved.