aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/LoggerSlf4jWithClass.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/LoggerSlf4jWithClass.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/LoggerSlf4jWithClass.java')
-rw-r--r--test/transform/resource/after-ecj/LoggerSlf4jWithClass.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/LoggerSlf4jWithClass.java b/test/transform/resource/after-ecj/LoggerSlf4jWithClass.java
index 2839cdef..fbb4b2d2 100644
--- a/test/transform/resource/after-ecj/LoggerSlf4jWithClass.java
+++ b/test/transform/resource/after-ecj/LoggerSlf4jWithClass.java
@@ -1,23 +1,31 @@
@lombok.slf4j.Log(String.class) class LoggerSlf4jWithClass {
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(String.class);
+ <clinit>() {
+ }
LoggerSlf4jWithClass() {
super();
}
}
@lombok.slf4j.Log(java.util.List.class) class LoggerSlf4jWithClassList {
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(java.util.List.class);
+ <clinit>() {
+ }
LoggerSlf4jWithClassList() {
super();
}
}
@lombok.slf4j.Log(value = java.lang.String.class) class LoggerSlf4jWithClassValue {
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(java.lang.String.class);
+ <clinit>() {
+ }
LoggerSlf4jWithClassValue() {
super();
}
}
@lombok.slf4j.Log(void.class) class LoggerSlf4jWithClassVoid {
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jWithClassVoid.class);
+ <clinit>() {
+ }
LoggerSlf4jWithClassVoid() {
super();
}