PsiFile (@NotNull Project project, @NotNull VirtualFile file, @NotNull FileType fileType) { FileIndexFacade fileIndex = FileIndexFacade.getInstance(project); if (!fileIndex.isInLibraryClasses(file) && fileIndex.isInSource(file)) { return new PsiBinaryFileImpl((PsiManagerImpl)getManager(), this); } // skip inner, anonymous, missing and corrupted classes try { if (!isInnerClass(file)) { return new ClsFileImpl(this); } } catch (Exception e) { Logger.getInstance(ClassFileViewProvider.class).debug(file.getPath(), e); } return null; }