void (@NlsContexts.Checkbox @NotNull String title, @NotNull Getter<Boolean> getter, @NotNull Setter<? super Boolean> setter) { CheckboxField field = new CheckboxField(new BeanMethodAccessor<>(getter, setter), title); myFields.add(field); }