mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 14:17:48 +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
@@ -19,6 +19,8 @@ class SynchronizedPlain1 {
|
||||
}
|
||||
class SynchronizedPlain2 {
|
||||
private static final @java.lang.SuppressWarnings("all") java.lang.Object $LOCK = new java.lang.Object[0];
|
||||
<clinit>() {
|
||||
}
|
||||
SynchronizedPlain2() {
|
||||
super();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user