java.lang.Object and is represented as such.
If one bound is declared, it is a type variable or a class type, possibly parameterized.
If more than one bound is declared, the first bound is a class type or an interface type,
possibly parameterized, and the following bounds are interface types, possibly parameterized.
| Modifier and Type | Method and Description |
|---|---|
| public default TypeVariable | asTypeVariable()
Overrides default jakarta. |
| public List | Returns: the bounds declared for this type variable, nevernull or emptyReturns the bounds declared for this type variable. |
| public default Type. | |
| public String |
| asTypeVariable | back to summary |
|---|---|
| public default TypeVariable asTypeVariable() Overrides default jakarta. Doc from jakarta. Returns this type as a type variable. Type variables are also used to represent type parameters in declarations of parameterized types.
| |
| bounds | back to summary |
|---|---|
| public List Returns the bounds declared for this type variable. | |
| kind | back to summary |
|---|---|
| public default Type. Implements jakarta. Doc from jakarta. Returns the kind of this type. | |
| name | back to summary |
|---|---|
| public String name() Returns the name of this type variable.
| |