public class AnnotatedObject extends Object implements TypeVariable<Class<?>>
Modifier and Type | Field and Description |
---|---|
static AnnotatedObject |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
AnnotatedType[] |
getAnnotatedBounds() |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
Type[] |
getBounds() |
Annotation[] |
getDeclaredAnnotations() |
Class<?> |
getGenericDeclaration() |
String |
getName() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTypeName
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
public static final AnnotatedObject INSTANCE
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation
in interface AnnotatedElement
public Annotation[] getAnnotations()
getAnnotations
in interface AnnotatedElement
public Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface AnnotatedElement
public Type[] getBounds()
getBounds
in interface TypeVariable<Class<?>>
public Class<?> getGenericDeclaration()
getGenericDeclaration
in interface TypeVariable<Class<?>>
public String getName()
getName
in interface TypeVariable<Class<?>>
public AnnotatedType[] getAnnotatedBounds()
getAnnotatedBounds
in interface TypeVariable<Class<?>>
Copyright © 2021 JBoss by Red Hat. All rights reserved.