aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/LoggerLog4j2.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/LoggerLog4j2.java')
-rw-r--r--test/transform/resource/after-ecj/LoggerLog4j2.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/LoggerLog4j2.java b/test/transform/resource/after-ecj/LoggerLog4j2.java
index c2fcd428..88def98d 100644
--- a/test/transform/resource/after-ecj/LoggerLog4j2.java
+++ b/test/transform/resource/after-ecj/LoggerLog4j2.java
@@ -22,4 +22,13 @@ import lombok.extern.log4j.Log4j2;
LoggerLog4j2WithDifferentName() {
super();
}
+}
+@Log4j2(topic = LoggerLog4j2WithStaticField.TOPIC) class LoggerLog4j2WithStaticField {
+ private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(LoggerLog4j2WithStaticField.TOPIC);
+ static final String TOPIC = "StaticField";
+ <clinit>() {
+ }
+ LoggerLog4j2WithStaticField() {
+ super();
+ }
} \ No newline at end of file