diff --git a/langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java b/langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java index 02e8648a99c..8f6d153b71a 100644 --- a/langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java +++ b/langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java @@ -35,8 +35,7 @@ import javax.lang.model.util.*; * type is a kind of class and an annotation type is a kind of * interface. * - *
- * While a {@code TypeElement} represents a class or interface + *
While a {@code TypeElement} represents a class or interface * element, a {@link DeclaredType} represents a class * or interface type, the latter being a use * (or invocation) of the former. diff --git a/langtools/src/java.compiler/share/classes/javax/lang/model/util/Elements.java b/langtools/src/java.compiler/share/classes/javax/lang/model/util/Elements.java index 201c09f2b15..bfa17a38bd5 100644 --- a/langtools/src/java.compiler/share/classes/javax/lang/model/util/Elements.java +++ b/langtools/src/java.compiler/share/classes/javax/lang/model/util/Elements.java @@ -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