mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 12:22:31 +00:00
14cce76805
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.
13 lines
293 B
Java
13 lines
293 B
Java
//CONF: checkerframework = 4.0
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Data;
|
|
import lombok.experimental.Accessors;
|
|
import lombok.With;
|
|
|
|
@Data @AllArgsConstructor @Accessors(chain = true)
|
|
class CheckerFrameworkBasic {
|
|
@With private final int x;
|
|
private final int y;
|
|
private int z;
|
|
}
|