aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/javac/handlers/HandlePrintAST.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/lombok/javac/handlers/HandlePrintAST.java')
-rw-r--r--src/lombok/javac/handlers/HandlePrintAST.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lombok/javac/handlers/HandlePrintAST.java b/src/lombok/javac/handlers/HandlePrintAST.java
index aa7b0ab9..77ecd54f 100644
--- a/src/lombok/javac/handlers/HandlePrintAST.java
+++ b/src/lombok/javac/handlers/HandlePrintAST.java
@@ -34,19 +34,19 @@ import lombok.core.AnnotationValues;
import lombok.core.PrintAST;
import lombok.javac.JavacASTVisitor;
import lombok.javac.JavacAnnotationHandler;
-import lombok.javac.JavacAST.Node;
+import lombok.javac.JavacNode;
/**
* Handles the <code>lombok.core.PrintAST</code> annotation for javac.
*/
@ProviderFor(JavacAnnotationHandler.class)
public class HandlePrintAST implements JavacAnnotationHandler<PrintAST> {
- @Override public boolean handle(AnnotationValues<PrintAST> annotation, JCAnnotation ast, Node annotationNode) {
+ @Override public boolean handle(AnnotationValues<PrintAST> annotation, JCAnnotation ast, JavacNode annotationNode) {
PrintStream stream = System.out;
String fileName = annotation.getInstance().outfile();
- if ( fileName.length() > 0 ) try {
+ if (fileName.length() > 0) try {
stream = new PrintStream(new File(fileName));
- } catch ( FileNotFoundException e ) {
+ } catch (FileNotFoundException e) {
Lombok.sneakyThrow(e);
}