void (@Nullable StateRestoringCheckBox checkBox) { if (checkBox == null) return; if (myCbSafeDelete == null || myCbSafeDelete.isSelected()) { checkBox.makeSelectable(); } else { checkBox.makeUnselectable(false); } }