mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 08:21:35 +00:00
[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user