8173164: Resolve remaining HTML5 issues in javax.lang.model.*

Reviewed-by: martin
This commit is contained in:
Joe Darcy 2017-01-23 10:37:27 -08:00
parent 4141792982
commit 7caafc69f1
2 changed files with 7 additions and 4 deletions

View File

@ -35,8 +35,7 @@ import javax.lang.model.util.*;
* type is a kind of class and an annotation type is a kind of
* interface.
*
* <p> <a name="ELEM_VS_TYPE"></a>
* While a {@code TypeElement} represents a class or interface
* <p> While a {@code TypeElement} represents a class or interface
* <i>element</i>, a {@link DeclaredType} represents a class
* or interface <i>type</i>, the latter being a use
* (or <i>invocation</i>) of the former.

View File

@ -91,7 +91,9 @@ public interface Elements {
* If the named module cannot be found, null is returned. One situation where a module
* cannot be found is if the environment does not include modules, such as
* an annotation processing environment configured for
* a {@linkplain ProcessingEnvironment#getSourceVersion source version} without modules. *
* a {@linkplain
* javax.annotation.processing.ProcessingEnvironment#getSourceVersion
* source version} without modules.
*
* @param name the name
* @return the named module element, or {@code null} if it cannot be found
@ -331,7 +333,9 @@ public interface Elements {
* If there is no module for the element, null is returned. One situation where there is
* no module for an element is if the environment does not include modules, such as
* an annotation processing environment configured for
* a {@linkplain ProcessingEnvironment#getSourceVersion source version} without modules. *
* a {@linkplain
* javax.annotation.processing.ProcessingEnvironment#getSourceVersion
* source version} without modules.
*
* @param type the element being examined
* @return the module of an element