changeset 980:46ed58a098ad

7026868: Apply specification changes fro 6505047 Reviewed-by: jjg
author darcy
date Fri, 11 Mar 2011 14:07:11 -0800
parents da10d62990a7
children b60754fe206d
files src/share/classes/javax/lang/model/element/Element.java src/share/classes/javax/lang/model/element/TypeParameterElement.java
diffstat 2 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/lang/model/element/Element.java	Thu Mar 10 14:37:52 2011 -0800
+++ b/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/src/share/classes/javax/lang/model/element/TypeParameterElement.java	Thu Mar 10 14:37:52 2011 -0800
+++ b/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();