public class ValidationEnabledAnnotatedType<T> extends Object implements AnnotatedType<T>
Constructor and Description |
---|
ValidationEnabledAnnotatedType(AnnotatedType<T> type,
Set<AnnotatedCallable<? super T>> constrainedCallables) |
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
getAnnotation(Class<A> annotationType) |
Set<Annotation> |
getAnnotations() |
Type |
getBaseType() |
Set<AnnotatedConstructor<T>> |
getConstructors() |
Set<AnnotatedField<? super T>> |
getFields() |
Class<T> |
getJavaClass() |
Set<AnnotatedMethod<? super T>> |
getMethods() |
Set<Type> |
getTypeClosure() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType) |
public ValidationEnabledAnnotatedType(AnnotatedType<T> type, Set<AnnotatedCallable<? super T>> constrainedCallables)
public Class<T> getJavaClass()
getJavaClass
in interface AnnotatedType<T>
public Set<AnnotatedConstructor<T>> getConstructors()
getConstructors
in interface AnnotatedType<T>
public Set<AnnotatedMethod<? super T>> getMethods()
getMethods
in interface AnnotatedType<T>
public Set<AnnotatedField<? super T>> getFields()
getFields
in interface AnnotatedType<T>
public Type getBaseType()
getBaseType
in interface Annotated
public Set<Type> getTypeClosure()
getTypeClosure
in interface Annotated
public <A extends Annotation> A getAnnotation(Class<A> annotationType)
getAnnotation
in interface Annotated
public Set<Annotation> getAnnotations()
getAnnotations
in interface Annotated
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
isAnnotationPresent
in interface Annotated
Copyright © 2007-2017 Red Hat, Inc. All Rights Reserved