public class AnnotatedObject
extends java.lang.Object
implements java.lang.reflect.TypeVariable<java.lang.Class<?>>
Modifier and Type | Field and Description |
---|---|
static AnnotatedObject |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.AnnotatedType[] |
getAnnotatedBounds() |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
java.lang.annotation.Annotation[] |
getAnnotations() |
java.lang.reflect.Type[] |
getBounds() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
java.lang.Class<?> |
getGenericDeclaration() |
java.lang.String |
getName() |
java.lang.String |
toString() |
public static final AnnotatedObject INSTANCE
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation
in interface java.lang.reflect.AnnotatedElement
public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations
in interface java.lang.reflect.AnnotatedElement
public java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations
in interface java.lang.reflect.AnnotatedElement
public java.lang.reflect.Type[] getBounds()
getBounds
in interface java.lang.reflect.TypeVariable<java.lang.Class<?>>
public java.lang.Class<?> getGenericDeclaration()
getGenericDeclaration
in interface java.lang.reflect.TypeVariable<java.lang.Class<?>>
public java.lang.String getName()
getName
in interface java.lang.reflect.TypeVariable<java.lang.Class<?>>
public java.lang.reflect.AnnotatedType[] getAnnotatedBounds()
getAnnotatedBounds
in interface java.lang.reflect.TypeVariable<java.lang.Class<?>>
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved