mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 16:14:46 +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,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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user