void (@NotNull MethodReferencesSearch.SearchParameters queryParameters, @NotNull Processor<? super PsiReference> consumer) { final PsiMethod method = queryParameters.getMethod(); if (method instanceof GrMethod) { for (GrReflectedMethod reflectedMethod : ((GrMethod)method).getReflectedMethods()) { MethodReferencesSearch.search(reflectedMethod, queryParameters.getEffectiveSearchScope(), true).forEach(consumer); } } }