aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/LoggerLog4j.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2010-11-06 16:41:17 +0100
committerRoel Spilker <r.spilker@gmail.com>2010-11-06 16:41:17 +0100
commit0c7b29f8e7009d1433e2386f710c78801f119ebb (patch)
tree00c83f4ea3113cb07f4ce84cfd957dbc1f66124c /test/transform/resource/after-ecj/LoggerLog4j.java
parenta48c335c7d8f1b361b134110219af8b0d3610101 (diff)
downloadlombok-0c7b29f8e7009d1433e2386f710c78801f119ebb.tar.gz
lombok-0c7b29f8e7009d1433e2386f710c78801f119ebb.tar.bz2
lombok-0c7b29f8e7009d1433e2386f710c78801f119ebb.zip
Create Clinit if you create a static field and it doesn't yet exist
Diffstat (limited to 'test/transform/resource/after-ecj/LoggerLog4j.java')
-rw-r--r--test/transform/resource/after-ecj/LoggerLog4j.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/LoggerLog4j.java b/test/transform/resource/after-ecj/LoggerLog4j.java
index 27ad6b9c..64445b96 100644
--- a/test/transform/resource/after-ecj/LoggerLog4j.java
+++ b/test/transform/resource/after-ecj/LoggerLog4j.java
@@ -1,17 +1,23 @@
@lombok.log4j.Log class LoggerLog4j {
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4j.class);
+ <clinit>() {
+ }
LoggerLog4j() {
super();
}
}
@lombok.log4j.Log(String.class) class LoggerLog4jString {
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(String.class);
+ <clinit>() {
+ }
LoggerLog4jString() {
super();
}
}
@lombok.log4j.Log(java.lang.String.class) class LoggerLog4jJavaLangString {
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(java.lang.String.class);
+ <clinit>() {
+ }
LoggerLog4jJavaLangString() {
super();
}