aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2015-12-02 00:02:35 +0100
committerRoel Spilker <r.spilker@gmail.com>2015-12-02 00:02:35 +0100
commit57578f46ec19abd1b28b2a22c65281cf4831af3d (patch)
treeb1c9a1e856179518349f814f9fd1c9e016a88ef5
parentac319cca87020b779722351f37cc0a9c40b12872 (diff)
downloadlombok-57578f46ec19abd1b28b2a22c65281cf4831af3d.tar.gz
lombok-57578f46ec19abd1b28b2a22c65281cf4831af3d.tar.bz2
lombok-57578f46ec19abd1b28b2a22c65281cf4831af3d.zip
add missing method to SetGeneratedByVisitor
-rw-r--r--src/core/lombok/eclipse/handlers/SetGeneratedByVisitor.java21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/core/lombok/eclipse/handlers/SetGeneratedByVisitor.java b/src/core/lombok/eclipse/handlers/SetGeneratedByVisitor.java
index df839a94..b42761f4 100644
--- a/src/core/lombok/eclipse/handlers/SetGeneratedByVisitor.java
+++ b/src/core/lombok/eclipse/handlers/SetGeneratedByVisitor.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011-2013 The Project Lombok Authors.
+ * Copyright (C) 2011-2015 The Project Lombok Authors.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -369,6 +369,11 @@ public final class SetGeneratedByVisitor extends ASTVisitor {
return super.visit(node, scope);
}
+ @Override public boolean visit(ArrayInitializer node, ClassScope scope) {
+ fixPositions(setGeneratedBy(node, source));
+ return super.visit(node, scope);
+ }
+
@Override public boolean visit(ArrayQualifiedTypeReference node, BlockScope scope) {
fixPositions(setGeneratedBy(node, source));
return super.visit(node, scope);
@@ -928,4 +933,18 @@ public final class SetGeneratedByVisitor extends ASTVisitor {
fixPositions(setGeneratedBy(node, source));
return super.visit(node, scope);
}
+
+// missing methods
+// public boolean visit(MarkerAnnotation node, ClassScope scope){ return true;}
+// public boolean visit(MemberValuePair node, ClassScope scope){ return true;}
+// public boolean visit(NormalAnnotation node, ClassScope scope){ return true;}
+// public boolean visit(SingleMemberAnnotation node, ClassScope scope){ return true;}
+
+// missing methods from later versions
+// public boolean visit(UnionTypeReference node, BlockScope scope){ return true;}
+// public boolean visit(UnionTypeReference node, ClassScope scope){ return true;}
+// public boolean visit(LambdaExpression node, BlockScope scope){ return true;}
+// public boolean visit(ReferenceExpression node, BlockScope scope){ return true;}
+// public boolean visit(IntersectionCastTypeReference node, ClassScope scope){ return true;}
+// public boolean visit(IntersectionCastTypeReference node, BlockScope scope){ return true;}
} \ No newline at end of file