@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() |
<A extends Annotation> |
getAnnotationsByType(Class<A> annotationType) |
<A extends Annotation> |
getDeclaredAnnotation(Class<A> annotationType) |
Annotation[] |
getDeclaredAnnotations() |
<A extends Annotation> |
getDeclaredAnnotationsByType(Class<A> annotationType) |
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 <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType)
getAnnotationsByType
in interface AnnotatedElement
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotatedElement
@Nullable public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationType)
getDeclaredAnnotation
in interface AnnotatedElement
public <A extends Annotation> A[] getDeclaredAnnotationsByType(Class<A> annotationType)
getDeclaredAnnotationsByType
in interface AnnotatedElement
Copyright © 2010-2016. All Rights Reserved.