mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 08:21:35 +00:00
15df143df6
A bit of a shadow feature because the checker framework folks need to do some work on their side. this update makes lombok generate a few checker framework annotations (if configured to do so) which let the checker framework add warnings and errors for example if you misuse builders, or ignore the return values of withers, etc.
12 lines
256 B
Java
12 lines
256 B
Java
//CONF: checkerframework = 3.0
|
|
import lombok.Data;
|
|
import lombok.experimental.Accessors;
|
|
import lombok.experimental.Wither;
|
|
|
|
@Data @Accessors(chain = true)
|
|
class CheckerFrameworkBasic {
|
|
@Wither private final int x;
|
|
private final int y;
|
|
private int z;
|
|
}
|