UsageTarget[] (@NotNull PsiElement psiElement) { if (psiElement instanceof NavigationItem) { if (FindManager.getInstance(psiElement.getProject()).canFindUsages(psiElement)) { return new UsageTarget[]{new PsiElement2UsageTargetAdapter(psiElement)}; } } return null; }