@Override
  public T getPsi() {
    T psi = myPsi;
    if (psi != null) return psi;

    //noinspection unchecked
    psi = ((IStubElementType<StubBase<T>, T>)getStubType()).createPsi(this);
    return myPsiUpdater.compareAndSet(this, null, psi) ? psi : Objects.requireNonNull(myPsi);
  }
@Override
  public T getPsi()