mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 10:18:46 +00:00
[issue #2092] Add an uppercase option to FieldNameConstants
This commit is contained in:
1 parent
ac0eeacc69
commit
bf0499263b
8 files changed
+80
-11
No files matched your search
@@ -0,0 +1,23 @@
|
||||
import lombok.experimental.FieldNameConstants;
|
||||
import lombok.AccessLevel;
|
||||
public @FieldNameConstants(level = AccessLevel.PACKAGE) class FieldNameConstantsUppercased {
|
||||
static final @java.lang.SuppressWarnings("all") class Fields {
|
||||
public static final java.lang.String I_AM_A_DVD_PLAYER = "iAmADvdPlayer";
|
||||
public static final java.lang.String BUT_PRINT_ME_PLEASE = "butPrintMePlease";
|
||||
<clinit>() {
|
||||
}
|
||||
private @java.lang.SuppressWarnings("all") Fields() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
String iAmADvdPlayer;
|
||||
int $skipMe;
|
||||
static double skipMeToo;
|
||||
@FieldNameConstants.Exclude int andMe;
|
||||
String butPrintMePlease;
|
||||
<clinit>() {
|
||||
}
|
||||
public FieldNameConstantsUppercased() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user