Added in API level 1
Type
interface Type
java.lang.reflect.Type |
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
Added in API level 28
open fun getTypeName(): String
Returns a string describing this type, including information about any type parameters.
Return | |
---|---|
String |
a string describing this type |