@Override
  public Icon getIcon(@NotNull PsiElement element, int flags) {
    if (element instanceof PomTargetPsiElement) {
      return getIcon(((PomTargetPsiElement)element).getTarget(), flags);
    }
    return null;
  }
@Override
  public Icon getIcon(@NotNull PsiElement element, int flags)