mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 14:21:47 +00:00
3edac64911
Now generating checkerframework `@Pure` instead of `@SideEffectFree` where appropriate.
20 lines
403 B
Java
20 lines
403 B
Java
//CONF: checkerframework = 4.0
|
|
import java.util.List;
|
|
import lombok.Singular;
|
|
|
|
class CheckerFrameworkSuperBuilder {
|
|
@lombok.experimental.SuperBuilder
|
|
public static class Parent {
|
|
@lombok.Builder.Default int x = 5;
|
|
int y;
|
|
int z;
|
|
@Singular List<String> names;
|
|
}
|
|
|
|
@lombok.experimental.SuperBuilder
|
|
public static class Child extends Parent {
|
|
@lombok.Builder.Default int a = 1;
|
|
int b;
|
|
}
|
|
}
|