mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 12:16:49 +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
@@ -0,0 +1,23 @@
|
||||
import lombok.experimental.FieldNameConstants;
|
||||
import lombok.AccessLevel;
|
||||
public @FieldNameConstants(onlyExplicitlyIncluded = true,asEnum = true,innerTypeName = "TypeTest") class FieldNameConstantsEnum {
|
||||
public @java.lang.SuppressWarnings("all") enum TypeTest {
|
||||
iAmADvdPlayer(),
|
||||
$dontSkipMe(),
|
||||
alsoDontSkipMe(),
|
||||
private @java.lang.SuppressWarnings("all") TypeTest() {
|
||||
super();
|
||||
}
|
||||
<clinit>() {
|
||||
}
|
||||
}
|
||||
@FieldNameConstants.Include String iAmADvdPlayer;
|
||||
@FieldNameConstants.Include int $dontSkipMe;
|
||||
static @FieldNameConstants.Include double alsoDontSkipMe;
|
||||
int butSkipMe;
|
||||
<clinit>() {
|
||||
}
|
||||
public FieldNameConstantsEnum() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user