// write the used processing elements to the top of the file
dispel.insert(0,"\n");
for (String pe : usedTypes)
{
dispel.insert(0, ";\n");
dispel.insert(0, ns.resolve(pe));
dispel.insert(0, "use ");
}
// wrap the package qualifier around the function if there is one
wrapPackage(function.getName(), dispel);
return dispel.toString();