aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-10-03 23:55:10 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-10-03 23:55:10 +0200
commit14cce76805324dce66fcdfde333a63c677694d64 (patch)
tree18001068c7052e08ee85a2df565f4be9902ca448 /test/transform/resource/before
parent07e921d2b19a660df28e03ee1ed1d0315d5e3458 (diff)
downloadlombok-14cce76805324dce66fcdfde333a63c677694d64.tar.gz
lombok-14cce76805324dce66fcdfde333a63c677694d64.tar.bz2
lombok-14cce76805324dce66fcdfde333a63c677694d64.zip
[builder] big refactor: Fixing CheckerFramework features + all params now in an object
These handlers had methods with humongous argument lists, and they needed to grow even more in order to accommodate some new needs to properly implement checkerframework (where annos can be type-use based, which means they were being put in the wrong place. void foo(com.foo.@X Bar paramName) // correct void foo(@X com.foo.Bar paramName) // wrong For example, the CalledMethod annotation is a type-use annotation. This commit covers both that refactor and fixing checkerframework generation.
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/CheckerFrameworkBasic.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/transform/resource/before/CheckerFrameworkBasic.java b/test/transform/resource/before/CheckerFrameworkBasic.java
index 8a0bd118..fb43ad08 100644
--- a/test/transform/resource/before/CheckerFrameworkBasic.java
+++ b/test/transform/resource/before/CheckerFrameworkBasic.java
@@ -1,9 +1,10 @@
//CONF: checkerframework = 4.0
+import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.With;
-@Data @Accessors(chain = true)
+@Data @AllArgsConstructor @Accessors(chain = true)
class CheckerFrameworkBasic {
@With private final int x;
private final int y;