Uses of Class
org.jboss.jandex.Type
-
Packages that use Type Package Description org.jboss.jandex Jandex is a space efficient Java class file indexer and offline reflection library. -
-
Uses of Type in org.jboss.jandex
Subclasses of Type in org.jboss.jandex Modifier and Type Class Description class
ArrayType
Represents a Java array type.class
ClassType
Represents a class type.class
ParameterizedType
Represents a parameterized type.class
PrimitiveType
Represents a primitive Java type.class
TypeVariable
Represents a resolved type parameter or type argument.class
TypeVariableReference
Represents a reference to a type variable in the bound of a recursive type parameter.class
UnresolvedTypeVariable
Represents a type variable that could not be resolved during indexing.class
VoidType
Represents thevoid
pseudo-type, which may appear in a method signature.class
WildcardType
Represents a generic wildcard.Fields in org.jboss.jandex declared as Type Modifier and Type Field Description private Type[]
ParameterizedType. arguments
private Type
WildcardType. bound
private Type
WildcardType.Builder. bound
private Type[]
TypeVariable. bounds
private Type
ArrayType.Builder. constituent
private Type
ArrayType. constituent
private Type[]
MethodInternal. descriptorParameterTypes
static Type[]
Type. EMPTY_ARRAY
private Type[]
MethodInternal. exceptions
private Type[]
GenericSignatureParser.ClassSignature. interfaces
private Type[]
ClassInfo. interfaceTypes
private Type[]
GenericSignatureParser.MethodSignature. methodParameters
private Type
ParameterizedType.Builder. owner
private Type
ParameterizedType. owner
private Type[]
ClassInfo.EnclosingMethodInfo. parameters
private Type[]
GenericSignatureParser.ClassSignature. parameters
private Type[]
MethodInternal. parameterTypes
(package private) Type
MethodInternal.ExtraInfo. receiverType
private Type
ClassInfo.EnclosingMethodInfo. returnType
private Type
GenericSignatureParser.MethodSignature. returnType
private Type
MethodInternal. returnType
private Type
GenericSignatureParser.ClassSignature. superClass
private Type
ClassInfo. superClassType
private Type
TypeTarget. target
private Type[]
GenericSignatureParser.MethodSignature. throwables
private Type
AnnotationValue.ClassValue. type
private Type
FieldInternal. type
private Type
RecordComponentInternal. type
private Type[][]
IndexReaderV2. typeListTable
private Type[]
ClassInfo.ExtraInfo. typeParameters
private Type[]
GenericSignatureParser.MethodSignature. typeParameters
(package private) Type[]
MethodInternal.ExtraInfo. typeParameters
private Type[]
IndexReaderV2. typeTable
Fields in org.jboss.jandex with type parameters of type Type Modifier and Type Field Description private java.util.List<Type>
ParameterizedType.Builder. arguments
private java.util.List<Type>
TypeVariable.Builder. bounds
static java.util.function.Function<java.lang.String,Type>
Descriptor. NO_SUBSTITUTION
static java.util.function.Function<java.lang.String,Type>
GenericSignature. NO_SUBSTITUTION
private StrongInternPool<Type>
NameTable. typePool
private IndexWriterV2.ReferenceTable<Type>
IndexWriterV2. typeTable
Methods in org.jboss.jandex that return Type Modifier and Type Method Description (package private) Type
Type. addAnnotation(AnnotationInstance annotation)
Type[]
MethodInfo. args()
Deprecated.(package private) Type[]
ParameterizedType. argumentsArray()
Type
AnnotationValue. asClass()
Returns the class name, inType
form, that represents a Java Class used by this value.Type
AnnotationValue.ClassValue. asClass()
Type[]
AnnotationValue.ArrayValue. asClassArray()
Type[]
AnnotationValue. asClassArray()
Returns an array of class types representing the underlying class array value.(package private) Type
WildcardType. bound()
(package private) Type[]
TypeVariable. boundArray()
Type
ArrayType. component()
Deprecated.Type
ArrayType. componentType()
Returns the component type of the array.Type
ArrayType. constituent()
Returns the constituent type of the array.(package private) Type[]
MethodInfo. copyExceptions()
(package private) Type[]
MethodInternal. copyExceptions()
(package private) Type[]
ClassInfo. copyInterfaceTypes()
(package private) Type[]
MethodInfo. copyParameters()
(package private) Type[]
MethodInternal. copyParameterTypes()
(package private) Type
ArrayType. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
ArrayType. copyType(Type component, int dimensions)
(package private) Type
ClassType. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
PrimitiveType. copyType(AnnotationInstance[] newAnnotations)
(package private) abstract Type
Type. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
TypeVariable. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
TypeVariableReference. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
UnresolvedTypeVariable. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
VoidType. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
WildcardType. copyType(AnnotationInstance[] newAnnotations)
(package private) Type
WildcardType. copyType(Type bound)
private static Type[]
Indexer. copyTypeParameters(AnnotationTarget target)
static Type
Type. create(java.lang.Class<?> clazz)
Creates a type that corresponds to the givenclazz
.static Type
Type. create(DotName name, Type.Kind kind)
Creates a type of the specified kind andname
in theClass.getName()
format.static Type
Type. createWithAnnotations(DotName name, Type.Kind kind, AnnotationInstance[] annotations)
Creates an instance of specified type with given typeannotations
.private Type
Indexer. deepCopyTypeIfNeeded(Type type)
Whentype
contains no type variable references, returnstype
.(package private) Type[]
MethodInternal. descriptorParameterTypesArray()
Type
ArrayType. elementType()
Returns the element type of the array.(package private) Type[]
MethodInternal. exceptionArray()
Type
WildcardType. extendsBound()
Returns the upper bound of this wildcard (e.g.private static Type[]
Indexer. getTypeParameters(AnnotationTarget target)
(package private) Type[]
GenericSignatureParser.ClassSignature. interfaces()
(package private) Type[]
ClassInfo. interfaceTypeArray()
private Type
Indexer. intern(Type type)
private Type[]
Indexer. intern(Type[] type)
(package private) Type
NameTable. intern(Type type)
(package private) Type[]
NameTable. intern(Type[] types)
Type[]
GenericSignatureParser.MethodSignature. methodParameters()
Type
ParameterizedType. owner()
Returns the owner (enclosing) type of this parameterized type, if the owner is parameterized or has type annotations.(package private) Type[]
GenericSignatureParser.ClassSignature. parameters()
(package private) Type[]
ClassInfo.EnclosingMethodInfo. parametersArray()
Type
MethodInfo. parameterType(int i)
Returns the type of the given parameter.(package private) Type[]
MethodInternal. parameterTypesArray()
static Type
Type. parse(java.lang.String type)
Creates aType
by parsing the given string according to the following grammar:(package private) Type
TypeParser. parse()
private Type
GenericSignatureParser. parseArrayType()
private Type
TypeParser. parseArrayType(Type elementType)
private Type
GenericSignatureParser. parseClassTypeSignature()
(package private) Type
GenericSignatureParser. parseFieldSignature(java.lang.String signature)
private Type
GenericSignatureParser. parseJavaType()
private Type[]
Indexer. parseMethodArgs(java.lang.String descriptor, Indexer.IntegerHolder pos)
private Type
GenericSignatureParser. parseReferenceType()
private Type
TypeParser. parseReferenceType(java.lang.String token)
private Type
GenericSignatureParser. parseReturnType()
private Type
Indexer. parseType(java.lang.String descriptor)
private Type
Indexer. parseType(java.lang.String descriptor, Indexer.IntegerHolder pos)
private Type
GenericSignatureParser. parseTypeArgument()
private Type
TypeParser. parseTypeArgument()
private Type[]
GenericSignatureParser. parseTypeArguments()
private Type[]
GenericSignatureParser. parseTypeList(boolean argument)
private Type
GenericSignatureParser. parseTypeParameter()
private Type[]
GenericSignatureParser. parseTypeParameters()
private Type
GenericSignatureParser. parseTypeVariable()
private Type
GenericSignatureParser. parseWildCard(boolean isExtends)
private Type
Indexer. propagateOneTypeParameterBound(Type type, Type[] allTypeParams, AnnotationTarget target)
private Type
Indexer. propagateTypeVariables(Type type, AnnotationTarget parametricEncloser)
private Type
IndexReaderV1. readType(PackedDataInputStream stream)
private Type
IndexReaderV2. readTypeEntry(PackedDataInputStream stream, java.util.Map<TypeVariableReference,java.lang.Integer> references)
private Type[]
IndexReaderV2. readTypeListEntry(PackedDataInputStream stream)
private Type[]
IndexReaderV2. readTypeListReference(PackedDataInputStream stream)
private Type
Indexer. rebuildNestedType(Type last, java.util.ArrayDeque<Indexer.InnerClassInfo> classes, Type type, int depth, Indexer.TypeAnnotationState typeAnnotationState)
Type
MethodInfo. receiverType()
Returns the receiver type of this method (a declaration of the "this" reference), if specified.(package private) Type
MethodInternal. receiverType(ClassInfo clazz)
(package private) Type
MethodInternal. receiverTypeField()
private Type
GenericSignatureParser. resolveType(Type type, boolean isRecursive)
private Type
Indexer. resolveTypePath(Type type, Indexer.TypeAnnotationState typeAnnotationState)
Type
ClassInfo.EnclosingMethodInfo. returnType()
Returns the return type of the method.Type
GenericSignatureParser.MethodSignature. returnType()
Type
MethodInfo. returnType()
Returns this method's return parameter type.(package private) Type
MethodInternal. returnType()
private Type
Indexer. searchNestedType(Type type, int depth, Indexer.TypeAnnotationState typeAnnotationState)
private Type
Indexer. searchTypePath(Type type, Indexer.TypeAnnotationState typeAnnotationState)
Type
WildcardType. superBound()
Returns the lower bound of this wildcard (e.g.(package private) Type
GenericSignatureParser.ClassSignature. superClass()
Type
ClassInfo. superClassType()
Returns a super type represented by the extends clause of this class.Type
TypeTarget. target()
Returns the type which contains the respective annotation.Type[]
GenericSignatureParser.MethodSignature. throwables()
Type
FieldInfo. type()
Returns theType
declared on this field.(package private) Type
FieldInternal. type()
Type
MethodParameterInfo. type()
Returns the type of this parameter.Type
RecordComponentInfo. type()
Returns the type of this record component.(package private) Type
RecordComponentInternal. type()
(package private) Type[]
ClassInfo. typeParameterArray()
(package private) Type[]
MethodInfo. typeParameterArray()
(package private) Type[]
MethodInternal. typeParameterArray()
Type[]
GenericSignatureParser.MethodSignature. typeParameters()
Type
AnnotationValue.ClassValue. value()
Methods in org.jboss.jandex that return types with arguments of type Type Modifier and Type Method Description java.util.List<Type>
ParameterizedType. arguments()
Returns the list of type arguments used to instantiate this parameterized type.java.util.List<Type>
TypeVariable. bounds()
private java.util.Map<DotName,Type>
Indexer. buildOwnerMap(Type type)
java.util.List<Type>
MethodInfo. descriptorParameterTypes()
Returns a list of types of all parameters present on this method, based on the method descriptor.(package private) java.util.List<Type>
MethodInternal. descriptorParameterTypes()
java.util.List<Type>
MethodInfo. exceptions()
Returns the list of throwable classes declared to be thrown by this method.(package private) java.util.List<Type>
MethodInternal. exceptions()
(package private) static StrongInternPool<Type>
StrongInternPool. forTypes()
java.util.List<Type>
ClassInfo. interfaceTypes()
Returns the list of types in theimplements
clause of this class.java.util.List<Type>
ClassInfo.EnclosingMethodInfo. parameters()
Returns the list of parameters declared by this method or constructor.java.util.List<Type>
MethodInfo. parameterTypes()
Returns a list of types of parameters declared on this method, in declaration order.(package private) java.util.List<Type>
MethodInternal. parameterTypes()
Methods in org.jboss.jandex with parameters of type Type Modifier and Type Method Description AnnotationInstanceBuilder
AnnotationInstanceBuilder. add(java.lang.String name, Type value)
Adds a class-valued annotation member with givenname
.AnnotationInstanceBuilder
AnnotationInstanceBuilder. add(java.lang.String name, Type[] values)
Adds a class array-valued annotation member with givenname
.ParameterizedType.Builder
ParameterizedType.Builder. addArgument(Type argument)
Adds a type argument.TypeVariable.Builder
TypeVariable.Builder. addBound(Type bound)
Adds a bound.private void
IndexWriterV2. addType(Type type)
private void
IndexWriterV2. addTypeList(Type[] types)
(package private) static boolean
TypeInterning. arrayEquals(Type[] a, Type[] b)
(package private) static int
TypeInterning. arrayHashCode(Type[] array)
private java.util.ArrayDeque<Indexer.InnerClassInfo>
Indexer. buildClassesQueue(Type type)
Returns a list ofIndexer.InnerClassInfo
s representing types enclosing giventype
.static ArrayType.Builder
ArrayType. builder(Type constituent, int dimensions)
Create a builder of an array type.private java.util.Map<DotName,Type>
Indexer. buildOwnerMap(Type type)
private ParameterizedType
Indexer. convertParameterized(Type oType)
(package private) Type
ArrayType. copyType(Type component, int dimensions)
(package private) ParameterizedType
ParameterizedType. copyType(int argumentIndex, Type argument)
(package private) ParameterizedType
ParameterizedType. copyType(Type owner)
(package private) ParameterizedType
ParameterizedType. copyType(Type[] arguments)
(package private) TypeVariable
TypeVariable. copyType(int boundIndex, Type bound)
(package private) Type
WildcardType. copyType(Type bound)
static ArrayType
ArrayType. create(Type constituent, int dimensions)
Create a new array type instance with the specified number of dimensions and the specified constituent type.static FieldInfo
FieldInfo. create(ClassInfo clazz, java.lang.String name, Type type, short flags)
Construct a new mock Field instance.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)
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.static ParameterizedType
ParameterizedType. create(java.lang.Class<?> clazz, Type... arguments)
Create an instance of a parameterized type with given genericclazz
and given typearguments
.static ParameterizedType
ParameterizedType. create(java.lang.Class<?> clazz, Type[] arguments, Type owner)
Create an instance of a parameterized type with given genericclazz
and given typearguments
.static ParameterizedType
ParameterizedType. create(java.lang.String name, Type... arguments)
Create an instance of a parameterized type with givenname
, which denotes a generic class, and given typearguments
.static ParameterizedType
ParameterizedType. create(java.lang.String name, Type[] arguments, Type owner)
Create an instance of a parameterized type with givenname
, which denotes a generic class, and given typearguments
.static ParameterizedType
ParameterizedType. create(DotName name, Type... arguments)
Create an instance of a parameterized type with givenname
, which denotes a generic class, and given typearguments
.static ParameterizedType
ParameterizedType. create(DotName name, Type[] arguments, Type owner)
Create an instance of a parameterized type with givenname
, which denotes a generic class, and given typearguments
.static RecordComponentInfo
RecordComponentInfo. create(ClassInfo clazz, java.lang.String name, Type type)
Constructs a new mock record component infostatic WildcardType
WildcardType. create(Type bound, boolean isExtends)
Deprecated.static AnnotationValue
AnnotationValue. createClassValue(java.lang.String name, Type type)
static WildcardType
WildcardType. createLowerBound(Type lowerBound)
Create a new wildcard type with a lower (super
) bound.static WildcardType
WildcardType. createUpperBound(Type upperBound)
Create a new wildcard type with an upper (extends
) bound.private Type
Indexer. deepCopyTypeIfNeeded(Type type)
Whentype
contains no type variable references, returnstype
.(package private) boolean
StrongInternPool.TypeArrayInternPool. equality(Type[] o1, Type[] o2)
(package private) boolean
StrongInternPool.TypeInternPool. equality(Type o1, Type o2)
private TypeVariable
Indexer. findTypeParameter(Type[] typeParameters, java.lang.String identifier)
Finds and returns a type variable with givenidentifier
among giventypeParameters
.static void
Descriptor. forType(Type type, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution, java.lang.StringBuilder result)
Appends a bytecode descriptor of a single type to givenStringBuilder
.static void
GenericSignature. forType(Type type, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution, java.lang.StringBuilder result)
Appends a generic signature of a single type to givenStringBuilder
.private java.lang.String
Indexer. getTypeVariableIdentifier(Type typeVariable)
(package private) int
StrongInternPool.TypeArrayInternPool. hashCode(Type[] o)
(package private) int
StrongInternPool.TypeInternPool. hashCode(Type o)
private Type
Indexer. intern(Type type)
private Type[]
Indexer. intern(Type[] type)
(package private) Type
NameTable. intern(Type type)
(package private) Type[]
NameTable. intern(Type[] types)
private boolean
GenericSignatureParser. isRecursive(Type type)
static java.lang.Class<?>
JandexReflection. loadRawType(Type type)
Loads a class corresponding to the raw type of givenType
from the thread context classloader.private boolean
IndexWriterV2. markWritten(Type[] types)
MethodInfo
ClassInfo. method(java.lang.String name, Type... parameters)
Retrieves a method based on its signature, which includes a method name and a parameter type list.static EquivalenceKey.TypeEquivalenceKey
EquivalenceKey. of(Type type)
Returns an equivalence key for given type.private static EquivalenceKey.TypeEquivalenceKey[]
EquivalenceKey. of(Type[] types)
private DotName
Indexer. outermostAnnotableTypeName(Type type)
Returns the name of the outermost type that encloses giventype
and on which type annotations are admissible.private Type
TypeParser. parseArrayType(Type elementType)
private void
GenericSignatureParser. patchTypeVariableReferences(Type type)
private void
Indexer. patchTypeVariableReferences(Type type, java.util.Deque<TypeVariable> typeVarStack, AnnotationTarget parametricEncloser)
Patches all type variable references contained in giventype
.private int
IndexWriterV2. positionOf(Type type)
private int
IndexWriterV2. positionOf(Type[] types)
private Type
Indexer. propagateOneTypeParameterBound(Type type, Type[] allTypeParams, AnnotationTarget target)
private Type
Indexer. propagateTypeVariables(Type type, AnnotationTarget parametricEncloser)
private Type
Indexer. rebuildNestedType(Type last, java.util.ArrayDeque<Indexer.InnerClassInfo> classes, Type type, int depth, Indexer.TypeAnnotationState typeAnnotationState)
private void
Indexer. recordUsedType(Type type)
private static boolean
GenericSignatureReconstruction. requiresGenericSignature(Type type)
private Type
GenericSignatureParser. resolveType(Type type, boolean isRecursive)
private Type
Indexer. resolveTypePath(Type type, Indexer.TypeAnnotationState typeAnnotationState)
private void
Indexer. retargetTypeAnnotations(AnnotationTarget parametricEncloser, Type oldType, Type newType)
private Type
Indexer. searchNestedType(Type type, int depth, Indexer.TypeAnnotationState typeAnnotationState)
private Type
Indexer. searchTypePath(Type type, Indexer.TypeAnnotationState typeAnnotationState)
(package private) void
MethodInfo. setExceptions(Type[] exceptions)
(package private) void
MethodInternal. setExceptions(Type[] exceptions)
(package private) void
ClassInfo. setInterfaceTypes(Type[] interfaceTypes)
WildcardType.Builder
WildcardType.Builder. setLowerBound(Type lowerBound)
Sets the lower bound.ParameterizedType.Builder
ParameterizedType.Builder. setOwner(Type owner)
Sets the owner.(package private) void
MethodInfo. setParameters(Type[] parameters)
(package private) void
MethodInternal. setParameterTypes(Type[] parameterTypes)
(package private) void
MethodInfo. setReceiverType(Type receiverType)
(package private) void
MethodInternal. setReceiverType(Type receiverType)
(package private) void
MethodInfo. setReturnType(Type returnType)
(package private) void
MethodInternal. setReturnType(Type returnType)
(package private) void
ClassInfo. setSuperClassType(Type superClassType)
(package private) void
TypeTarget. setTarget(Type target)
(package private) void
FieldInfo. setType(Type type)
(package private) void
FieldInternal. setType(Type type)
(package private) void
RecordComponentInfo. setType(Type type)
(package private) void
RecordComponentInternal. setType(Type type)
(package private) void
ClassInfo. setTypeParameters(Type[] typeParameters)
private static void
Indexer. setTypeParameters(AnnotationTarget target, Type[] typeParameters)
(package private) void
MethodInfo. setTypeParameters(Type[] typeParameters)
(package private) void
MethodInternal. setTypeParameters(Type[] typeParameters)
WildcardType.Builder
WildcardType.Builder. setUpperBound(Type upperBound)
Sets the upper bound.(package private) static void
DescriptorReconstruction. typeDescriptor(Type type, java.util.function.Function<java.lang.String,Type> substitution, java.lang.StringBuilder result)
(package private) static void
GenericSignatureReconstruction. typeSignature(Type type, java.util.function.Function<java.lang.String,Type> substitution, java.lang.StringBuilder result)
private static void
DescriptorReconstruction. typeVariableDescriptor(Type typeVariable, java.lang.String typeVariableIdentifier, java.util.function.Function<java.lang.String,Type> substitution, java.lang.StringBuilder result)
private static void
GenericSignatureReconstruction. typeVariableSignature(Type typeVariable, java.lang.String typeVariableIdentifier, java.util.function.Function<java.lang.String,Type> substitution, java.lang.StringBuilder result)
private void
AnnotationInstanceBuilder. validateType(Type type)
AnnotationInstanceBuilder
AnnotationInstanceBuilder. value(Type value)
Adds a class-valued annotation member calledvalue
.AnnotationInstanceBuilder
AnnotationInstanceBuilder. value(Type[] values)
Adds a class array-valued annotation member calledvalue
.private void
IndexWriterV2. writeReference(PackedDataOutputStream stream, Type type, boolean nullable)
private void
IndexWriterV2. writeReferenceOrFull(PackedDataOutputStream stream, Type[] types)
private void
IndexWriterV1. writeType(PackedDataOutputStream stream, Type type)
private void
IndexWriterV2. writeTypeEntry(PackedDataOutputStream stream, Type type)
private void
IndexWriterV2. writeTypeListEntry(PackedDataOutputStream stream, Type[] types)
Method parameters in org.jboss.jandex with type arguments of type Type Modifier and Type Method Description java.lang.String
ClassInfo. descriptor(java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
Returns a bytecode descriptor of the type introduced by this class.java.lang.String
Descriptor. descriptor(java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
Returns a bytecode descriptor of this element.java.lang.String
FieldInfo. descriptor(java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
Returns a bytecode descriptor of this field.java.lang.String
MethodInfo. descriptor(java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
Returns a bytecode descriptor of this method.java.lang.String
RecordComponentInfo. descriptor(java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
Returns a bytecode descriptor of this record component.java.lang.String
Type. descriptor(java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
Returns the bytecode descriptor of this type (or its erasure in case of generic types).(package private) static java.lang.String
DescriptorReconstruction. fieldDescriptor(FieldInfo field, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
static void
Descriptor. forType(Type type, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution, java.lang.StringBuilder result)
Appends a bytecode descriptor of a single type to givenStringBuilder
.static void
GenericSignature. forType(Type type, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution, java.lang.StringBuilder result)
Appends a generic signature of a single type to givenStringBuilder
.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
.java.lang.String
ClassInfo. genericSignature(java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
Returns a generic signature of this class, possibly without any generic-related information.java.lang.String
FieldInfo. genericSignature(java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
Returns a generic signature of this field, possibly without any generic-related information.java.lang.String
GenericSignature. genericSignature(java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
Returns a generic signature of this declaration, possibly without any generic-related information.java.lang.String
MethodInfo. genericSignature(java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
Returns a generic signature of this method, possibly without any generic-related information.java.lang.String
RecordComponentInfo. genericSignature(java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
Returns a generic signature of this record component, possibly without any generic-related information.default java.lang.String
GenericSignature. genericSignatureIfRequired(java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
Returns a generic signature of this declaration if required.MethodInfo
ClassInfo. method(java.lang.String name, java.util.List<Type> parameters)
Retrieves a method based on its signature, which includes a method name and a parameter type list.(package private) static java.lang.String
DescriptorReconstruction. methodDescriptor(MethodInfo method, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
(package private) static java.lang.String
GenericSignatureReconstruction. reconstructGenericSignature(ClassInfo clazz, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
(package private) static java.lang.String
GenericSignatureReconstruction. reconstructGenericSignature(FieldInfo field, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
(package private) static java.lang.String
GenericSignatureReconstruction. reconstructGenericSignature(MethodInfo method, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
(package private) static java.lang.String
GenericSignatureReconstruction. reconstructGenericSignature(RecordComponentInfo recordComponent, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
(package private) static java.lang.String
DescriptorReconstruction. recordComponentDescriptor(RecordComponentInfo recordComponent, java.util.function.Function<java.lang.String,Type> typeVariableSubstitution)
private void
GenericSignatureParser. resolveTypeList(java.util.ArrayList<Type> list)
(package private) static void
DescriptorReconstruction. typeDescriptor(Type type, java.util.function.Function<java.lang.String,Type> substitution, java.lang.StringBuilder result)
(package private) static void
GenericSignatureReconstruction. typeParametersSignature(java.util.List<TypeVariable> typeParameters, java.util.function.Function<java.lang.String,Type> substitution, java.lang.StringBuilder result)
(package private) static void
GenericSignatureReconstruction. typeSignature(Type type, java.util.function.Function<java.lang.String,Type> substitution, java.lang.StringBuilder result)
private static void
DescriptorReconstruction. typeVariableDescriptor(Type typeVariable, java.lang.String typeVariableIdentifier, java.util.function.Function<java.lang.String,Type> substitution, java.lang.StringBuilder result)
private static void
GenericSignatureReconstruction. typeVariableSignature(Type typeVariable, java.lang.String typeVariableIdentifier, java.util.function.Function<java.lang.String,Type> substitution, java.lang.StringBuilder result)
Constructors in org.jboss.jandex with parameters of type Type Constructor Description ArrayType(Type constituent, int dimensions)
ArrayType(Type constituent, int dimensions, AnnotationInstance[] annotations)
Builder(Type constituent, int dimensions)
ClassExtendsTypeTarget(AnnotationTarget enclosingTarget, Type target, int position)
ClassInfo(DotName name, Type superClassType, short flags, Type[] interfaceTypes)
ClassInfo(DotName name, Type superClassType, short flags, Type[] interfaceTypes, boolean hasNoArgsConstructor)
ClassSignature(Type[] parameters, Type superClass, Type[] interfaces)
ClassValue(java.lang.String name, Type type)
EmptyTypeTarget(AnnotationTarget enclosingTarget, Type target, boolean receiver)
EnclosingMethodInfo(java.lang.String name, Type returnType, Type[] parameters, DotName enclosingClass)
FieldInfo(ClassInfo clazz, byte[] name, Type type, short flags)
FieldInternal(byte[] name, Type type, short flags)
FieldInternal(byte[] name, Type type, short flags, AnnotationInstance[] annotations)
MethodInfo(ClassInfo clazz, byte[] name, byte[][] parameterNames, Type[] parameterTypes, Type returnType, short flags)
MethodInfo(ClassInfo clazz, byte[] name, byte[][] parameterNames, Type[] parameterTypes, Type returnType, short flags, Type[] typeParameters, Type[] exceptions)
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameterTypes, Type returnType, short flags)
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameterTypes, Type returnType, short flags, Type[] typeParameters, Type[] exceptions)
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameterTypes, Type returnType, short flags, Type receiverType, Type[] typeParameters, Type[] exceptions, AnnotationInstance[] annotations, AnnotationValue defaultValue)
MethodParameterTypeTarget(AnnotationTarget enclosingTarget, Type target, int position)
MethodSignature(Type[] typeParameters, Type[] methodParameters, Type returnType, Type[] throwables)
ParameterizedType(DotName name, Type[] arguments, Type owner)
ParameterizedType(DotName name, Type[] arguments, Type owner, AnnotationInstance[] annotations)
PositionBasedTypeTarget(AnnotationTarget enclosingTarget, Type target, int position)
RecordComponentInfo(ClassInfo clazz, byte[] name, Type type)
RecordComponentInternal(byte[] name, Type type)
RecordComponentInternal(byte[] name, Type type, AnnotationInstance[] annotations)
ThrowsTypeTarget(AnnotationTarget enclosingTarget, Type target, int position)
TypeParameterBoundTypeTarget(AnnotationTarget enclosingTarget, Type target, int position, int boundPosition)
TypeParameterTypeTarget(AnnotationTarget enclosingTarget, Type target, int position)
TypeTarget(AnnotationTarget enclosingTarget, Type target)
TypeVariable(java.lang.String name, Type[] bounds)
TypeVariable(java.lang.String name, Type[] bounds, AnnotationInstance[] annotations)
TypeVariable(java.lang.String name, Type[] bounds, AnnotationInstance[] annotations, boolean implicitObjectBound)
WildcardType(Type bound, boolean isExtends)
WildcardType(Type bound, boolean isExtends, AnnotationInstance[] annotations)
-