Uses of Interface
java.lang.reflect.AnnotatedType
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
Provides classes and interfaces for obtaining reflective information about
classes and objects.
-
Uses of AnnotatedType in java.lang
Modifier and TypeMethodDescriptionClass.getAnnotatedInterfaces()
Returns an array ofAnnotatedType
objects that represent the use of types to specify superinterfaces of the entity represented by thisClass
object.Class.getAnnotatedSuperclass()
Returns anAnnotatedType
object that represents the use of a type to specify the superclass of the entity represented by thisClass
object. -
Uses of AnnotatedType in java.lang.reflect
Modifier and TypeInterfaceDescriptioninterface
AnnotatedArrayType
represents the potentially annotated use of an array type, whose component type may itself represent the annotated use of a type.interface
AnnotatedParameterizedType
represents the potentially annotated use of a parameterized type, whose type arguments may themselves represent annotated uses of types.interface
AnnotatedTypeVariable
represents the potentially annotated use of a type variable, whose declaration may have bounds which themselves represent annotated uses of types.interface
AnnotatedWildcardType
represents the potentially annotated use of a wildcard type argument, whose upper or lower bounds may themselves represent annotated uses of types.Modifier and TypeMethodDescriptionAnnotatedParameterizedType.getAnnotatedActualTypeArguments()
Returns the potentially annotated actual type arguments of this parameterized type.AnnotatedTypeVariable.getAnnotatedBounds()
Returns the potentially annotated bounds of this type variable.TypeVariable.getAnnotatedBounds()
Returns an array of AnnotatedType objects that represent the use of types to denote the upper bounds of the type parameter represented by this TypeVariable.Executable.getAnnotatedExceptionTypes()
Returns an array ofAnnotatedType
objects that represent the use of types to specify the declared exceptions of the method/constructor represented by this Executable.AnnotatedArrayType.getAnnotatedGenericComponentType()
Returns the potentially annotated generic component type of this array type.AnnotatedWildcardType.getAnnotatedLowerBounds()
Returns the potentially annotated lower bounds of this wildcard type.AnnotatedArrayType.getAnnotatedOwnerType()
Returns the potentially annotated type that this type is a member of, if this type represents a nested class or interface.AnnotatedParameterizedType.getAnnotatedOwnerType()
Returns the potentially annotated type that this type is a member of, if this type represents a nested type.default AnnotatedType
AnnotatedType.getAnnotatedOwnerType()
Returns the potentially annotated type that this type is a member of, if this type represents a nested type.AnnotatedTypeVariable.getAnnotatedOwnerType()
Returns the potentially annotated type that this type is a member of, if this type represents a nested type.AnnotatedWildcardType.getAnnotatedOwnerType()
Returns the potentially annotated type that this type is a member of, if this type represents a nested type.Executable.getAnnotatedParameterTypes()
Returns an array ofAnnotatedType
objects that represent the use of types to specify formal parameter types of the method/constructor represented by this Executable.Constructor.getAnnotatedReceiverType()
Returns anAnnotatedType
object that represents the use of a type to specify the receiver type of the method/constructor represented by thisExecutable
object.Executable.getAnnotatedReceiverType()
Returns anAnnotatedType
object that represents the use of a type to specify the receiver type of the method/constructor represented by thisExecutable
object.Constructor.getAnnotatedReturnType()
Returns anAnnotatedType
object that represents the use of a type to specify the return type of the method/constructor represented by this Executable.abstract AnnotatedType
Executable.getAnnotatedReturnType()
Returns anAnnotatedType
object that represents the use of a type to specify the return type of the method/constructor represented by this Executable.Method.getAnnotatedReturnType()
Returns anAnnotatedType
object that represents the use of a type to specify the return type of the method/constructor represented by this Executable.Field.getAnnotatedType()
Returns an AnnotatedType object that represents the use of a type to specify the declared type of the field represented by this Field.Parameter.getAnnotatedType()
Returns an AnnotatedType object that represents the use of a type to specify the type of the formal parameter represented by this Parameter.RecordComponent.getAnnotatedType()
Returns anAnnotatedType
object that represents the use of a type to specify the declared type of this record component.AnnotatedWildcardType.getAnnotatedUpperBounds()
Returns the potentially annotated upper bounds of this wildcard type.