void () { if (myCbReplaceAllOccurences != null) { getTypeSelectionManager().setAllOccurrences(myCbReplaceAllOccurences.isSelected()); } else { getTypeSelectionManager().setAllOccurrences(myIsInvokedOnDeclaration); } }