Skip to content

Commit a280182

Browse files
committed
8258060: Update @jls tags for renamed/renumbered sections
Reviewed-by: jjg, abuckley
1 parent bacf22b commit a280182

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

src/java.compiler/share/classes/javax/annotation/processing/RoundEnvironment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public interface RoundEnvironment {
109109
* annotation types, or an empty set if there are none
110110
* @throws IllegalArgumentException if the any elements of the
111111
* argument set do not represent an annotation type
112-
* @jls 9.6.3 Repeatable Annotation Types
112+
* @jls 9.6.3 Repeatable Annotation Interfaces
113113
* @since 9
114114
*/
115115
default Set<? extends Element> getElementsAnnotatedWithAny(TypeElement... annotations){
@@ -191,7 +191,7 @@ default Set<? extends Element> getElementsAnnotatedWithAny(TypeElement... annota
191191
* annotation types, or an empty set if there are none
192192
* @throws IllegalArgumentException if the any elements of the
193193
* argument set do not represent an annotation type
194-
* @jls 9.6.3 Repeatable Annotation Types
194+
* @jls 9.6.3 Repeatable Annotation Interfaces
195195
*
196196
* @see javax.lang.model.AnnotatedConstruct#getAnnotation(Class)
197197
* @see javax.lang.model.AnnotatedConstruct#getAnnotationsByType(Class)

src/java.compiler/share/classes/javax/lang/model/AnnotatedConstruct.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@
129129
* </ul>
130130
*
131131
* @since 1.8
132-
* @jls 9.6 Annotation Types
132+
* @jls 9.6 Annotation Interfaces
133133
* @jls 9.6.4.3 {@code @Inherited}
134134
* @jls 9.7.4 Where Annotations May Appear
135-
* @jls 9.7.5 Multiple Annotations of the Same Type
135+
* @jls 9.7.5 Multiple Annotations of the Same Interface
136136
*/
137137
public interface AnnotatedConstruct {
138138
/**
@@ -184,7 +184,7 @@ public interface AnnotatedConstruct {
184184
* @see IncompleteAnnotationException
185185
* @see MirroredTypeException
186186
* @see MirroredTypesException
187-
* @jls 9.6.1 Annotation Type Elements
187+
* @jls 9.6.1 Annotation Interface Elements
188188
*/
189189
<A extends Annotation> A getAnnotation(Class<A> annotationType);
190190

@@ -244,8 +244,8 @@ public interface AnnotatedConstruct {
244244
* @see IncompleteAnnotationException
245245
* @see MirroredTypeException
246246
* @see MirroredTypesException
247-
* @jls 9.6 Annotation Types
248-
* @jls 9.6.1 Annotation Type Elements
247+
* @jls 9.6 Annotation Interfaces
248+
* @jls 9.6.1 Annotation Interface Elements
249249
*/
250250
<A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType);
251251
}

src/java.compiler/share/classes/javax/lang/model/element/Element.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public interface Element extends javax.lang.model.AnnotatedConstruct {
229229
* @see ModuleElement#getEnclosedElements
230230
* @see Elements#getAllMembers
231231
* @jls 8.8.9 Default Constructor
232-
* @jls 8.9 Enum Types
232+
* @jls 8.9 Enum Classes
233233
* @revised 9
234234
*/
235235
List<? extends Element> getEnclosedElements();

src/java.compiler/share/classes/javax/lang/model/element/NestingKind.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public enum NestingKind {
9191
/**
9292
* A class or interface that is a named member of another class or
9393
* interface.
94-
* @jls 8.5 Member Type Declarations
94+
* @jls 8.5 Member Class and Interface Declarations
9595
*/
9696
MEMBER,
9797

src/java.compiler/share/classes/javax/lang/model/element/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
* @jls 8.1 Class Declarations
117117
* @jls 8.3 Field Declarations
118118
* @jls 8.4 Method Declarations
119-
* @jls 8.5 Member Type Declarations
119+
* @jls 8.5 Member Class and Interface Declarations
120120
* @jls 8.8 Constructor Declarations
121121
* @jls 9.1 Interface Declarations
122122
* @since 1.6

src/java.compiler/share/classes/javax/lang/model/util/Elements.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ default Origin getOrigin(Element e) {
354354
* @param c the construct the annotation mirror modifies
355355
* @param a the annotation mirror being examined
356356
* @jls 9.6.3 Repeatable Annotation Types
357-
* @jls 9.7.5 Multiple Annotations of the Same Type
357+
* @jls 9.7.5 Multiple Annotations of the Same Interface
358358
* @since 9
359359
*/
360360
default Origin getOrigin(AnnotatedConstruct c,
@@ -428,7 +428,7 @@ public enum Origin {
428428
* @jls 8.8.9 Default Constructor
429429
* @jls 8.9.3 Enum Members
430430
* @jls 9.6.3 Repeatable Annotation Types
431-
* @jls 9.7.5 Multiple Annotations of the Same Type
431+
* @jls 9.7.5 Multiple Annotations of the Same Interface
432432
*/
433433
MANDATED,
434434

0 commit comments

Comments
 (0)