TextChange existingTextChange = getTextChange(serviceTypeFile);
if (existingTextChange != null) {
existingTextChange.addEdit(astTextEdit);
return null;
} else {
CompilationUnitChange serviceUnitChange =
new CompilationUnitChange(serviceType.getFullyQualifiedName(), serviceCompilationUnit);
serviceUnitChange.setEdit(astTextEdit);
return serviceUnitChange;
}
}
}