Uses of Class
org.jboss.jandex.Type
-
Uses of Type in org.jboss.jandex
Subclasses of Type in org.jboss.jandexModifier and TypeClassDescriptionfinal class
Represents a Java array type declaration.final class
Represents a standard raw class name.class
Represents a generic parameterized type.final class
Represents a primitive Java type.final class
Represents a resolved type parameter or type argument.final class
Represents a type variable that could not be resolved during indexing.class
Specifies "void" in a method signature.class
Represents a generic wildcard.Fields in org.jboss.jandex declared as TypeModifier and TypeFieldDescriptionprivate final Type[]
ParameterizedType.arguments
private final Type
WildcardType.bound
private final Type[]
TypeVariable.bounds
private final Type
ArrayType.component
static final Type[]
Type.EMPTY_ARRAY
private Type[]
MethodInternal.exceptions
private final Type[]
GenericSignatureParser.ClassSignature.interfaces
private Type[]
ClassInfo.interfaceTypes
private final Type[]
GenericSignatureParser.MethodSignature.methodParameters
private static Type
WildcardType.OBJECT
private final Type
ParameterizedType.owner
private Type[]
ClassInfo.EnclosingMethodInfo.parameters
private final Type[]
GenericSignatureParser.ClassSignature.parameters
private Type[]
MethodInternal.parameters
private Type
MethodInternal.receiverType
private Type
ClassInfo.EnclosingMethodInfo.returnType
private final Type
GenericSignatureParser.MethodSignature.returnType
private Type
MethodInternal.returnType
private final Type
GenericSignatureParser.ClassSignature.superClass
private Type
ClassInfo.superClassType
private Type
TypeTarget.target
private final Type[]
GenericSignatureParser.MethodSignature.throwables
private final Type
AnnotationValue.ClassValue.type
private Type
FieldInternal.type
private Type
RecordComponentInternal.type
private Type[][]
IndexReaderV2.typeListTable
private Type[]
ClassInfo.typeParameters
private final Type[]
GenericSignatureParser.MethodSignature.typeParameters
private Type[]
MethodInternal.typeParameters
private Type[]
IndexReaderV2.typeTable
Fields in org.jboss.jandex with type parameters of type TypeModifier and TypeFieldDescriptionprivate StrongInternPool
<Type> NameTable.typePool
private IndexWriterV2.ReferenceTable
<Type> IndexWriterV2.typeTable
Methods in org.jboss.jandex that return TypeModifier and TypeMethodDescription(package private) Type
Type.addAnnotation
(AnnotationInstance annotation) final Type[]
MethodInfo.args()
Deprecated.(package private) Type[]
ParameterizedType.argumentsArray()
AnnotationValue.asClass()
Returns the class name, inType
form, that represents a Java Class used by this value.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()
ArrayType.component()
Returns the component type of the array.(package private) final Type[]
MethodInfo.copyExceptions()
(package private) final Type[]
MethodInternal.copyExceptions()
(package private) final Type[]
ClassInfo.copyInterfaceTypes()
(package private) final Type[]
MethodInfo.copyParameters()
(package private) final Type[]
MethodInternal.copyParameters()
(package private) Type
ArrayType.copyType
(AnnotationInstance[] newAnnotations) (package private) Type
(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
private static Type[]
Indexer.copyTypeParameters
(AnnotationTarget target) static Type
Creates a type instance of the specified kind.(package private) final Type[]
MethodInternal.exceptionArray()
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) final Type[]
ClassInfo.interfaceTypeArray()
private Type
private Type[]
(package private) Type
(package private) Type[]
Type[]
GenericSignatureParser.MethodSignature.methodParameters()
ParameterizedType.owner()
Returns the owner (enclosing) type of this parameterized type if the owner is parameterized, or contains type annotations.(package private) final 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
(String signature) private Type
GenericSignatureParser.parseJavaType()
private Type[]
Indexer.parseMethodArgs
(String descriptor, Indexer.IntegerHolder pos) private Type
GenericSignatureParser.parseReferenceType()
private Type
GenericSignatureParser.parseReturnType()
private Type
private Type
Indexer.parseType
(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) final Type
MethodInfo.receiverType()
Returns the receiver type of this method (a declaration of the "this" reference), if specified.(package private) final Type
MethodInternal.receiverType
(ClassInfo clazz) (package private) final Type
MethodInternal.receiverTypeField()
private Type
GenericSignatureParser.resolveType
(Type type) private Type
Indexer.resolveTypePath
(Type type, Indexer.TypeAnnotationState typeAnnotationState) ClassInfo.EnclosingMethodInfo.returnType()
Returns the return type of the method.GenericSignatureParser.MethodSignature.returnType()
final Type
MethodInfo.returnType()
Returns this method's return parameter type.(package private) final Type
MethodInternal.returnType()
private Type
Indexer.searchNestedType
(Type type, int depth, Indexer.TypeAnnotationState typeAnnotationState) private Type
Indexer.searchTypePath
(Type type, Indexer.TypeAnnotationState typeAnnotationState) WildcardType.superBound()
Returns the super (lower) bound of this wildcard.(package private) Type
GenericSignatureParser.ClassSignature.superClass()
final Type
ClassInfo.superClassType()
Returns a super type represented by the extends clause of this class.TypeTarget.target()
Returns the type which contains the respective annotation.Type[]
GenericSignatureParser.MethodSignature.throwables()
final Type
FieldInfo.type()
Returns theType
declared on this field.(package private) final Type
FieldInternal.type()
RecordComponentInfo.type()
Returns the type of this record component.(package private) final Type
RecordComponentInternal.type()
(package private) final Type[]
ClassInfo.typeParameterArray()
(package private) final Type[]
MethodInfo.typeParameterArray()
(package private) final Type[]
MethodInternal.typeParameterArray()
Type[]
GenericSignatureParser.MethodSignature.typeParameters()
AnnotationValue.ClassValue.value()
Methods in org.jboss.jandex that return types with arguments of type TypeModifier and TypeMethodDescriptionParameterizedType.arguments()
Returns the list of arguments passed to this Parameterized type.TypeVariable.bounds()
Indexer.buildOwnerMap
(Type type) MethodInfo.exceptions()
Returns the list of throwable classes declared to be thrown by this method.MethodInternal.exceptions()
ClassInfo.interfaceTypes()
Returns the list of types in the implements clause of this class.ClassInfo.EnclosingMethodInfo.parameters()
Returns the list of parameters declared by this method or constructor.MethodInfo.parameters()
Returns a list containing the types of all parameters declared on this method, in parameter order.MethodInternal.parameters()
Methods in org.jboss.jandex with parameters of type TypeModifier and TypeMethodDescriptionprivate void
private void
IndexWriterV2.addTypeList
(Type[] types) Indexer.buildOwnerMap
(Type type) private ParameterizedType
Indexer.convertParameterized
(Type oType) (package private) Type
(package private) ParameterizedType
(package private) ParameterizedType
(package private) TypeVariable
(package private) Type
static ArrayType
Create a new mock array type instance with the specified component and dimensions.static FieldInfo
Construct a new mock Field instance.static MethodInfo
MethodInfo.create
(ClassInfo clazz, String name, String[] parameterNames, Type[] args, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions) Construct a new mock Method instance.static MethodInfo
Construct a new mock Method instance.static MethodInfo
MethodInfo.create
(ClassInfo clazz, String name, Type[] args, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions) Construct a new mock Method instance.static ParameterizedType
Create a new mock instance.static RecordComponentInfo
Constructs a new mock record component infostatic WildcardType
Create a new mock instance of WildcardType.static AnnotationValue
AnnotationValue.createClassValue
(String name, Type type) private Type
private Type[]
(package private) Type
(package private) Type[]
private boolean
IndexWriterV2.markWritten
(Type[] types) final MethodInfo
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
(package private) void
(package private) void
(package private) void
(package private) void
(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 TypeModifier and TypeMethodDescriptionprivate void
GenericSignatureParser.resolveTypeList
(ArrayList<Type> list) Constructors in org.jboss.jandex with parameters of type TypeModifierConstructorDescription(package private)
(package private)
ArrayType
(Type component, int dimensions, AnnotationInstance[] annotations) ClassExtendsTypeTarget
(AnnotationTarget enclosingTarget, Type target, int position) (package private)
(package private)
ClassInfo
(DotName name, Type superClassType, short flags, Type[] interfaceTypes, boolean hasNoArgsConstructor) private
ClassSignature
(Type[] parameters, Type superClass, Type[] interfaces) (package private)
ClassValue
(String name, Type type) (package private)
EmptyTypeTarget
(AnnotationTarget enclosingTarget, Type target, boolean receiver) (package private)
EnclosingMethodInfo
(String name, Type returnType, Type[] parameters, DotName enclosingClass) (package private)
(package private)
FieldInternal
(byte[] name, Type type, short flags) (package private)
FieldInternal
(byte[] name, Type type, short flags, AnnotationInstance[] annotations) (package private)
MethodInfo
(ClassInfo clazz, byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags) (package private)
MethodInfo
(ClassInfo clazz, byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags, Type[] typeParameters, Type[] exceptions) (package private)
MethodInternal
(byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags) (package private)
MethodInternal
(byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags, Type[] typeParameters, Type[] exceptions) (package private)
MethodInternal
(byte[] name, byte[][] parameterNames, Type[] parameters, Type returnType, short flags, Type receiverType, Type[] typeParameters, Type[] exceptions, AnnotationInstance[] annotations, AnnotationValue defaultValue) (package private)
MethodParameterTypeTarget
(AnnotationTarget enclosingTarget, Type target, int position) private
MethodSignature
(Type[] typeParameters, Type[] methodParameters, Type returnType, Type[] throwables) (package private)
ParameterizedType
(DotName name, Type[] arguments, Type owner) (package private)
ParameterizedType
(DotName name, Type[] arguments, Type owner, AnnotationInstance[] annotations) (package private)
PositionBasedTypeTarget
(AnnotationTarget enclosingTarget, Type target, int position) (package private)
RecordComponentInfo
(ClassInfo clazz, byte[] name, Type type) (package private)
RecordComponentInternal
(byte[] name, Type type) (package private)
RecordComponentInternal
(byte[] name, Type type, AnnotationInstance[] annotations) (package private)
ThrowsTypeTarget
(AnnotationTarget enclosingTarget, Type target, int position) (package private)
TypeParameterBoundTypeTarget
(AnnotationTarget enclosingTarget, Type target, int position, int boundPosition) (package private)
TypeParameterTypeTarget
(AnnotationTarget enclosingTarget, Type target, int position) (package private)
TypeTarget
(AnnotationTarget enclosingTarget, Type target) (package private)
TypeVariable
(String name, Type[] bounds) (package private)
TypeVariable
(String name, Type[] bounds, AnnotationInstance[] annotations) (package private)
TypeVariable
(String name, Type[] bounds, AnnotationInstance[] annotations, boolean implicitObjectBound) (package private)
WildcardType
(Type bound, boolean isExtends) (package private)
WildcardType
(Type bound, boolean isExtends, AnnotationInstance[] annotations)