void addInterval(@NotNull E interval) {
      myTree.assertUnderWriteLock();
      intervals.add(myTree.createGetter(interval));
      if (isAttachedToTree()) { // for detached node, do not update tree node count
        myTree.keySize++;
        myTree.setNode(interval, this);
      }
    }
void addInterval(@NotNull E interval)