|
Préférences
Moteurs de recherche
|
||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.lang.model.type
|
Method Summary | |
---|---|
Element |
asElement()
Returns the element corresponding to this type variable. |
TypeMirror |
getLowerBound()
Returns the lower bound of this type variable. |
TypeMirror |
getUpperBound()
Returns the upper bound of this type variable. |
Methods inherited from interface javax.lang.model.type.TypeMirror |
---|
accept, equals, getKind, hashCode, toString |
Method Detail |
---|
Element asElement()
TypeMirror getUpperBound()
If this type variable was declared with no explicit
upper bounds, the result is java.lang.Object
.
If it was declared with multiple upper bounds,
the result is an intersection type (modeled as a
DeclaredType
).
Individual bounds can be found by examining the result's
supertypes.
TypeMirror getLowerBound()
NullType
.