< prev index next >
src/java.compiler/share/classes/javax/lang/model/element/TypeParameterElement.java
Print this page
*** 39,48 ****
--- 39,57 ----
* @author Peter von der Ahé
* @see TypeVariable
* @since 1.6
*/
public interface TypeParameterElement extends Element {
+ /**
+ * Returns the {@linkplain TypeVariable type variable} corresponding to this type parameter element.
+ *
+ * @see TypeVariable
+ *
+ * @return the type variable corresponding to this type parameter element
+ */
+ @Override
+ TypeMirror asType();
/**
* Returns the generic class, interface, method, or constructor that is
* parameterized by this type parameter.
*
< prev index next >