@NotNull
  @Override
  public PsiElement convertToPsi(@NotNull PomTarget target) {
    if (target instanceof PsiElement) {
      return (PsiElement)target;
    }
    return new PomTargetPsiElementImpl(myProject, target);
  }
@NotNull
  @Override
  public PsiElement convertToPsi(@NotNull PomTarget target)