TypeVariable.
TypeVariable
| Modifier and Type | Method and Description |
|---|---|
| public TypeMirror | Returns: the type variable corresponding to this type parameter elementRedeclares javax. Returns the type variable corresponding to this type parameter element. |
| public List | Returns: the bounds of this type parameter, or an empty list if there are noneReturns the bounds of this type parameter. |
| public Element | Returns: the generic element of this type parameterRedeclares javax. Returns the generic element of this type parameter. |
| public Element | Returns: the generic class, interface, method, or constructor that is parameterized by this type parameterReturns the generic class, interface, method, or constructor that is parameterized by this type parameter. |
| asType | back to summary |
|---|---|
| public TypeMirror asType() Redeclares javax. Returns the type variable corresponding to this type parameter element.
| |
| getBounds | back to summary |
|---|---|
| public List Returns the bounds of this type parameter.
These are the types given by the
| |
| getEnclosingElement | back to summary |
|---|---|
| public Element getEnclosingElement() Redeclares javax. Returns the generic element of this type parameter.
| |
| getGenericElement | back to summary |
|---|---|
| public Element getGenericElement() Returns the generic class, interface, method, or constructor that is parameterized by this type parameter.
| |