public @Nullable RefEntity getRefElement(@NotNull RefManager refManager) {
    return ReadAction.compute(() -> refManager.getProject().isDisposed() ? null : refManager.getReference(myType, myFQName));
  }
public @Nullable RefEntity getRefElement(@NotNull RefManager refManager)