Icon () { if (myVDirectory != null) { final VirtualFile jarRoot = JarFileSystem.getInstance().getRootByEntry(myVDirectory); return myVDirectory.equals(jarRoot) ? PlatformIcons.JAR_ICON : SourceRootIconProvider.getDirectoryIcon(myVDirectory, myProject); } return AllIcons.Nodes.Package; }