java.lang.reflect.TypeVariable<D extends java.lang.reflect.GenericDeclaration> |
This interface represents a type variables such as 'T'
in 'public interface Comparable<T>'
, the bounded 'T'
in 'public interface A<T extends Number>'
or the multiple bounded 'T'
in 'public interface B<T extends Number & Cloneable>'
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the upper bounds of this type variable.
| |||||||||||
Returns the language construct that declares this type variable.
| |||||||||||
Returns the name of this type variable as it is specified in source
code.
|
Returns the upper bounds of this type variable. Object
is the
implicit upper bound if no other bounds are declared.
TypeNotPresentException | if any of the bounds points to a missing type |
---|---|
MalformedParameterizedTypeException | if any of the bounds points to a type that cannot be instantiated for some reason |
Returns the language construct that declares this type variable.
Returns the name of this type variable as it is specified in source code.