mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 02:17:12 +00:00
Generate default no-args constructor
This commit is contained in:
1 parent
4fb9c6f7f8
commit
6045c1b8f5
31 files changed
+383
-18
No files matched your search
@@ -0,0 +1,12 @@
|
||||
//CONF: lombok.noArgsConstructor.extraPrivate = false
|
||||
public class NoPrivateNoArgsConstructor {
|
||||
@lombok.Data
|
||||
public static class NoPrivateNoArgsConstructorData {
|
||||
private final int i;
|
||||
}
|
||||
|
||||
@lombok.Value
|
||||
public static class NoPrivateNoArgsConstructorValue {
|
||||
int i;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user