@Override
  public Icon getIcon(@NotNull PomTarget target, int flags) {
    if (target instanceof DomTarget) {
      return ((DomTarget)target).getDomElement().getPresentation().getIcon();
    }
    return null;
  }
@Override
  public Icon getIcon(@NotNull PomTarget target, int flags)