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()TypegetType()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:
getAnnotationin interfaceAnnotatedElement
-
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotationsin interfaceAnnotatedElement
-
getDeclaredAnnotations
public Annotation[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfaceAnnotatedElement
-
getType
public Type getType()
- Specified by:
getTypein interfaceAnnotatedType
-
-