--- 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