aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/messages-ecj
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2021-10-22 09:54:12 +0200
committerGitHub <noreply@github.com>2021-10-22 09:54:12 +0200
commit341c458f108d4bb207e32c6e61647ca673526a6e (patch)
treef65f76f8c838a73f5f91f8efe0811c6b019857bb /test/transform/resource/messages-ecj
parent13d84b129e562fdc71b049778c3b3bd2376e29a4 (diff)
parent553b25addde4fab136258f7718e274a98bfbe34a (diff)
downloadlombok-341c458f108d4bb207e32c6e61647ca673526a6e.tar.gz
lombok-341c458f108d4bb207e32c6e61647ca673526a6e.tar.bz2
lombok-341c458f108d4bb207e32c6e61647ca673526a6e.zip
Merge pull request #3007 from Rawi01/eclipse-junit
Resolve var/val only once in eclipse
Diffstat (limited to 'test/transform/resource/messages-ecj')
-rw-r--r--test/transform/resource/messages-ecj/ValErrors.java.messages6
-rw-r--r--test/transform/resource/messages-ecj/ValInBasicFor.java.messages6
-rw-r--r--test/transform/resource/messages-ecj/ValInvalidParameter.java.messages9
3 files changed, 17 insertions, 4 deletions
diff --git a/test/transform/resource/messages-ecj/ValErrors.java.messages b/test/transform/resource/messages-ecj/ValErrors.java.messages
index c4c76901..9fcec493 100644
--- a/test/transform/resource/messages-ecj/ValErrors.java.messages
+++ b/test/transform/resource/messages-ecj/ValErrors.java.messages
@@ -1,2 +1,4 @@
-6 d cannot be resolved to a variable
-10 'val' is not compatible with array initializer expressions. Use the full form (new int[] { ... } instead of just { ... })
+7 d cannot be resolved to a variable
+7 d cannot be resolved or is not a field
+11 'val' is not compatible with array initializer expressions. Use the full form (new int[] { ... } instead of just { ... })
+11 Type mismatch: cannot convert from String[] to Object \ No newline at end of file
diff --git a/test/transform/resource/messages-ecj/ValInBasicFor.java.messages b/test/transform/resource/messages-ecj/ValInBasicFor.java.messages
index b32eabe4..00bc643f 100644
--- a/test/transform/resource/messages-ecj/ValInBasicFor.java.messages
+++ b/test/transform/resource/messages-ecj/ValInBasicFor.java.messages
@@ -1,2 +1,4 @@
-7 'val' is not allowed in old-style for loops
-7 Type mismatch: cannot convert from int to val
+8 'val' is not allowed in old-style for loops
+8 Type mismatch: cannot convert from int to val
+8 Type mismatch: cannot convert from String to val
+8 Type mismatch: cannot convert from double to val \ No newline at end of file
diff --git a/test/transform/resource/messages-ecj/ValInvalidParameter.java.messages b/test/transform/resource/messages-ecj/ValInvalidParameter.java.messages
new file mode 100644
index 00000000..cbf2d7c4
--- /dev/null
+++ b/test/transform/resource/messages-ecj/ValInvalidParameter.java.messages
@@ -0,0 +1,9 @@
+5 NonExistingClass cannot be resolved to a type
+6 NonExistingClass cannot be resolved to a type
+7 The method nonExisitingMethod(Integer) is undefined for the type ValInvalidParameter
+8 nonExistingObject cannot be resolved
+9 The method nonExistingMethod() is undefined for the type Integer
+10 NonExistingClass cannot be resolved to a type
+11 The method b2(int, int) in the type ValInvalidParameter is not applicable for the arguments (int)
+12 The method a(String) is ambiguous for the type ValInvalidParameter
+13 The method a(String) is ambiguous for the type ValInvalidParameter \ No newline at end of file