aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/LoggerLog4j2.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/LoggerLog4j2.java')
-rw-r--r--test/transform/resource/before/LoggerLog4j2.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/transform/resource/before/LoggerLog4j2.java b/test/transform/resource/before/LoggerLog4j2.java
index c9cf9412..10b3aae5 100644
--- a/test/transform/resource/before/LoggerLog4j2.java
+++ b/test/transform/resource/before/LoggerLog4j2.java
@@ -10,4 +10,9 @@ class LoggerLog4j2WithImport {
@Log4j2(topic="DifferentName")
class LoggerLog4j2WithDifferentName {
+}
+
+@Log4j2(topic=LoggerLog4j2WithStaticField.TOPIC)
+class LoggerLog4j2WithStaticField {
+ static final String TOPIC = "StaticField";
} \ No newline at end of file