mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-20 02:17:52 +00:00
Create Clinit if you create a static field and it doesn't yet exist
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user