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()
int
hashCode()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresent
Methods inherited from interface java.lang.reflect.Type
getTypeName
-
Field Details
-
name
-
bounds
-
-
Constructor Details
-
TypeVariableImpl
-
-
Method Details
-
getBounds
- Specified by:
getBounds
in interfaceTypeVariable<D extends GenericDeclaration>
-
getGenericDeclaration
- Specified by:
getGenericDeclaration
in interfaceTypeVariable<D extends GenericDeclaration>
-
getName
- Specified by:
getName
in interfaceTypeVariable<D extends GenericDeclaration>
-
getAnnotatedBounds
- Specified by:
getAnnotatedBounds
in interfaceTypeVariable<D extends GenericDeclaration>
-
getAnnotation
- Specified by:
getAnnotation
in interfaceAnnotatedElement
-
getAnnotations
- Specified by:
getAnnotations
in interfaceAnnotatedElement
-
getDeclaredAnnotations
- Specified by:
getDeclaredAnnotations
in interfaceAnnotatedElement
-
equals
-
hashCode
public int hashCode() -
toString
-