mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-19 04:16:15 +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.log4j.Log class LoggerLog4j {
|
||||
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4j.class);
|
||||
<clinit>() {
|
||||
}
|
||||
LoggerLog4j() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
@lombok.log4j.Log(String.class) class LoggerLog4jString {
|
||||
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(String.class);
|
||||
<clinit>() {
|
||||
}
|
||||
LoggerLog4jString() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
@lombok.log4j.Log(java.lang.String.class) class LoggerLog4jJavaLangString {
|
||||
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(java.lang.String.class);
|
||||
<clinit>() {
|
||||
}
|
||||
LoggerLog4jJavaLangString() {
|
||||
super();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user