Icon (@NotNull PsiElement element) { DomElement domElement = DomUtil.getDomElement(element); assert domElement != null; return ObjectUtils.chooseNotNull(domElement.getPresentation().getIcon(), element.getIcon(0)); }