aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-eclipse
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-eclipse')
-rw-r--r--test/transform/resource/after-eclipse/GetterAlreadyExists.java6
-rw-r--r--test/transform/resource/after-eclipse/ValOutersWithGenerics.java25
2 files changed, 28 insertions, 3 deletions
diff --git a/test/transform/resource/after-eclipse/GetterAlreadyExists.java b/test/transform/resource/after-eclipse/GetterAlreadyExists.java
index 257457bb..d5bb7e60 100644
--- a/test/transform/resource/after-eclipse/GetterAlreadyExists.java
+++ b/test/transform/resource/after-eclipse/GetterAlreadyExists.java
@@ -166,7 +166,7 @@ class Getter16 {
super();
}
static String hasFoo() {
- return false;
+ return "";
}
}
class Getter17 {
@@ -178,7 +178,7 @@ class Getter17 {
super();
}
static String isFoo() {
- return false;
+ return "";
}
}
class Getter18 {
@@ -187,6 +187,6 @@ class Getter18 {
super();
}
static String getFoo() {
- return false;
+ return "";
}
}
diff --git a/test/transform/resource/after-eclipse/ValOutersWithGenerics.java b/test/transform/resource/after-eclipse/ValOutersWithGenerics.java
new file mode 100644
index 00000000..c86d7767
--- /dev/null
+++ b/test/transform/resource/after-eclipse/ValOutersWithGenerics.java
@@ -0,0 +1,25 @@
+import java.util.*;
+import lombok.val;
+public class ValOutersWithGenerics<Z> {
+ class Inner {
+ Inner() {
+ super();
+ }
+ }
+ static class SubClass extends ValOutersWithGenerics<String> {
+ SubClass() {
+ super();
+ }
+ public void testSubClassOfOutersWithGenerics() {
+ List<Inner> list = new ArrayList<Inner>();
+ final ValOutersWithGenerics<java.lang.String>.Inner elem = list.get(0);
+ }
+ }
+ public ValOutersWithGenerics() {
+ super();
+ }
+ public void testOutersWithGenerics() {
+ List<Inner> list = new ArrayList<Inner>();
+ final ValOutersWithGenerics<Z>.Inner elem = list.get(0);
+ }
+}