Uses of Class
org.jboss.jandex.TypeVariable
-
Packages that use TypeVariable Package Description org.jboss.jandex Jandex is a space efficient Java class file indexer and offline reflection library. -
-
Uses of TypeVariable in org.jboss.jandex
Fields in org.jboss.jandex declared as TypeVariable Modifier and Type Field Description private TypeVariable
TypeVariableReference. target
Fields in org.jboss.jandex with type parameters of type TypeVariable Modifier and Type Field Description private java.util.Map<java.lang.String,TypeVariable>
GenericSignatureParser. classTypeParameters
private java.util.Map<java.lang.String,TypeVariable>
GenericSignatureParser. elementTypeParameters
private java.util.Map<java.lang.String,TypeVariable>
GenericSignatureParser. typeParameters
private java.util.Deque<TypeVariable>
GenericSignatureParser. typeVariableStack
Methods in org.jboss.jandex that return TypeVariable Modifier and Type Method Description TypeVariable
Type. asTypeVariable()
Casts this type to aTypeVariable
and returns it if the kind isType.Kind.TYPE_VARIABLE
.TypeVariable
TypeVariable. asTypeVariable()
TypeVariable
TypeVariable.Builder. build()
Returns the built type variable.(package private) TypeVariable
TypeVariable. copyType(int boundIndex, Type bound)
static TypeVariable
TypeVariable. create(java.lang.String identifier)
Create an instance of a type variable with the givenidentifier
.private TypeVariable
GenericSignatureParser. findOnTypeVariableStack(java.lang.String typeVariableIdentifier)
private TypeVariable
Indexer. findTypeParameter(Type[] typeParameters, java.lang.String identifier)
Finds and returns a type variable with givenidentifier
among giventypeParameters
.TypeVariable
TypeVariableReference. follow()
Returns the type variable referred to by this reference.private TypeVariable
GenericSignatureParser. resolveType(java.lang.String identifier)
private TypeVariable
Indexer. resolveTypeParameter(AnnotationTarget target, java.lang.String identifier)
Resolves a given type variableidentifier
against given parametrictarget
(either a method or a class).Methods in org.jboss.jandex that return types with arguments of type TypeVariable Modifier and Type Method Description java.util.List<TypeVariable>
ClassInfo. typeParameters()
Returns the generic type parameters of this class, if any.java.util.List<TypeVariable>
MethodInfo. typeParameters()
Returns the generic type parameters defined by this method.(package private) java.util.List<TypeVariable>
MethodInternal. typeParameters()
Methods in org.jboss.jandex with parameters of type TypeVariable Modifier and Type Method Description static MethodInfo
MethodInfo. create(ClassInfo clazz, java.lang.String name, java.lang.String[] parameterNames, Type[] parameterTypes, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions)
Construct a new mock Method instance.static MethodInfo
MethodInfo. create(ClassInfo clazz, java.lang.String name, Type[] parameterTypes, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions)
Construct a new mock Method instance.(package private) void
TypeVariableReference. setTarget(TypeVariable target)
Method parameters in org.jboss.jandex with type arguments of type TypeVariable Modifier and Type Method Description static void
GenericSignature. forTypeParameters(java.util.List<TypeVariable> typeParameters, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution, java.lang.StringBuilder result)
Appends a generic signature of a type parameter list, including the<
at the beginning and>
at the end, to givenStringBuilder
.private void
Indexer. patchTypeVariableReferences(Type type, java.util.Deque<TypeVariable> typeVarStack, AnnotationTarget parametricEncloser)
Patches all type variable references contained in giventype
.private void
Indexer. propagateTypeParameterBounds(AnnotationTarget target, java.util.Deque<TypeVariable> sharedTypeVarStack)
(package private) static void
GenericSignatureReconstruction. typeParametersSignature(java.util.List<TypeVariable> typeParameters, java.util.function.Function<java.lang.String,Type> substitution, java.lang.StringBuilder result)
Constructors in org.jboss.jandex with parameters of type TypeVariable Constructor Description TypeVariableReference(java.lang.String name, TypeVariable target, AnnotationInstance[] annotations, DotName internalClassName)
-