private void customizeMethodReturns(final DefinitionContainer operations) {
for (Iterator iterator = operations.iterator(); iterator.hasNext();) {
OperationDefinition operation = (OperationDefinition) iterator.next();
OperationReturnDefinition returnDef = operation.getOperationReturnType();
if (returnDef instanceof MethodReturnDef) {
MethodReturnDef mrd = (MethodReturnDef) returnDef;
StructureDefinition definition = mrd.getStructure();
if (definition instanceof StructureDef) {
customize((StructureDef) definition);
}
}