Type
interface Type
Known Direct Subclasses
Class |
Instances of the 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 |
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 |
open String |
Returns a string describing this type, including information about any type parameters.
|
Public methods
getTypeName
open fun getTypeName(): String
Returns a string describing this type, including information about any type parameters.
Return |
String |
a string describing this type |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-02-16 UTC.
[null,null,["Last updated 2024-02-16 UTC."],[],[]]