@Override
    protected void doAction() {
        if (toClassRadioButton.isSelected()) selectedTarget = targetVariableList.getSelectedValue();
        if (toObjectRadioButton.isSelected() && selectedTarget == null) {
            setErrorText(KotlinBundle.message("text.no.destination.object.specified"));
            return;
        }

        Map<KtClass, String> oldClassParameterNames = new LinkedHashMap<>();
        for (Map.Entry<KtClass, EditorTextField> entry : oldClassParameterNameFields.entrySet()) {
            EditorTextField field = entry.getValue();
            if (!isValidIdentifier(field.getText())) {
                setErrorText(KotlinBundle.message("parameter.name.is.invalid", field.getText()));
                return;
            }
            if (field.isEnabled()) {
                oldClassParameterNames.put(entry.getKey(), field.getText());
            }
        }

        MoveKotlinMethodProcessor processor =
                new MoveKotlinMethodProcessor(method, selectedTarget, oldClassParameterNames, openInEditorCheckBox.isSelected());
        invokeRefactoring(processor);
    }
@Override
    protected void doAction()