boolean (@NotNull final DefinitionsScopedSearch.SearchParameters queryParameters, @NotNull final Processor<? super PsiElement> consumer) { final PsiElement sourceElement = queryParameters.getElement(); if (sourceElement instanceof PsiMethod) { return processImplementations((PsiMethod)sourceElement, consumer, queryParameters.getScope()); } return true; }