aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/LoggerSlf4j.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/LoggerSlf4j.java')
-rw-r--r--test/transform/resource/after-delombok/LoggerSlf4j.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/LoggerSlf4j.java b/test/transform/resource/after-delombok/LoggerSlf4j.java
index 68d685f0..70f11ae4 100644
--- a/test/transform/resource/after-delombok/LoggerSlf4j.java
+++ b/test/transform/resource/after-delombok/LoggerSlf4j.java
@@ -17,3 +17,20 @@ class LoggerSlf4jWithDifferentLoggerName {
@java.lang.SuppressWarnings("all")
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger("DifferentLogger");
}
+
+class LoggerSlf4jWithStaticField {
+ @java.lang.SuppressWarnings("all")
+ private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jWithStaticField.TOPIC);
+ static final String TOPIC = "StaticField";
+}
+
+class LoggerSlf4jWithTwoStaticFields {
+ @java.lang.SuppressWarnings("all")
+ private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jWithTwoStaticFields.TOPIC + LoggerSlf4jWithTwoStaticFields.TOPIC);
+ static final String TOPIC = "StaticField";
+}
+
+class LoggerSlf4jWithTwoLiterals {
+ @java.lang.SuppressWarnings("all")
+ private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger("A" + "B");
+} \ No newline at end of file