- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Gson g =
new Gson()
GsonBuilder gsonBuilder;gsonBuilder.create()
new GsonBuilder().create()
- Smart code suggestions by Codota
}
public String toString() { return super.toStringHelper(SchemaProperty.class).add("type", getType()) .add("defaultValue", getDefaultValue()).toString(); }
@Override public boolean equals(Object obj) { if (!(obj instanceof SchemaProperty)) { return false; } SchemaProperty o = (SchemaProperty) obj; return super.equals(o) && equal(getDefaultValue(), o.getDefaultValue()) && equal(getType(), o.getType()); } }
@Override public int hashCode() { return Objects.hashCode(super.getHashCode(), getDefaultValue(), getType()); }
public XmlSchemaProperty(SchemaProperty p) { this.name = p.getName(); this.fieldName = p.getFieldName(); this.type = p.getType(); this.defaultValue = p.getDefaultValue(); this.desc = p.getDesc(); this.isImmutable = p.isImmutable(); this.isEnum = p.isEnum(); } }