// version 14: import lombok.experimental.FieldNameConstants; import lombok.AccessLevel; public @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"; () { } 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; () { } public FieldNameConstantsOnRecord(String iAmADvdPlayer, int $skipMe, int andMe, String butPrintMePlease) { super(); .iAmADvdPlayer = iAmADvdPlayer; .$skipMe = $skipMe; .andMe = andMe; .butPrintMePlease = butPrintMePlease; } }