public void markChildChanged(@NotNull ASTNode child, int lengthDelta) {
    myContentChangeChildren.add(child);
    if (lengthDelta != 0) {
      myInitialLengths.computeIfPresent(child, (c, oldLength) -> oldLength - lengthDelta);
    }
    clearCache();
  }
public void markChildChanged(@NotNull ASTNode child, int lengthDelta)