apexComponent.setBodyFromTemplateString(classBody);
apexComponent.setName(className);
if (!i.hasNext() && !j.hasNext()) {
//this is the last class we are creating for this wsdl, so we want to save the packagelist to the server
MultiClassComponentController c =
(MultiClassComponentController) ap.getComponentController();
c.setShouldSaveToServer(true);
}
if (ap.getComponentController().isNameUniqueLocalCheck()) {
a.executeCreateOperation();
}