@ApiStatus.Internal
  public void setParent(@Nullable JpsElementBase<?> parent) {
    if (myParent != null && parent != null) {
      throw new AssertionError("Parent for " + this + " is already set: " + myParent);
    }
    myParent = parent;
  }
@ApiStatus.Internal
  public void setParent(@Nullable JpsElementBase<?> parent)