void (@NotNull MethodReferencesSearch.SearchParameters queryParameters, @NotNull Processor<? super PsiReference> consumer) { final PsiMethod method = queryParameters.getMethod(); final PsiAnnotation annotation = AnnotationUtil.findAnnotation(method, DataProvider.class.getName()); if (annotation == null) return; final PsiAnnotationMemberValue dataProviderMethodName = annotation.findDeclaredAttributeValue("name"); if (dataProviderMethodName != null) { final String providerName = StringUtil.unquoteString(dataProviderMethodName.getText()); queryParameters.getOptimizer().searchWord(providerName, queryParameters.getEffectiveSearchScope(), UsageSearchContext.IN_STRINGS, true, method); } }