aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/transform/resource/after-delombok/WithNested.java13
-rw-r--r--test/transform/resource/after-ecj/WithNested.java12
-rw-r--r--test/transform/resource/before/WithNested.java7
3 files changed, 32 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/WithNested.java b/test/transform/resource/after-delombok/WithNested.java
new file mode 100644
index 00000000..27b65577
--- /dev/null
+++ b/test/transform/resource/after-delombok/WithNested.java
@@ -0,0 +1,13 @@
+public interface WithNested<Z> {
+ class IAmStaticReally {
+ final String x;
+ @java.lang.SuppressWarnings("all")
+ public IAmStaticReally(final String x) {
+ this.x = x;
+ }
+ @java.lang.SuppressWarnings("all")
+ public WithNested.IAmStaticReally withX(final String x) {
+ return this.x == x ? this : new WithNested.IAmStaticReally(x);
+ }
+ }
+}
diff --git a/test/transform/resource/after-ecj/WithNested.java b/test/transform/resource/after-ecj/WithNested.java
new file mode 100644
index 00000000..55f6edb2
--- /dev/null
+++ b/test/transform/resource/after-ecj/WithNested.java
@@ -0,0 +1,12 @@
+public interface WithNested<Z> {
+ @lombok.RequiredArgsConstructor class IAmStaticReally {
+ final @lombok.With String x;
+ public @java.lang.SuppressWarnings("all") WithNested.IAmStaticReally withX(final String x) {
+ return ((this.x == x) ? this : new WithNested.IAmStaticReally(x));
+ }
+ public @java.lang.SuppressWarnings("all") IAmStaticReally(final String x) {
+ super();
+ this.x = x;
+ }
+ }
+}
diff --git a/test/transform/resource/before/WithNested.java b/test/transform/resource/before/WithNested.java
new file mode 100644
index 00000000..782821fc
--- /dev/null
+++ b/test/transform/resource/before/WithNested.java
@@ -0,0 +1,7 @@
+public interface WithNested<Z> {
+ @lombok.RequiredArgsConstructor
+ class IAmStaticReally {
+ @lombok.With final String x;
+ }
+}
+