private void setLeafState(@NotNull LeafState leafState) {
      this.leafState = leafState;
      if (leafState == LeafState.ALWAYS) children.set(null); // validate children for leaf node
    }
private void setLeafState(@NotNull LeafState leafState)