if (Character.isUpperCase(character)) {
fieldName = Character.toLowerCase(character) + fieldName.substring(i + 1);
break;
}
}
<BUG>typeBuilder.addField(typeName, fieldName);
MethodSpec.Builder accessorMethod = MethodSpec.methodBuilder(methodName)</BUG>
.addAnnotation(Override.class)
.addModifiers(Modifier.PUBLIC)
.returns(typeName);

if (Character.isUpperCase(character)) {
fieldName = Character.toLowerCase(character) + fieldName.substring(i + 1);
break;
}
}
typeBuilder.addField(typeName, fieldName, Modifier.PRIVATE, Modifier.FINAL);
MethodSpec.Builder accessorMethod = MethodSpec.methodBuilder(methodName)
.addAnnotation(Override.class)
.addModifiers(Modifier.PUBLIC)
.returns(typeName);
