提交 c05325c5 编写于 作者: D darcy

7026868: Apply specification changes fro 6505047

Reviewed-by: jjg
上级 d07c8ebe
......@@ -197,11 +197,12 @@ public interface Element {
* <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
......
......@@ -64,9 +64,9 @@ public interface TypeParameterElement extends Element {
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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册