mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 22:15:11 +00:00
Add record support
This commit is contained in:
1 parent
9148294f78
commit
0064c53427
120 files changed
+1168
-141
No files matched your search
@@ -0,0 +1,27 @@
|
||||
import lombok.experimental.FieldNameConstants;
|
||||
import lombok.AccessLevel;
|
||||
@FieldNameConstants(level = AccessLevel.PACKAGE) record FieldNameConstantsOnRecord(String iAmADvdPlayer, int $skipMe, int andMe, String butPrintMePlease) {
|
||||
static final @java.lang.SuppressWarnings("all") class Fields {
|
||||
public static final java.lang.String iAmADvdPlayer = "iAmADvdPlayer";
|
||||
public static final java.lang.String butPrintMePlease = "butPrintMePlease";
|
||||
<clinit>() {
|
||||
}
|
||||
private @java.lang.SuppressWarnings("all") Fields() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
/* Implicit */ private final String iAmADvdPlayer;
|
||||
/* Implicit */ private final int $skipMe;
|
||||
/* Implicit */ private final int andMe;
|
||||
/* Implicit */ private final String butPrintMePlease;
|
||||
static double skipMeToo;
|
||||
<clinit>() {
|
||||
}
|
||||
public FieldNameConstantsOnRecord(String iAmADvdPlayer, int $skipMe, int andMe, String butPrintMePlease) {
|
||||
super();
|
||||
.iAmADvdPlayer = iAmADvdPlayer;
|
||||
.$skipMe = $skipMe;
|
||||
.andMe = andMe;
|
||||
.butPrintMePlease = butPrintMePlease;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user