TypeParameterElementpublic interface TypeParameterElement implements ElementRepresents a formal type parameter of a generic class, interface, method,
or constructor element.
A type parameter declares a {@link TypeVariable}. |
Methods Summary |
---|
public java.util.List | getBounds()Returns the bounds of this type parameter.
These are the types given by the {@code extends} clause
used to declare this type parameter.
If no explicit {@code extends} clause was used,
then {@code java.lang.Object} is considered to be the sole bound.
| public javax.lang.model.element.Element | getGenericElement()Returns the generic class, interface, method, or constructor that is
parameterized by this type parameter.
|
|