Uses of Class
org.jboss.jandex.TypeVariable
Packages that use TypeVariable
Package
Description
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 TypeVariableFields in org.jboss.jandex with type parameters of type TypeVariableModifier and TypeFieldDescriptionprivate Map
<String, TypeVariable> GenericSignatureParser.classTypeParameters
private Map
<String, TypeVariable> GenericSignatureParser.elementTypeParameters
private Map
<String, TypeVariable> GenericSignatureParser.typeParameters
private Deque
<TypeVariable> GenericSignatureParser.typeVariableStack
Methods in org.jboss.jandex that return TypeVariableModifier and TypeMethodDescriptionType.asTypeVariable()
Casts this type to aTypeVariable
and returns it if the kind isType.Kind.TYPE_VARIABLE
.TypeVariable.asTypeVariable()
TypeVariable.Builder.build()
Returns the built type variable.(package private) TypeVariable
static TypeVariable
Create an instance of a type variable with the givenidentifier
.private TypeVariable
GenericSignatureParser.findOnTypeVariableStack
(String typeVariableIdentifier) private TypeVariable
Indexer.findTypeParameter
(Type[] typeParameters, String identifier) Finds and returns a type variable with givenidentifier
among giventypeParameters
.TypeVariableReference.follow()
Returns the type variable referred to by this reference.private TypeVariable
GenericSignatureParser.resolveType
(String identifier) private TypeVariable
Indexer.resolveTypeParameter
(AnnotationTarget target, 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 TypeVariableModifier and TypeMethodDescriptionfinal List
<TypeVariable> ClassInfo.typeParameters()
Returns the generic type parameters of this class, if any.final List
<TypeVariable> MethodInfo.typeParameters()
Returns the generic type parameters defined by this method.(package private) final List
<TypeVariable> MethodInternal.typeParameters()
Methods in org.jboss.jandex with parameters of type TypeVariableModifier and TypeMethodDescriptionstatic MethodInfo
MethodInfo.create
(ClassInfo clazz, String name, String[] parameterNames, Type[] parameterTypes, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions) Construct a new mock Method instance.static MethodInfo
MethodInfo.create
(ClassInfo clazz, 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 TypeVariableModifier and TypeMethodDescriptionstatic void
GenericSignature.forTypeParameters
(List<TypeVariable> typeParameters, Function<String, Type> typeVariableSubstitution, 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, Deque<TypeVariable> typeVarStack, AnnotationTarget parametricEncloser) Patches all type variable references contained in giventype
.private void
Indexer.propagateTypeParameterBounds
(AnnotationTarget target, Deque<TypeVariable> sharedTypeVarStack) (package private) static void
GenericSignatureReconstruction.typeParametersSignature
(List<TypeVariable> typeParameters, Function<String, Type> substitution, StringBuilder result) Constructors in org.jboss.jandex with parameters of type TypeVariableModifierConstructorDescription(package private)
TypeVariableReference
(String name, TypeVariable target, AnnotationInstance[] annotations, DotName internalClassName)