Type
public
interface
Type
Known indirect subclasses
Class<T> |
Instances of the class Class represent classes and
interfaces in a running Java application.
|
GenericArrayType |
GenericArrayType represents an array type whose component
type is either a parameterized type or a type variable.
|
ParameterizedType |
ParameterizedType represents a parameterized type such as
Collection<String>.
|
TypeVariable<D extends GenericDeclaration> |
TypeVariable is the common superinterface for type variables of kinds.
|
WildcardType |
WildcardType represents a wildcard type expression, such as
? , ? extends Number , or ? super Integer .
|
|
Type is the common superinterface for all types in the Java
programming language. These include raw types, parameterized types,
array types, type variables and primitive types.
Summary
Public methods |
default
String
|
getTypeName()
Returns a string describing this type, including information
about any type parameters.
|
Public methods
getTypeName
public String getTypeName ()
Returns a string describing this type, including information
about any type parameters.
Implementation Requirements:
- The default implementation calls
toString
.
Returns |
String |
a string describing this type |