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