Package org.jboss.jandex
Class JandexReflection.TypeVariableImpl<D extends GenericDeclaration>
java.lang.Object
org.jboss.jandex.JandexReflection.TypeVariableImpl<D>
- All Implemented Interfaces:
AnnotatedElement,Type,TypeVariable<D>
- Enclosing class:
JandexReflection
private static class JandexReflection.TypeVariableImpl<D extends GenericDeclaration>
extends Object
implements TypeVariable<D>
An implementation of
TypeVariable that is NOT compatible with
the JDK's implementation (as in, the equals() and hashCode() methods do not work
as expected).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean<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
-
name
-
bounds
-
-
Constructor Details
-
TypeVariableImpl
-
-
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
-