@Override
    public void nodeReplaced(@NotNull ASTNode oldChild, @NotNull LighterASTNode newChild) {
      ASTNode converted = myConverter.apply((Node)newChild);
      myDelegate.nodeReplaced(oldChild, converted);
    }
@Override
    public void nodeReplaced(@NotNull ASTNode oldChild, @NotNull LighterASTNode newChild)