void () { KotlinRefactoringSettings refactoringSettings = KotlinRefactoringSettings.getInstance(); refactoringSettings.MOVE_SEARCH_IN_COMMENTS = cbSearchInComments.isSelected(); refactoringSettings.MOVE_SEARCH_FOR_TEXT = cbSearchTextOccurrences.isSelected(); refactoringSettings.MOVE_DELETE_EMPTY_SOURCE_FILES = cbDeleteEmptySourceFiles.isSelected(); refactoringSettings.MOVE_PREVIEW_USAGES = isPreviewUsages(); refactoringSettings.MOVE_MPP_DECLARATIONS = cbApplyMPPDeclarationsMove.isSelected(); RecentsManager.getInstance(myProject).registerRecentEntry(RECENTS_KEY, getTargetPackage()); }