void (@NotNull PresentationData presentationData, SimpleTextAttributes mainAttributes, SimpleTextAttributes commentAttributes) { presentationData.setIcon(AllIcons.Nodes.ExtractedFolder); final String parentPath = PathUtil.getParentPath(myJarPath); if (myFile == null || !myFile.isDirectory()) { mainAttributes = SimpleTextAttributes.ERROR_ATTRIBUTES; final VirtualFile parentFile = LocalFileSystem.getInstance().findFileByPath(parentPath); if (parentFile == null) { commentAttributes = SimpleTextAttributes.ERROR_ATTRIBUTES; } } presentationData.addText(JavaCompilerBundle.message("label.extracted.dir.presentation", getPresentableName()), mainAttributes); presentationData.addText(" (" + parentPath + ")", commentAttributes); }