mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-06 16:20:00 +00:00
The great rename: the old ‘website’ is now ‘website-old’, and ‘website2’ is now ‘website’.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import lombok.AccessLevel;
|
||||
import lombok.experimental.FieldDefaults;
|
||||
import lombok.experimental.NonFinal;
|
||||
import lombok.experimental.PackagePrivate;
|
||||
|
||||
@FieldDefaults(makeFinal=true, level=AccessLevel.PRIVATE)
|
||||
public class FieldDefaultsExample {
|
||||
public final int a;
|
||||
int b;
|
||||
@NonFinal int c;
|
||||
@PackagePrivate int d;
|
||||
|
||||
FieldDefaultsExample() {
|
||||
a = 0;
|
||||
b = 0;
|
||||
d = 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user