mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 14:16:11 +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,15 @@
|
||||
@lombok.experimental.FieldDefaults(makeFinal = true) class FieldDefaults1 {
|
||||
final int x;
|
||||
@lombok.experimental.NonFinal int y;
|
||||
FieldDefaults1(int x) {
|
||||
super();
|
||||
this.x = x;
|
||||
}
|
||||
}
|
||||
@lombok.experimental.FieldDefaults(level = lombok.AccessLevel.PRIVATE) class FieldDefaults2 {
|
||||
@lombok.experimental.PackagePrivate int x;
|
||||
private int y;
|
||||
FieldDefaults2() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user