mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-27 16:23:35 +00:00
13 lines
232 B
Java
13 lines
232 B
Java
import lombok.Value;
|
|
@lombok.Value class Value1 {
|
|
final int x;
|
|
String name;
|
|
}
|
|
@Value @lombok.experimental.NonFinal class Value2 {
|
|
public int x;
|
|
String name;
|
|
}
|
|
@Value class Value3 {
|
|
@lombok.experimental.NonFinal int x;
|
|
int y;
|
|
} |