public class EmulatedAnnotatedType<T extends Type> extends Object implements AnnotatedType
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
getAnnotation(Class<A> annotationClass) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
Type |
getType() |
static EmulatedAnnotatedType<?> |
wrap(Type type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
public static EmulatedAnnotatedType<?> wrap(Type type)
public <A extends Annotation> A getAnnotation(Class<A> annotationClass)
getAnnotation
in interface AnnotatedElement
public Annotation[] getAnnotations()
getAnnotations
in interface AnnotatedElement
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotatedElement
public Type getType()
getType
in interface AnnotatedType
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.