void (@NotNull PresentationData data) { PsiFile value = getValue(); if (value != null) { data.setPresentableText(value.getName()); data.setIcon(value.getIcon(Iconable.ICON_FLAG_READ_STATUS)); VirtualFile file = getVirtualFile(); if (file != null && file.is(VFileProperty.SYMLINK)) { @NlsSafe String target = file.getCanonicalPath(); if (target == null) { data.setAttributesKey(CodeInsightColors.WRONG_REFERENCES_ATTRIBUTES); data.setTooltip(IdeBundle.message("node.project.view.bad.link")); } else { data.setTooltip(FileUtil.toSystemDependentName(target)); } } } }