Uses of Interface
java.lang.reflect.TypeVariable
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 TypeVariable in java.lang
Modifier and TypeMethodDescriptionTypeVariable<Class<T>>[]
Class.getTypeParameters()
Returns an array ofTypeVariable
objects that represent the type variables declared by the generic declaration represented by thisGenericDeclaration
object, in declaration order. -
Uses of TypeVariable in java.lang.reflect
Modifier and TypeMethodDescriptionTypeVariable<Constructor<T>>[]
Constructor.getTypeParameters()
Returns an array ofTypeVariable
objects that represent the type variables declared by the generic declaration represented by thisGenericDeclaration
object, in declaration order.abstract TypeVariable<?>[]
Executable.getTypeParameters()
Returns an array ofTypeVariable
objects that represent the type variables declared by the generic declaration represented by thisGenericDeclaration
object, in declaration order.TypeVariable<?>[]
GenericDeclaration.getTypeParameters()
Returns an array ofTypeVariable
objects that represent the type variables declared by the generic declaration represented by thisGenericDeclaration
object, in declaration order.Method.getTypeParameters()
Returns an array ofTypeVariable
objects that represent the type variables declared by the generic declaration represented by thisGenericDeclaration
object, in declaration order.