public static int toBuffer(@NotNull ASTNode element, char @Nullable [] buffer, int offset) {
    return toBuffer(element, buffer, offset, false);
  }
public static int toBuffer(@NotNull ASTNode element, char @Nullable [] buffer, int offset)