aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/LoggerLog4j2.java
diff options
context:
space:
mode:
authorvarkart <44122128+varkart@users.noreply.github.com>2022-02-17 13:06:48 -0500
committervarkart <44122128+varkart@users.noreply.github.com>2022-02-17 13:06:48 -0500
commit401a5bf7f2937f815bdfd47ccda5d6b97363cade (patch)
treec0f8333514b7e6618d40befacf0823d3b68ab318 /test/transform/resource/after-delombok/LoggerLog4j2.java
parent9967246598b32556e04bb326b5e0d415a2e3e6ae (diff)
downloadlombok-401a5bf7f2937f815bdfd47ccda5d6b97363cade.tar.gz
lombok-401a5bf7f2937f815bdfd47ccda5d6b97363cade.tar.bz2
lombok-401a5bf7f2937f815bdfd47ccda5d6b97363cade.zip
[fixes #2990, #3069] log4j2 logger enum test cases
Diffstat (limited to 'test/transform/resource/after-delombok/LoggerLog4j2.java')
-rw-r--r--test/transform/resource/after-delombok/LoggerLog4j2.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/LoggerLog4j2.java b/test/transform/resource/after-delombok/LoggerLog4j2.java
index cba516f2..5db281be 100644
--- a/test/transform/resource/after-delombok/LoggerLog4j2.java
+++ b/test/transform/resource/after-delombok/LoggerLog4j2.java
@@ -15,4 +15,17 @@ class LoggerLog4j2WithStaticField {
@java.lang.SuppressWarnings("all")
private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(LoggerLog4j2WithStaticField.TOPIC);
static final String TOPIC = "StaticField";
+}
+enum LoggerLog4j2WithEnum {
+ CONSTANT;
+ @java.lang.SuppressWarnings("all")
+ private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(LoggerLog4j2WithEnum.class);
+}
+class LoggerLog4j2WithInnerEnum {
+
+ enum Inner {
+ CONSTANT;
+ @java.lang.SuppressWarnings("all")
+ private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(Inner.class);
+ }
} \ No newline at end of file