< prev index next >
src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java
Print this page
@@ -88,11 +88,11 @@
}
/**
* Used for the -Xprint option and called by Elements.printElements
*/
- @SuppressWarnings("removal")
+ @SuppressWarnings("preview")
public static class PrintingElementVisitor
extends SimpleElementVisitor14<PrintingElementVisitor, Boolean> {
int indentation; // Indentation level;
final PrintWriter writer;
final Elements elementUtils;
@@ -112,11 +112,11 @@
printModifiers(e);
return this;
}
@Override @DefinedBy(Api.LANGUAGE_MODEL)
- @SuppressWarnings("removal")
+ @SuppressWarnings("preview")
public PrintingElementVisitor visitRecordComponent(RecordComponentElement e, Boolean p) {
// Do nothing; printing of component information done by
// printing the record type itself
return this;
}
< prev index next >