aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/eclipse/TransformEclipseAST.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-06-16 00:11:09 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-06-16 00:11:09 +0200
commitbb4e1db759258b850d3924d84b46b671c89312fa (patch)
tree553a4169acc7c695927fa3e8da113c890f6da1af /src/lombok/eclipse/TransformEclipseAST.java
parent12162391160713e67b5bee7d6b98cfbee54225b8 (diff)
downloadlombok-bb4e1db759258b850d3924d84b46b671c89312fa.tar.gz
lombok-bb4e1db759258b850d3924d84b46b671c89312fa.tar.bz2
lombok-bb4e1db759258b850d3924d84b46b671c89312fa.zip
Added ability to add visitor handlers.
Diffstat (limited to 'src/lombok/eclipse/TransformEclipseAST.java')
-rw-r--r--src/lombok/eclipse/TransformEclipseAST.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lombok/eclipse/TransformEclipseAST.java b/src/lombok/eclipse/TransformEclipseAST.java
index 6847fd94..55cdd822 100644
--- a/src/lombok/eclipse/TransformEclipseAST.java
+++ b/src/lombok/eclipse/TransformEclipseAST.java
@@ -107,8 +107,8 @@ public class TransformEclipseAST {
}
public void go() {
-// if ( ast.getFileName().contains("Foo") ) ast.traverse(new EclipseASTVisitor.EclipseASTPrinter());
ast.traverse(new AnnotationVisitor());
+ handlers.callASTVisitors(ast);
}
private static class AnnotationVisitor extends EclipseASTAdapter {