diff options
Diffstat (limited to 'src/lombok/javac/apt')
-rw-r--r-- | src/lombok/javac/apt/Processor.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lombok/javac/apt/Processor.java b/src/lombok/javac/apt/Processor.java index 8558a0ba..52b3703a 100644 --- a/src/lombok/javac/apt/Processor.java +++ b/src/lombok/javac/apt/Processor.java @@ -56,10 +56,16 @@ public class Processor extends AbstractProcessor { for ( JCCompilationUnit unit : units.keySet() ) asts.add(new JavacAST(trees, processingEnv, unit)); + handlers.skipPrintAST(); for ( JavacAST ast : asts ) { ast.traverse(new AnnotationVisitor()); handlers.callASTVisitors(ast); } + + handlers.skipAllButPrintAST(); + for ( JavacAST ast : asts ) { + ast.traverse(new AnnotationVisitor()); + } return false; } |