mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-03 09:13:36 +00:00
11 lines
202 B
Java
11 lines
202 B
Java
class FieldDefaultsViaConfig1 {
|
|
private final int x;
|
|
private int y;
|
|
FieldDefaultsViaConfig1(int x) {
|
|
this.x = x;
|
|
}
|
|
}
|
|
class FieldDefaultsViaConfig2 {
|
|
final int x = 2;
|
|
protected final int y = 0;
|
|
} |