imports.add(classnameFor.convert((ImplicitChildElement) webMethod.getWebResult()));
addComponentTypes(returnType, imports);
}
}
else {
throw new TemplateException("The declaration must be either an endpoint interface or a web method.");
}
}
catch (TemplateModelException e) {
throw new TemplateException(e);
}
Iterator<String> importsIt = imports.iterator();
while (importsIt.hasNext()) {
//clear out any of the primitives and primary actionscript types; they don't need an import.