aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/LoggerSlf4j.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/LoggerSlf4j.java')
-rw-r--r--test/transform/resource/before/LoggerSlf4j.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/transform/resource/before/LoggerSlf4j.java b/test/transform/resource/before/LoggerSlf4j.java
index 1113a63e..3f8284e8 100644
--- a/test/transform/resource/before/LoggerSlf4j.java
+++ b/test/transform/resource/before/LoggerSlf4j.java
@@ -17,4 +17,18 @@ class LoggerSlf4jOuter {
@Slf4j(topic="DifferentLogger")
class LoggerSlf4jWithDifferentLoggerName {
+}
+
+@Slf4j(topic=LoggerSlf4jWithStaticField.TOPIC)
+class LoggerSlf4jWithStaticField {
+ static final String TOPIC = "StaticField";
+}
+
+@Slf4j(topic=LoggerSlf4jWithTwoStaticFields.TOPIC + LoggerSlf4jWithTwoStaticFields.TOPIC)
+class LoggerSlf4jWithTwoStaticFields {
+ static final String TOPIC = "StaticField";
+}
+
+@Slf4j(topic="A"+"B")
+class LoggerSlf4jWithTwoLiterals {
} \ No newline at end of file