List<SimpleMatch> (@NotNull SimpleDuplicatesFinder finder, @NotNull PsiElement originalScopeAnchor, @NotNull PyFunction generatedMethod) { final List<PsiElement> scopes = collectScopes(originalScopeAnchor, generatedMethod); return ExtractMethodHelper.collectDuplicates(finder, scopes, generatedMethod); }