Module io.leangen.geantyref
Package io.leangen.geantyref
Class TypeVariableImpl<D extends GenericDeclaration>
java.lang.Object
io.leangen.geantyref.TypeVariableImpl<D>
- All Implemented Interfaces:
AnnotatedElement,Type,TypeVariable<D>
public class TypeVariableImpl<D extends GenericDeclaration>
extends Object
implements TypeVariable<D>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<Class<? extends Annotation>, Annotation> private final AnnotatedType[]private final Dprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionTypeVariableImpl(TypeVariable<D> variable, Annotation[] annotations, AnnotatedType[] bounds) TypeVariableImpl(TypeVariable<D> variable, AnnotatedType[] bounds) -
Method Summary
Modifier and TypeMethodDescriptionprivate Stringboolean<T extends Annotation>
TgetAnnotation(Class<T> annotationClass) Type[]getName()inthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresentMethods inherited from interface java.lang.reflect.Type
getTypeName
-
Field Details
-
annotations
-
genericDeclaration
-
name
-
bounds
-
-
Constructor Details
-
TypeVariableImpl
TypeVariableImpl(TypeVariable<D> variable, AnnotatedType[] bounds) -
TypeVariableImpl
TypeVariableImpl(TypeVariable<D> variable, Annotation[] annotations, AnnotatedType[] bounds)
-
-
Method Details
-
getBounds
- Specified by:
getBoundsin interfaceTypeVariable<D extends GenericDeclaration>
-
getGenericDeclaration
- Specified by:
getGenericDeclarationin interfaceTypeVariable<D extends GenericDeclaration>
-
getName
- Specified by:
getNamein interfaceTypeVariable<D extends GenericDeclaration>
-
getAnnotatedBounds
- Specified by:
getAnnotatedBoundsin interfaceTypeVariable<D extends GenericDeclaration>
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotatedElement
-
getAnnotations
- Specified by:
getAnnotationsin interfaceAnnotatedElement
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotationsin interfaceAnnotatedElement
-
equals
-
hashCode
public int hashCode() -
toString
-
annotationsString
-