SootField portField = entityInstanceClass.getFieldByName(name);
units.add(Jimple.v().newAssignStmt(
portLocal,
Jimple.v().newInstanceFieldRef(thisLocal,
portField.makeRef())));
units.add(Jimple.v().newInvokeStmt(
Jimple.v().newVirtualInvokeExpr(portLocal,
PtolemyUtilities.sendMethod.makeRef(),
IntConstant.v(0), local)));