in your case it could be:
class XY : Object {
@Getter(fluent = true)
public boolean hasObject;
}
OR
@Accessors(fluent = true)
class XY : Object {
public boolean hasObject;
}
in accordance with the documents:
- . , - (), - (T newValue). , , true. : false.