--- old/src/share/classes/javax/lang/model/element/Element.java 2011-03-11 10:33:46.000000000 -0800
+++ new/src/share/classes/javax/lang/model/element/Element.java 2011-03-11 10:33:46.000000000 -0800
@@ -197,11 +197,12 @@
*
If this is a {@linkplain
* PackageElement#getEnclosingElement package}, {@code null} is
* returned.
-
+ *
* 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.
+ *
*
*
* @return the enclosing element, or {@code null} if there is none
--- old/src/share/classes/javax/lang/model/element/TypeParameterElement.java 2011-03-11 10:33:47.000000000 -0800
+++ new/src/share/classes/javax/lang/model/element/TypeParameterElement.java 2011-03-11 10:33:47.000000000 -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();