--- a/langtools/src/share/classes/javax/lang/model/element/Element.java Thu Mar 10 14:37:52 2011 -0800
+++ b/langtools/src/share/classes/javax/lang/model/element/Element.java Fri Mar 11 14:07:11 2011 -0800
@@ -197,11 +197,12 @@
* <li> If this is a {@linkplain
* PackageElement#getEnclosingElement package}, {@code null} is
* returned.
-
+ *
* <li> If this is a {@linkplain
* TypeParameterElement#getEnclosingElement type parameter},
- * {@code null} is returned.
-
+ * {@linkplain TypeParameterElement#getGenericElement the
+ * generic element} of the type parameter is returned.
+ *
* </ul>
*
* @return the enclosing element, or {@code null} if there is none
--- a/langtools/src/share/classes/javax/lang/model/element/TypeParameterElement.java Thu Mar 10 14:37:52 2011 -0800
+++ b/langtools/src/share/classes/javax/lang/model/element/TypeParameterElement.java Fri Mar 11 14:07:11 2011 -0800
@@ -64,9 +64,9 @@
List<? extends TypeMirror> getBounds();
/**
- * Returns {@code null}.
+ * Returns the {@linkplain TypeParameterElement#getGenericElement generic element} of this type parameter.
*
- * @return {@code null}
+ * @return the generic element of this type parameter
*/
@Override
Element getEnclosingElement();