Package org.apache.bval.util
Class EmulatedAnnotatedType<T extends Type>
- java.lang.Object
-
- org.apache.bval.util.EmulatedAnnotatedType<T>
-
- All Implemented Interfaces:
AnnotatedElement
,AnnotatedType
public class EmulatedAnnotatedType<T extends Type> extends Object implements AnnotatedType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <A extends Annotation>
AgetAnnotation(Class<A> annotationClass)
Annotation[]
getAnnotations()
Annotation[]
getDeclaredAnnotations()
Type
getType()
static EmulatedAnnotatedType<?>
wrap(Type type)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
-
Methods inherited from interface java.lang.reflect.AnnotatedType
getAnnotatedOwnerType
-
-
-
-
Method Detail
-
wrap
public static EmulatedAnnotatedType<?> wrap(Type type)
-
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annotationClass)
- Specified by:
getAnnotation
in interfaceAnnotatedElement
-
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotations
in interfaceAnnotatedElement
-
getDeclaredAnnotations
public Annotation[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotations
in interfaceAnnotatedElement
-
getType
public Type getType()
- Specified by:
getType
in interfaceAnnotatedType
-
-