Fixes #1254: Value and FieldDefaults should skip static fields

This commit is contained in:
Roel Spilker committed 2016-12-05 22:23:39 +01:00
1 parent 7969951125
commit 0727c8bfd3
13 files changed
+33 -18

No files matched your search

@@ -1,14 +1,20 @@
@lombok.experimental.FieldDefaults(makeFinal = true) class FieldDefaults1 {
static int STATIC = 3;
final int x;
@lombok.experimental.NonFinal int y;
<clinit>() {
}
FieldDefaults1(int x) {
super();
this.x = x;
}
}
@lombok.experimental.FieldDefaults(level = lombok.AccessLevel.PRIVATE) class FieldDefaults2 {
static int STATIC = 3;
@lombok.experimental.PackagePrivate int x;
private int y;
<clinit>() {
}
FieldDefaults2() {
super();
}