diff options
author | Roel Spilker <r.spilker@gmail.com> | 2010-11-06 16:41:17 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2010-11-06 16:41:17 +0100 |
commit | 0c7b29f8e7009d1433e2386f710c78801f119ebb (patch) | |
tree | 00c83f4ea3113cb07f4ce84cfd957dbc1f66124c /test/transform/resource/after-ecj/LoggerCommons.java | |
parent | a48c335c7d8f1b361b134110219af8b0d3610101 (diff) | |
download | lombok-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/LoggerCommons.java')
-rw-r--r-- | test/transform/resource/after-ecj/LoggerCommons.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/LoggerCommons.java b/test/transform/resource/after-ecj/LoggerCommons.java index 1d21fb66..e5a3bf35 100644 --- a/test/transform/resource/after-ecj/LoggerCommons.java +++ b/test/transform/resource/after-ecj/LoggerCommons.java @@ -1,17 +1,23 @@ @lombok.commons.Log class LoggerCommons { private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommons.class); + <clinit>() { + } LoggerCommons() { super(); } } @lombok.commons.Log(String.class) class LoggerCommonsString { private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(String.class); + <clinit>() { + } LoggerCommonsString() { super(); } } @lombok.commons.Log(java.lang.String.class) class LoggerCommonsJavaLangString { private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(java.lang.String.class); + <clinit>() { + } LoggerCommonsJavaLangString() { super(); } |