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 classArrayTypeRepresents a Java array type declaration.classClassTypeRepresents a standard raw class name.classParameterizedTypeRepresents a generic parameterized type.classPrimitiveTypeRepresents a primitive Java type.classTypeVariableRepresents a resolved type parameter or type argument.classUnresolvedTypeVariableRepresents a type variable that could not be resolved during indexing.classVoidTypeSpecifies "void" in a method signature.classWildcardTypeRepresents a generic wildcard.Fields in org.jboss.jandex declared as Type Modifier and Type Field Description static Type[]Type. EMPTY_ARRAYMethods in org.jboss.jandex that return Type Modifier and Type Method Description Type[]MethodInfo. args()Deprecated.TypeAnnotationValue. asClass()Returns the class name, inTypeform, that represents a Java Class used by this value.Type[]AnnotationValue. asClassArray()Returns an array of class types representing the underlying class array value.TypeArrayType. component()Returns the component type of the array.static TypeType. create(DotName name, Type.Kind kind)Creates a type instance of the specified kind.TypeWildcardType. extendsBound()Returns the extends (upper) bound of this wildcard.TypeParameterizedType. owner()Returns the owner (enclosing) type of this parameterized type if the owner is parameterized, or contains type annotations.TypeMethodInfo. receiverType()Returns the receiver type of this method (a declaration of the "this" reference), if specified.TypeClassInfo.EnclosingMethodInfo. returnType()Returns the return type of the method.TypeMethodInfo. returnType()Returns this method's return parameter type.TypeWildcardType. superBound()Returns the super (lower) bound of this wildcard.TypeClassInfo. superClassType()Returns a super type represented by the extends clause of this class.TypeTypeTarget. target()Returns the type which contains the respective annotation.TypeFieldInfo. type()Returns theTypedeclared on this field.TypeRecordComponentInfo. type()Returns the type of this record component.Methods in org.jboss.jandex that return types with arguments of type Type Modifier and Type Method Description List<Type>ParameterizedType. arguments()Returns the list of arguments passed to this Parameterized type.List<Type>TypeVariable. bounds()List<Type>MethodInfo. exceptions()Returns the list of throwable classes declared to be thrown by this method.List<Type>ClassInfo. interfaceTypes()Returns the list of types in the implements clause of this class.List<Type>ClassInfo.EnclosingMethodInfo. parameters()Returns the list of parameters declared by this method or constructor.List<Type>MethodInfo. parameters()Returns a list containing the types of all parameters declared on this method, in parameter order.Methods in org.jboss.jandex with parameters of type Type Modifier and Type Method Description static ArrayTypeArrayType. create(Type component, int dimensions)Create a new mock array type instance with the specified component and dimensions.static FieldInfoFieldInfo. create(ClassInfo clazz, String name, Type type, short flags)Construct a new mock Field instance.static MethodInfoMethodInfo. create(ClassInfo clazz, String name, String[] parameterNames, Type[] args, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions)Construct a new mock Method instance.static MethodInfoMethodInfo. create(ClassInfo clazz, String name, Type[] args, Type returnType, short flags)Construct a new mock Method instance.static MethodInfoMethodInfo. create(ClassInfo clazz, String name, Type[] args, Type returnType, short flags, TypeVariable[] typeParameters, Type[] exceptions)Construct a new mock Method instance.static ParameterizedTypeParameterizedType. create(DotName name, Type[] arguments, Type owner)Create a new mock instance.static RecordComponentInfoRecordComponentInfo. create(ClassInfo clazz, String name, Type type)Constructs a new mock record component infostatic WildcardTypeWildcardType. create(Type bound, boolean isExtends)Create a new mock instance of WildcardType.static AnnotationValueAnnotationValue. createClassValue(String name, Type type)MethodInfoClassInfo. method(String name, Type... parameters)Retrieves a method based on its signature, which includes a method name and an argument list.Constructors in org.jboss.jandex with parameters of type Type Constructor Description ClassExtendsTypeTarget(AnnotationTarget enclosingTarget, Type target, int position)
-