CharSequence (@NotNull IndexedFile file) { VirtualFile vFile = file.getFile(); VirtualFileSystem fs = vFile.getFileSystem(); if (!(fs instanceof JarFileSystem)) return null; VirtualFile root = VfsUtilCore.getRootFile(vFile); return root.getNameSequence(); }