static void serialize(@NotNull OptPane pane, @NotNull StringBuilder builder) {
    builder.append(OPT_PANE + ".pane(\n");
    var components = pane.components();
    for (OptComponent component : components) {
      serialize(component, builder);
      builder.append(",\n");
    }
    builder.setLength(builder.length() - (components.isEmpty() ? 1 : 2));
    builder.append(")");
  }
static void serialize(@NotNull OptPane pane, @NotNull StringBuilder builder)