UsageGroup (@NotNull Usage usage, UsageTarget @NotNull [] targets) { final FileUsageGroup usageGroup = (FileUsageGroup)super.getParentGroupFor(usage, targets); if (usageGroup != null) { final PsiFile psiFile = usageGroup.getPsiFile(); if (psiFile instanceof PsiJavaFile && !(psiFile instanceof ServerPageFile)) { return null; } } return usageGroup; }