Uses of Class
org.jboss.jandex.Type
-
-
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 declaration.class
ClassType
Represents a standard raw class name.class
ParameterizedType
Represents a generic parameterized type.class
PrimitiveType
Represents a primitive Java type.class
TypeVariable
Represents a resolved type parameter or type argument.class
UnresolvedTypeVariable
Represents a type variable that could not be resolved during indexing.class
VoidType
Specifies "void" 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[]
TypeVariable. bounds
private Type
ArrayType. component
static Type[]
Type. EMPTY_ARRAY
private Type[]
MethodInternal. exceptions
private Type[]
GenericSignatureParser.ClassSignature. interfaces
private Type[]
ClassInfo. interfaceTypes
private Type[]
GenericSignatureParser.MethodSignature. methodParameters
private static Type
WildcardType. OBJECT
private Type
ParameterizedType. owner
private Type[]
ClassInfo.EnclosingMethodInfo. parameters
private Type[]
GenericSignatureParser.ClassSignature. parameters
private Type[]
MethodInternal. parameters
private Type
MethodInternal. 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. typeParameters
private Type[]
GenericSignatureParser.MethodSignature. typeParameters
private Type[]
MethodInternal. typeParameters
private Type[]
IndexReaderV2. typeTable
Fields in org.jboss.jandex with type parameters of type Type Modifier and Type Field Description 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()
Returns the component 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. copyParameters()
(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
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(DotName name, Type.Kind kind)
Creates a type instance of the specified kind.(package private) Type[]
MethodInternal. exceptionArray()
Type
WildcardType. extendsBound()
Returns the extends (upper) bound of this wildcard.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 contains type annotations.(package private) Type[]
MethodInternal. parameterArray()
(package private) Type[]
GenericSignatureParser.ClassSignature. parameters()
(package private) Type[]
ClassInfo.EnclosingMethodInfo. parametersArray()
private Type
GenericSignatureParser. parseArrayType()
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
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[]
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
IndexReaderV1. readType(PackedDataInputStream stream)
private Type
IndexReaderV2. readTypeEntry(PackedDataInputStream stream)
private Type[]
IndexReaderV2. readTypeListEntry(PackedDataInputStream stream)
private Type[]
IndexReaderV2. readTypeListReference(PackedDataInputStream stream)
private Type
Indexer. rebuildNestedType(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)
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 super (lower) bound of this wildcard.(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
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 arguments passed to this Parameterized type.java.util.List<Type>
TypeVariable. bounds()
private java.util.Map<DotName,Type>
Indexer. buildOwnerMap(Type type)
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()
java.util.List<Type>
ClassInfo. interfaceTypes()
Returns the list of types in the implements 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. parameters()
Returns a list containing the types of all parameters declared on this method, in parameter order.(package private) java.util.List<Type>
MethodInternal. parameters()
Methods in org.jboss.jandex with parameters of type Type Modifier and Type Method Description private void
IndexWriterV2. addType(Type type)
private void
IndexWriterV2. addTypeList(Type[] types)
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(Type owner)
(package private) ParameterizedType
ParameterizedType. copyType(Type[] parameters)
(package private) TypeVariable
TypeVariable. copyType(int boundIndex, Type bound)
(package private) Type
WildcardType. copyType(Type bound)
static ArrayType
ArrayType. create(Type component, int dimensions)
Create a new mock array type instance with the specified component and dimensions.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[] args, 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[] args, Type returnType, short flags)
Construct a new mock Method instance.static MethodInfo
MethodInfo. create(ClassInfo clazz, java.lang.String name, Type[] args, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions)
Construct a new mock Method instance.static ParameterizedType
ParameterizedType. create(DotName name, Type[] arguments, Type owner)
Create a new mock instance.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)
Create a new mock instance of WildcardType.static AnnotationValue
AnnotationValue. createClassValue(java.lang.String name, Type type)
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
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 an argument list.private int
IndexWriterV2. positionOf(Type type)
private int
IndexWriterV2. positionOf(Type[] types)
private Type
Indexer. rebuildNestedType(Type type, int depth, Indexer.TypeAnnotationState typeAnnotationState)
private TypeVariable
GenericSignatureParser. resolveBounds(Type type)
private Type
GenericSignatureParser. resolveType(Type type)
private Type
Indexer. resolveTypePath(Type type, Indexer.TypeAnnotationState typeAnnotationState)
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)
(package private) void
MethodInfo. setParameters(Type[] parameters)
(package private) void
MethodInternal. setParameters(Type[] parameters)
(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 void
Indexer. setTypeParameters(AnnotationTarget target, Type[] typeParameters)
(package private) void
MethodInfo. setTypeParameters(Type[] typeParameters)
(package private) void
MethodInternal. setTypeParameters(Type[] typeParameters)
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 private void
GenericSignatureParser. resolveTypeList(java.util.ArrayList<Type> list)
Constructors in org.jboss.jandex with parameters of type Type Constructor Description ArrayType(Type component, int dimensions)
ArrayType(Type component, int dimensions, AnnotationInstance[] annotations)
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[] parameters, Type returnType, short flags)
MethodInfo(ClassInfo clazz, byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags, Type[] typeParameters, Type[] exceptions)
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags)
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags, Type[] typeParameters, Type[] exceptions)
MethodInternal(byte[] name, byte[][] parameterNames, Type[] parameters, 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)
-