void () { ModelResultWithFUSData modelResult; try { modelResult = getModel().computeModelResult(); } catch (ConfigurationException e) { setErrorHtml(e.getMessageHtml()); return; } KotlinRefactoringSettings settings = KotlinRefactoringSettings.getInstance(); settings.MOVE_TO_UPPER_LEVEL_SEARCH_FOR_TEXT = searchForTextOccurrencesCheckBox.isSelected(); settings.MOVE_TO_UPPER_LEVEL_SEARCH_IN_COMMENTS = searchInCommentsCheckBox.isSelected(); saveOpenInEditorOption(); MoveUtilKt.logFusForMoveRefactoring( modelResult.getElementsCount(), modelResult.getEntityToMove(), modelResult.getDestination(), getCheckboxesState(false).equals(initializedCheckBoxesState), () -> invokeRefactoring(modelResult.getProcessor()) ); }