Create Clinit if you create a static field and it doesn't yet exist

This commit is contained in:
Roel Spilker committed 2010-11-06 16:41:17 +01:00
1 parent a48c335c7d
commit 0c7b29f8e7
10 files changed
+57

No files matched your search

@@ -1,6 +1,8 @@
package before;
@lombok.slf4j.Log class LoggerSlf4jWithPackage {
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(before.LoggerSlf4jWithPackage.class);
<clinit>() {
}
LoggerSlf4jWithPackage() {
super();
}
@@ -8,6 +10,8 @@ package before;
class LoggerSlf4jWithPackageOuter {
static @lombok.slf4j.Log class Inner {
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(before.LoggerSlf4jWithPackageOuter.Inner.class);
<clinit>() {
}
Inner() {
super();
}