172173174175176177178179180181182183
this.getFields().add(field); field.setEnclosingType(this); } public NewField newField() { final NewFieldImpl field = new NewFieldImpl(); field.setGeneratorContext(this.getGeneratorContext()); this.addField(field); return field; }