void (@NotNull ReferencesSearch.SearchParameters queryParameters, @NotNull Processor<? super PsiReference> consumer) { PsiElement refElement = queryParameters.getElementToSearch(); if (!(refElement instanceof PsiMethod)) return; addPropertyAccessUsages((PsiMethod)refElement, queryParameters.getEffectiveSearchScope(), queryParameters.getOptimizer()); }