Collection<PsiReference> (@NotNull PsiElement element, @NotNull SearchScope searchScope, boolean searchInCommentsAndStrings) { if (!getSearchForReferences(element)) { return Collections.emptyList(); } return super.findReferences(element, searchScope, searchInCommentsAndStrings); }