void (@NotNull ReferencesSearch.SearchParameters queryParameters, @NotNull Processor<? super PsiReference> consumer) { final PsiElement element = queryParameters.getElementToSearch(); if (element instanceof PsiMethod method) { if (method.isConstructor()) { GroovyConstructorUsagesSearcher.processConstructorUsages(method, queryParameters.getEffectiveSearchScope(), consumer, queryParameters.getOptimizer(), false); } } }