public abstract class ValidationEnabledAnnotatedCallable<T> extends Object implements AnnotatedCallable<T>
| Constructor and Description |
|---|
ValidationEnabledAnnotatedCallable(AnnotatedCallable<T> callable) |
| Modifier and Type | Method and Description |
|---|---|
<A extends Annotation> |
getAnnotation(Class<A> annotationType)
Get program element annotation of a certain annotation type.
|
Set<Annotation> |
getAnnotations()
Get all annotations of the program element.
|
Type |
getBaseType()
Get the type of the annotated program element.
|
AnnotatedType<T> |
getDeclaringType()
Get the type which defines this member.
|
List<AnnotatedParameter<T>> |
getParameters()
Get the parameters of the callable member.
|
Set<Type> |
getTypeClosure()
Get all types to which the base type should be considered assignable.
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType)
Determine if the program element has an annotation of a certain annotation type.
|
boolean |
isStatic()
Determines if the member is static.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJavaMembergetAnnotationspublic ValidationEnabledAnnotatedCallable(AnnotatedCallable<T> callable)
public boolean isStatic()
AnnotatedMemberDetermines if the member is static.
isStatic in interface AnnotatedMember<T>public AnnotatedType<T> getDeclaringType()
AnnotatedMemberGet the type which defines this member.
getDeclaringType in interface AnnotatedMember<T>public List<AnnotatedParameter<T>> getParameters()
AnnotatedCallableGet the parameters of the callable member.
getParameters in interface AnnotatedCallable<T>public Type getBaseType()
AnnotatedGet the type of the annotated program element.
getBaseType in interface Annotatedpublic Set<Type> getTypeClosure()
AnnotatedGet all types to which the base type should be considered assignable.
getTypeClosure in interface Annotatedpublic <A extends Annotation> A getAnnotation(Class<A> annotationType)
Annotated
Get program element annotation of a certain annotation type.
The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotation(Class),
where repeatable annotations are not supported.
getAnnotation in interface AnnotatedA - the type of the annotationannotationType - the class of the annotation typepublic Set<Annotation> getAnnotations()
AnnotatedGet all annotations of the program element.
getAnnotations in interface Annotatedpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
Annotated
Determine if the program element has an annotation of a certain annotation type.
The behavior of this method is similar to AnnotatedElement.isAnnotationPresent(Class) for the underlying
program element.
isAnnotationPresent in interface AnnotatedannotationType - the annotation type to check forCopyright © 2018 JBoss by Red Hat. All rights reserved.