diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-02-14 14:50:38 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-02-14 14:50:38 +0100 |
commit | a6fb86359a53742a549235e73f633f1b85c33bb5 (patch) | |
tree | 8b41b76b67a71d8394f89065bd4c1fdfd265cf6b /test/transform/resource/after-ecj | |
parent | 62d2d737123b7e0ffa5f89043a973f15fde0188f (diff) | |
download | lombok-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-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/WithNested.java | 12 |
1 files changed, 12 insertions, 0 deletions
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; + } + } +} |