aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2022-01-30 00:22:36 +0100
committerRawi01 <Rawi01@users.noreply.github.com>2022-01-30 00:22:36 +0100
commit7af752602af4cab91bb6929c9a9b4d93babd629c (patch)
treec14a63e3cf6d30ae24f4316210bb47c81a08bb49 /test/transform/resource/after-delombok
parent36db0524e4d0f6bc6fa2440b0df2c425c4d130fc (diff)
downloadlombok-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-delombok')
-rw-r--r--test/transform/resource/after-delombok/UtilityClass.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/UtilityClass.java b/test/transform/resource/after-delombok/UtilityClass.java
index 8d3f4c08..1d541b6e 100644
--- a/test/transform/resource/after-delombok/UtilityClass.java
+++ b/test/transform/resource/after-delombok/UtilityClass.java
@@ -2,10 +2,15 @@ final class UtilityClass {
private static long someField = System.currentTimeMillis();
static void someMethod() {
System.out.println();
+ new InnerClass();
+ new InnerStaticClass();
}
protected static class InnerClass {
private String innerInnerMember;
}
+ protected static class InnerStaticClass {
+ private String innerInnerMember;
+ }
@java.lang.SuppressWarnings("all")
private UtilityClass() {
throw new java.lang.UnsupportedOperationException("This is a utility class and cannot be instantiated");