mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 04:15:06 +00:00
code impl of FieldNameConstants rewrite + test updates for it
This commit is contained in:
1 parent
61fbd4a7f8
commit
3d432c38d0
18 files changed
+277
-181
No files matched your search
@@ -1,15 +1,23 @@
|
||||
import lombok.experimental.FieldNameConstants;
|
||||
import lombok.AccessLevel;
|
||||
public @FieldNameConstants class FieldNameConstantsBasic {
|
||||
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;
|
||||
public @FieldNameConstants(level = AccessLevel.PACKAGE) class FieldNameConstantsBasic {
|
||||
static final @java.lang.SuppressWarnings("all") class Fields {
|
||||
public static final java.lang.String butPrintMePlease = "butPrintMePlease";
|
||||
public static final java.lang.String iAmADvdPlayer = "iAmADvdPlayer";
|
||||
<clinit>() {
|
||||
}
|
||||
private @java.lang.SuppressWarnings("all") Fields() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
String iAmADvdPlayer;
|
||||
int $skipMe;
|
||||
static double skipMeToo;
|
||||
@FieldNameConstants.Exclude int andMe;
|
||||
String butPrintMePlease;
|
||||
<clinit>() {
|
||||
}
|
||||
public FieldNameConstantsBasic() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user