diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2022-01-30 00:22:36 +0100 |
---|---|---|
committer | Rawi01 <Rawi01@users.noreply.github.com> | 2022-01-30 00:22:36 +0100 |
commit | 7af752602af4cab91bb6929c9a9b4d93babd629c (patch) | |
tree | c14a63e3cf6d30ae24f4316210bb47c81a08bb49 /test/transform/resource/after-ecj/UtilityClass.java | |
parent | 36db0524e4d0f6bc6fa2440b0df2c425c4d130fc (diff) | |
download | lombok-7af752602af4cab91bb6929c9a9b4d93babd629c.tar.gz lombok-7af752602af4cab91bb6929c9a9b4d93babd629c.tar.bz2 lombok-7af752602af4cab91bb6929c9a9b4d93babd629c.zip |
[fixes #3097] Update inner class type when creating a static class
Diffstat (limited to 'test/transform/resource/after-ecj/UtilityClass.java')
-rw-r--r-- | test/transform/resource/after-ecj/UtilityClass.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/UtilityClass.java b/test/transform/resource/after-ecj/UtilityClass.java index 656c0184..1db3d540 100644 --- a/test/transform/resource/after-ecj/UtilityClass.java +++ b/test/transform/resource/after-ecj/UtilityClass.java @@ -5,11 +5,19 @@ final @lombok.experimental.UtilityClass class UtilityClass { super(); } } + protected static class InnerStaticClass { + private String innerInnerMember; + protected InnerStaticClass() { + super(); + } + } private static long someField = System.currentTimeMillis(); <clinit>() { } static void someMethod() { System.out.println(); + new InnerClass(); + new InnerStaticClass(); } private @java.lang.SuppressWarnings("all") UtilityClass() { super(); |