protected final @Nullable Object getParentValue() {
    AbstractTreeNode<?> parent = getParent();
    return parent == null ? null : parent.getValue();
  }
protected final @Nullable Object getParentValue()