FieldDescriptor[] () { final FieldDescriptor[] descriptors = new FieldDescriptor[fields.length]; for (int i = 0; i < fields.length; i++) { descriptors[i] = new FieldDescriptorImpl( fields[i], GenerateMembersUtil.suggestGetterName(fields[i]), GenerateMembersUtil.suggestSetterName(fields[i]), isToEncapsulateGet() ? GenerateMembersUtil.generateGetterPrototype(fields[i]) : null, isToEncapsulateSet() ? GenerateMembersUtil.generateSetterPrototype(fields[i]) : null ); } return descriptors; }