void (ColoredTreeCellRenderer renderer, VirtualFile virtualFile) { String path = virtualFile.getPath(); //NON-NLS final int i = path.indexOf(JarFileSystem.JAR_SEPARATOR); if (i >= 0) { path = path.substring(i + JarFileSystem.JAR_SEPARATOR.length()); } renderer.append(" (" + StringUtil.trimEnd(StringUtil.trimEnd(path, virtualFile.getName()), "/") + ")", SimpleTextAttributes.GRAYED_ATTRIBUTES); }