ActualParameters aps=tool.getActualParameters();
FormalParameters fps=app.getApplicationTypes().getFormalParameters();
Map m=createContextMap(aps,fps);
Iterator itFps=fps.toElements().iterator();
Iterator itAps=aps.toElements().iterator();
while (itFps.hasNext() && itAps.hasNext()) {
FormalParameter fp=(FormalParameter)itFps.next();
ActualParameter ap=(ActualParameter)itAps.next();
String fpMode=fp.getMode();
String fpId=fp.getId();