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