public FieldSpec(short id, boolean required, String name, TypeAdapter typeAdapter) { this.id = id; this.required = required; this.name = name; this.typeAdapter = typeAdapter; this.tField = new TField(name, typeAdapter.getTType(), id); }