aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/UtilityClass.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2022-01-30 07:01:04 +0100
committerGitHub <noreply@github.com>2022-01-30 07:01:04 +0100
commit1ba5fe86aa21f0e3fbbabeb6e91152e89bfee2d5 (patch)
tree1b3d290890f251c27233bad0df12d7e4ee5fcc0b /test/transform/resource/after-delombok/UtilityClass.java
parent87b03036e723dafe7f343fd735a447515b7e5627 (diff)
parent7af752602af4cab91bb6929c9a9b4d93babd629c (diff)
downloadlombok-1ba5fe86aa21f0e3fbbabeb6e91152e89bfee2d5.tar.gz
lombok-1ba5fe86aa21f0e3fbbabeb6e91152e89bfee2d5.tar.bz2
lombok-1ba5fe86aa21f0e3fbbabeb6e91152e89bfee2d5.zip
Merge pull request #3101 from Rawi01/utilityclass-inner
Update inner class type when creating a static class
Diffstat (limited to 'test/transform/resource/after-delombok/UtilityClass.java')
-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");