aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/eclipse/EclipseASTAdapter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/lombok/eclipse/EclipseASTAdapter.java')
-rw-r--r--src/lombok/eclipse/EclipseASTAdapter.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/lombok/eclipse/EclipseASTAdapter.java b/src/lombok/eclipse/EclipseASTAdapter.java
new file mode 100644
index 00000000..fa87872f
--- /dev/null
+++ b/src/lombok/eclipse/EclipseASTAdapter.java
@@ -0,0 +1,25 @@
+package lombok.eclipse;
+
+import lombok.eclipse.EclipseAST.Node;
+
+import org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration;
+import org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration;
+import org.eclipse.jdt.internal.compiler.ast.FieldDeclaration;
+import org.eclipse.jdt.internal.compiler.ast.Initializer;
+import org.eclipse.jdt.internal.compiler.ast.LocalDeclaration;
+import org.eclipse.jdt.internal.compiler.ast.TypeDeclaration;
+
+public abstract class EclipseASTAdapter implements EclipseASTVisitor {
+ @Override public void visitCompilationUnit(Node node, CompilationUnitDeclaration unit) {}
+ @Override public void endVisitCompilationUnit(Node node, CompilationUnitDeclaration unit) {}
+ @Override public void visitType(Node node, TypeDeclaration type) {}
+ @Override public void endVisitType(Node node, TypeDeclaration type) {}
+ @Override public void visitInitializer(Node node, Initializer initializer) {}
+ @Override public void endVisitInitializer(Node node, Initializer initializer) {}
+ @Override public void visitField(Node node, FieldDeclaration field) {}
+ @Override public void endVisitField(Node node, FieldDeclaration field) {}
+ @Override public void visitMethod(Node node, AbstractMethodDeclaration declaration) {}
+ @Override public void endVisitMethod(Node node, AbstractMethodDeclaration declaration) {}
+ @Override public void visitLocal(Node node, LocalDeclaration declaration) {}
+ @Override public void endVisitLocal(Node node, LocalDeclaration declaration) {}
+}