mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 02:14:44 +00:00
Fixes #1254: Value and FieldDefaults should skip static fields
This commit is contained in:
1 parent
7969951125
commit
0727c8bfd3
13 files changed
+33
-18
No files matched your search
@@ -1,5 +1,6 @@
|
||||
@lombok.experimental.FieldDefaults(makeFinal = true)
|
||||
class FieldDefaults1 {
|
||||
static int STATIC = 3;
|
||||
int x;
|
||||
@lombok.experimental.NonFinal int y;
|
||||
|
||||
@@ -10,6 +11,7 @@ class FieldDefaults1 {
|
||||
|
||||
@lombok.experimental.FieldDefaults(level = lombok.AccessLevel.PRIVATE)
|
||||
class FieldDefaults2 {
|
||||
static int STATIC = 3;
|
||||
@lombok.experimental.PackagePrivate int x;
|
||||
int y;
|
||||
}
|
||||
Reference in new issue
Block a user