diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-24 01:23:10 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-24 01:23:10 +0200 |
commit | 6d425594176e8493ecec4d5e958a2dcbd611eeb1 (patch) | |
tree | 08c86f7b155949b1f7ab9fc59b0a8fa288868f55 /src/lombok/javac/apt | |
parent | c346b5c0546364e1721d0eda37ea5b465a20de0d (diff) | |
download | lombok-6d425594176e8493ecec4d5e958a2dcbd611eeb1.tar.gz lombok-6d425594176e8493ecec4d5e958a2dcbd611eeb1.tar.bz2 lombok-6d425594176e8493ecec4d5e958a2dcbd611eeb1.zip |
Work on HandleData, as well as generalizing features in the the PKG class and updating HandleGetter/Setter to call into it.
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; } |