D
- public class TypeVariable<D extends java.lang.reflect.GenericDeclaration>
extends java.lang.Object
implements java.lang.reflect.TypeVariable<D>
Constructor and Description |
---|
TypeVariable(java.lang.String name) |
TypeVariable(java.lang.String name,
D owner,
java.lang.reflect.Type... bounds) |
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() |
D |
getGenericDeclaration() |
java.lang.String |
getName() |
void |
setGenericDeclaration(D owner) |
java.lang.String |
toString() |
public TypeVariable(java.lang.String name)
public TypeVariable(java.lang.String name, D owner, java.lang.reflect.Type... bounds)
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<D extends java.lang.reflect.GenericDeclaration>
public D getGenericDeclaration()
getGenericDeclaration
in interface java.lang.reflect.TypeVariable<D extends java.lang.reflect.GenericDeclaration>
public void setGenericDeclaration(D owner)
public java.lang.String getName()
getName
in interface java.lang.reflect.TypeVariable<D extends java.lang.reflect.GenericDeclaration>
public java.lang.reflect.AnnotatedType[] getAnnotatedBounds()
getAnnotatedBounds
in interface java.lang.reflect.TypeVariable<D extends java.lang.reflect.GenericDeclaration>
public java.lang.String toString()
toString
in class java.lang.Object