private static final class Types.TypeVariableImpl<D extends java.lang.reflect.GenericDeclaration>
extends java.lang.Object
implements java.lang.reflect.TypeVariable<D>
| Modifier and Type | Field and Description |
|---|---|
private ImmutableList<java.lang.reflect.Type> |
bounds |
private D |
genericDeclaration |
private java.lang.String |
name |
| Constructor and Description |
|---|
TypeVariableImpl(D genericDeclaration,
java.lang.String name,
java.lang.reflect.Type[] bounds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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() |
int |
hashCode() |
java.lang.String |
toString() |
private final D extends java.lang.reflect.GenericDeclaration genericDeclaration
private final java.lang.String name
private final ImmutableList<java.lang.reflect.Type> bounds
TypeVariableImpl(D genericDeclaration, java.lang.String name, java.lang.reflect.Type[] bounds)
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 java.lang.String getName()
getName in interface java.lang.reflect.TypeVariable<D extends java.lang.reflect.GenericDeclaration>public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation in interface java.lang.reflect.AnnotatedElementpublic java.lang.annotation.Annotation[] getAnnotations()
getAnnotations in interface java.lang.reflect.AnnotatedElementpublic java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface java.lang.reflect.AnnotatedElementpublic java.lang.reflect.AnnotatedType[] getAnnotatedBounds()
getAnnotatedBounds in interface java.lang.reflect.TypeVariable<D extends java.lang.reflect.GenericDeclaration>