Set<PsiJavaFile> (UsageInfo @NotNull [] usages, @NotNull PsiElement primaryElement) { Set<PsiJavaFile> files = prepareOperation(usages); PsiFile containingFile = primaryElement.getContainingFile(); if (containingFile instanceof PsiJavaFile) { files.add((PsiJavaFile)containingFile); } return files; }