mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 10:15:53 +00:00
FieldNameConstants now defaults to having a prefix ‘FIELD_’, which can be configured both on the annotation itself and via a config key. This totally breaks compatibility with the previous lombok release, but, hey, it’s in experimental and it’s been one week. This is better.
This commit is contained in:
1 parent
fb5a553014
commit
b8e85f5dc7
16 files changed
+97
-29
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import lombok.experimental.FieldNameConstants;
|
||||
import lombok.AccessLevel;
|
||||
public @FieldNameConstants class FieldNameConstantsBasic {
|
||||
public static final java.lang.String BUT_PRINT_ME_PLEASE = "butPrintMePlease";
|
||||
protected static final java.lang.String I_AM_A_DVD_PLAYER = "iAmADvdPlayer";
|
||||
public static final java.lang.String FIELD_BUT_PRINT_ME_PLEASE = "butPrintMePlease";
|
||||
protected static final java.lang.String FIELD_I_AM_A_DVD_PLAYER = "iAmADvdPlayer";
|
||||
@FieldNameConstants(level = AccessLevel.PROTECTED) String iAmADvdPlayer;
|
||||
int $skipMe;
|
||||
static double skipMeToo;
|
||||
|
||||
Reference in new issue
Block a user