[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.
This commit is contained in:
Reinier Zwitserloot
2020-10-03 23:55:10 +02:00
parent 07e921d2b1
commit 14cce76805
27 changed files with 1161 additions and 997 deletions
@@ -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;