void (int start, int end, @NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file) { Target target = findSelectionTarget(start, end, file, editor, project); if (target != null) { invokeScopeStep(target, file, editor, project); } else { cannotPerformRefactoring(project, editor); } }