boolean (final @NotNull ReferencesSearch.SearchParameters queryParameters, final @NotNull Processor<? super PsiReference> consumer) { final PsiElement elementToSearch = queryParameters.getElementToSearch(); if (elementToSearch instanceof PsiMethod) { searchMethod((PsiMethod)elementToSearch, queryParameters, consumer); } if (elementToSearch instanceof JavaFxPropertyElement propertyElement) { final JavaFxPropertyReference propertyReference = propertyElement.getPropertyReference(); final PsiMethod staticSetter = propertyReference.getStaticSetter(); if (staticSetter != null) { searchMethod(staticSetter, queryParameters, consumer); } } return true; }