diff options
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/StaticConstructor.java | 6 | ||||
-rw-r--r-- | test/transform/resource/before/ValueStaticConstructorOf.java | 13 | ||||
-rw-r--r-- | test/transform/resource/before/WithPlain.java | 1 |
3 files changed, 13 insertions, 7 deletions
diff --git a/test/transform/resource/before/StaticConstructor.java b/test/transform/resource/before/StaticConstructor.java new file mode 100644 index 00000000..eff1fa9b --- /dev/null +++ b/test/transform/resource/before/StaticConstructor.java @@ -0,0 +1,6 @@ +//CONF: lombok.addNullAnnotations = checkerframework +import lombok.AllArgsConstructor; +@AllArgsConstructor(staticName = "of") +public class StaticConstructor { + String name; +} diff --git a/test/transform/resource/before/ValueStaticConstructorOf.java b/test/transform/resource/before/ValueStaticConstructorOf.java index ac857ffd..bd318d40 100644 --- a/test/transform/resource/before/ValueStaticConstructorOf.java +++ b/test/transform/resource/before/ValueStaticConstructorOf.java @@ -1,12 +1,11 @@ import lombok.Value; @Value(staticConstructor = "of") public class ValueStaticConstructorOf { + String name; + Double price; - String name; - Double price; - - private ValueStaticConstructorOf(String name, Double price) { - this.name = name; - this.price = price; - } + private ValueStaticConstructorOf(String name, Double price) { + this.name = name; + this.price = price; + } } diff --git a/test/transform/resource/before/WithPlain.java b/test/transform/resource/before/WithPlain.java index 1b2a19c4..4f048242 100644 --- a/test/transform/resource/before/WithPlain.java +++ b/test/transform/resource/before/WithPlain.java @@ -1,3 +1,4 @@ +//CONF: lombok.addNullAnnotations = spring import lombok.With; class WithPlain { @lombok.With int i; |