public final String toSchema() { Object value = value(); switch (kind()) { case STRING: return formatName() + " = \"" + value + '"'; OptionElement.create(optionValue.name(), optionValue.kind(), optionValue.value()); builder.append(formatName()).append('.').append(optionValue.toSchema()); return builder.toString();
@Override public boolean equals(Object o) { if (o == this) { return true; } if (o instanceof OptionElement) { OptionElement that = (OptionElement) o; return (this.name.equals(that.name())) && (this.kind.equals(that.kind())) && (this.value.equals(that.value())) && (this.isParenthesized == that.isParenthesized()); } return false; }
public final String toSchema() { Object value = value(); switch (kind()) { case STRING: return formatName() + " = \"" + value + '"'; OptionElement.create(optionValue.name(), optionValue.kind(), optionValue.value()); builder.append(formatName()).append('.').append(optionValue.toSchema()); return builder.toString();
public final String toSchema() { Object value = value(); switch (kind()) { case STRING: return formatName() + " = \"" + value + '"'; OptionElement.create(optionValue.name(), optionValue.kind(), optionValue.value()); builder.append(formatName()).append('.').append(optionValue.toSchema()); return builder.toString();