mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 12:16:49 +00:00
Added tests for @FieldDefaults and @Value.
This commit is contained in:
1 parent
0dbc68a5cc
commit
42f5a55d69
11 files changed
+368
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import lombok.experimental.Value;
|
||||
@lombok.experimental.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;
|
||||
}
|
||||
Reference in new issue
Block a user