OpenJDK / portola / portola
changeset 44018:d7e24dd75175
8175786: Fix small doc issues
Reviewed-by: jjg, jlahoda
author | darcy |
---|---|
date | Thu, 23 Feb 2017 13:28:55 -0800 |
parents | 2bcd5b46cfe5 |
children | 284fa2ebd030 |
files | langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java langtools/src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor6.java langtools/src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor6.java langtools/test/tools/javac/processing/model/util/types/TestPseudoTypeHandling.java |
diffstat | 4 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java Thu Feb 23 17:30:09 2017 +0000 +++ b/langtools/src/java.compiler/share/classes/javax/lang/model/element/TypeElement.java Thu Feb 23 13:28:55 2017 -0800 @@ -75,8 +75,9 @@ * originating source of information about the type. For example, * if the information about the type is originating from a source * file, the elements will be returned in source code order. - * (However, in that case the the ordering of elements, such as a - * default constructor, is not specified.) + * (However, in that case the the ordering of {@linkplain + * Elements.Origin#MANDATED implicitly declared} elements, such as + * default constructors, is not specified.) * * @return the enclosed elements in proper order, or an empty list if none *
--- a/langtools/src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor6.java Thu Feb 23 17:30:09 2017 +0000 +++ b/langtools/src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor6.java Thu Feb 23 13:28:55 2017 -0800 @@ -79,9 +79,9 @@ protected AbstractAnnotationValueVisitor6() {} /** - * Visits an annotation value as if by passing itself to that + * Visits any annotation value as if by passing itself to that * value's {@link AnnotationValue#accept accept}. The invocation - * {@code v.visit(av)} is equivalent to {@code av.accept(v, p)}. + * {@code v.visit(av, p)} is equivalent to {@code av.accept(v, p)}. * @param av {@inheritDoc} * @param p {@inheritDoc} */
--- a/langtools/src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor6.java Thu Feb 23 17:30:09 2017 +0000 +++ b/langtools/src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor6.java Thu Feb 23 13:28:55 2017 -0800 @@ -81,7 +81,7 @@ /** * Visits any program element as if by passing itself to that * element's {@link Element#accept accept} method. The invocation - * {@code v.visit(elem)} is equivalent to {@code elem.accept(v, + * {@code v.visit(elem, p)} is equivalent to {@code elem.accept(v, * p)}. * * @param e the element to visit
--- a/langtools/test/tools/javac/processing/model/util/types/TestPseudoTypeHandling.java Thu Feb 23 17:30:09 2017 +0000 +++ b/langtools/test/tools/javac/processing/model/util/types/TestPseudoTypeHandling.java Thu Feb 23 13:28:55 2017 -0800 @@ -24,7 +24,7 @@ /* * @test * @bug 8175335 - * @summary Test Elements.getPackageOf + * @summary Test Types methods on module and package TypeMirrors * @author Joseph D. Darcy * @library /tools/javac/lib * @modules jdk.compiler