changeset 44193:11902232a629

8176482: Use of DirectiveVisitor needs @DefinedBy annotation for RunCodingRules.java Reviewed-by: jlahoda
author darcy
date Thu, 09 Mar 2017 23:42:32 -0800
parents aff725b7874a
children c868c8c24e18
files langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java	Thu Mar 09 18:53:23 2017 -0800
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java	Thu Mar 09 23:42:32 2017 -0800
@@ -334,7 +334,7 @@
                 this.writer = writer;
             }
 
-            @Override
+            @Override @DefinedBy(Api.LANGUAGE_MODEL)
             public Void visitExports(ExportsDirective d, Void p) {
                 // "exports package-name [to module-name-list]"
                 writer.print("exports ");
@@ -343,7 +343,7 @@
                 return null;
             }
 
-            @Override
+            @Override @DefinedBy(Api.LANGUAGE_MODEL)
             public Void visitOpens(OpensDirective d, Void p) {
                 // opens package-name [to module-name-list]
                 writer.print("opens ");
@@ -352,7 +352,7 @@
                 return null;
             }
 
-            @Override
+            @Override @DefinedBy(Api.LANGUAGE_MODEL)
             public Void visitProvides(ProvidesDirective d, Void p) {
                 // provides service-name with implementation-name
                 writer.print("provides ");
@@ -362,7 +362,7 @@
                 return null;
             }
 
-            @Override
+            @Override @DefinedBy(Api.LANGUAGE_MODEL)
             public Void visitRequires(RequiresDirective d, Void p) {
                 // requires (static|transitive)* module-name
                 writer.print("requires ");
@@ -374,7 +374,7 @@
                 return null;
             }
 
-            @Override
+            @Override @DefinedBy(Api.LANGUAGE_MODEL)
             public Void visitUses(UsesDirective d, Void p) {
                 // uses service-name
                 writer.print("uses ");