String serialize() {
StringBuilder builder = new StringBuilder();
final Class<?> dtoInterface = getDtoInterface();
final String dtoInterfaceName = dtoInterface.getCanonicalName();
emitPreamble(dtoInterface, builder);
<BUG>List<Method> getters = getDtoGetters(dtoInterface);
emitFields(getters, builder);
</BUG>
emitGettersAndSetters(getters, builder);
List<Method> inheritedGetters = getInheritedDtoGetters(dtoInterface);

String serialize() {
StringBuilder builder = new StringBuilder();
final Class<?> dtoInterface = getDtoInterface();
final String dtoInterfaceName = dtoInterface.getCanonicalName();
emitPreamble(dtoInterface, builder);
List<Method> getters = getDtoGetters(dtoInterface);
Set<String> superGetterNames = getSuperGetterNames(dtoInterface);
emitFields(getters, builder, superGetterNames);
emitGettersAndSetters(getters, builder);
List<Method> inheritedGetters = getInheritedDtoGetters(dtoInterface);
