void () { JavaRefactoringSettings refactoringSettings = JavaRefactoringSettings.getInstance(); refactoringSettings.MOVE_SEARCH_IN_COMMENTS = isSearchInComments(); refactoringSettings.MOVE_SEARCH_FOR_TEXT = isSearchInNonJavaFiles(); }