PresentationData () { PresentationData data = new PresentationData(); PsiElement psiElement = this.getPsiElement(); if (psiElement == null) { append(data, UsageViewBundle.message("node.invalid"), SimpleTextAttributes.ERROR_ATTRIBUTES); return data; } data.setIcon(myIcon); data.applyFrom(this.data); if (!this.isTaintFlowRoot) return data; String unsafeFlow = JvmAnalysisBundle.message("jvm.inspections.source.unsafe.to.sink.flow.propagate.safe.toolwindow.unsafe.flow"); SimpleTextAttributes attributes = new SimpleTextAttributes(SimpleTextAttributes.STYLE_ITALIC, UIUtil.getLabelInfoForeground()); append(data, unsafeFlow, attributes); return data; }