// Create references to the buffer for each port channel
for (Iterator methods = entityClass.getMethods().iterator(); methods
.hasNext();) {
SootMethod method = (SootMethod) methods.next();
JimpleBody body = (JimpleBody) method.retrieveActiveBody();
Stmt insertPoint = (Stmt) body.getUnits().getLast();
// Insert code into all the init methods.
if (!method.getName().equals("<init>")) {
continue;