TypeParameterElement
| Modifier and Type | Method and Description |
|---|---|
| public Element | Returns: the element corresponding to this type variableReturns the element corresponding to this type variable. |
| public TypeMirror | Returns: the lower bound of this type variableReturns the lower bound of this type variable. |
| public TypeMirror | Returns: the upper bound of this type variableReturns the upper bound of this type variable. |
| asElement | back to summary |
|---|---|
| public Element asElement() Returns the element corresponding to this type variable.
| |
| getLowerBound | back to summary |
|---|---|
| public TypeMirror getLowerBound() Returns the lower bound of this type variable. While a type
parameter cannot include an explicit lower bound declaration,
capture conversion can produce a type variable with a
non-trivial lower bound. Type variables otherwise have a
lower bound of
| |
| getUpperBound | back to summary |
|---|---|
| public TypeMirror getUpperBound() Returns the upper bound of this type variable. If this type variable was declared with no explicit
upper bounds, the result is
| |