aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-02-14 14:50:38 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-02-14 14:50:38 +0100
commita6fb86359a53742a549235e73f633f1b85c33bb5 (patch)
tree8b41b76b67a71d8394f89065bd4c1fdfd265cf6b /test/transform/resource/after-delombok
parent62d2d737123b7e0ffa5f89043a973f15fde0188f (diff)
downloadlombok-a6fb86359a53742a549235e73f633f1b85c33bb5.tar.gz
lombok-a6fb86359a53742a549235e73f633f1b85c33bb5.tar.bz2
lombok-a6fb86359a53742a549235e73f633f1b85c33bb5.zip
[issue #2369] [reproduction-test] inner types not detected as static if in interface/enum.
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/WithNested.java13
1 files changed, 13 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);
+ }
+ }
+}