aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
authorvarkart <44122128+varkart@users.noreply.github.com>2022-02-17 13:06:20 -0500
committervarkart <44122128+varkart@users.noreply.github.com>2022-02-17 13:06:20 -0500
commit9967246598b32556e04bb326b5e0d415a2e3e6ae (patch)
tree2ea9bbaee524a5f6488d2a9108980238107ce1d5 /test/transform/resource/after-delombok
parent0f3cff22881cd2e95e9f71f71cac571d1d23be47 (diff)
downloadlombok-9967246598b32556e04bb326b5e0d415a2e3e6ae.tar.gz
lombok-9967246598b32556e04bb326b5e0d415a2e3e6ae.tar.bz2
lombok-9967246598b32556e04bb326b5e0d415a2e3e6ae.zip
[fixes #2990, #3069] log4j logger enum test cases
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/LoggerLog4j.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/LoggerLog4j.java b/test/transform/resource/after-delombok/LoggerLog4j.java
index cef83621..c07e14fa 100644
--- a/test/transform/resource/after-delombok/LoggerLog4j.java
+++ b/test/transform/resource/after-delombok/LoggerLog4j.java
@@ -15,3 +15,16 @@ class LoggerLog4jWithStaticField {
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4jWithStaticField.TOPIC);
static final String TOPIC = "StaticField";
}
+enum LoggerLog4jWithEnum {
+ CONSTANT;
+ @java.lang.SuppressWarnings("all")
+ private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4jWithEnum.class);
+}
+class LoggerLog4jWithInnerEnum {
+
+ enum Inner {
+ CONSTANT;
+ @java.lang.SuppressWarnings("all")
+ private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(Inner.class);
+ }
+}