UsageTarget[] (@NotNull Editor editor, @NotNull PsiFile file) { PsiElement target = MavenTargetUtil.getFindTarget(editor, file, false); if (target == null) return UsageTarget.EMPTY_ARRAY; if (target instanceof NavigationItem) return new UsageTarget[]{new PsiElement2UsageTargetAdapter(target)}; return UsageTarget.EMPTY_ARRAY; }