public Icon fun(final PathReference pathReference) { final PsiElement element = pathReference.resolve(); return element == null ? myDefaultIcon : element.getIcon(Iconable.ICON_FLAG_READ_STATUS); }
public String toString(final PathReference t, final ConvertContext context) { return t == null ? null : t.getPath(); }