void ( boolean searchInComments, boolean searchForTextOccurences, boolean deleteEmptySourceFiles, boolean moveMppDeclarations, List<KtNamedDeclaration> allDeclarations ) { cbSearchInComments.setSelected(searchInComments); cbSearchTextOccurrences.setSelected(searchForTextOccurences); cbDeleteEmptySourceFiles.setSelected(deleteEmptySourceFiles); cbApplyMPPDeclarationsMove.setSelected(moveMppDeclarations); cbApplyMPPDeclarationsMove.setVisible(isMPPDeclarationInList(allDeclarations)); }