protected void internalTransform(Body b,String phaseName,Map options){
  StmtBody stmtBody=(StmtBody)b;
  Chain<Unit> units=stmtBody.getUnits();
  Iterator<Unit> stmtIt=units.snapshotIterator();
  NormalUnitPrinter nup=new NormalUnitPrinter(b);
  while (stmtIt.hasNext()) {
    Stmt stmt=(Stmt)stmtIt.next();
    if (!stmt.containsInvokeExpr()) {
      continue;
    }
    InvokeExpr expr=(InvokeExpr)stmt.getInvokeExpr();
    AssignStmt assignStmt=null;
    if (stmt instanceof AssignStmt) {
      assignStmt=(AssignStmt)stmt;
    }
 else {
      continue;
    }
    inspectAndReplaceCalls(units,assignStmt,expr);
  }
}

protected void internalTransform ( Body b , String phaseName , Map options ) { StmtBody stmtBody = ( StmtBody ) b ; Chain < Unit > units = stmtBody . getUnits ( ) ; Iterator < Unit > stmtIt = units . snapshotIterator ( ) ; NormalUnitPrinter nup = new NormalUnitPrinter ( b ) ; while ( stmtIt . hasNext ( ) ) { Stmt stmt = ( Stmt ) stmtIt . next ( ) ; if ( ! stmt . containsInvokeExpr ( ) ) { continue ; } InvokeExpr expr = ( InvokeExpr ) stmt . getInvokeExpr ( ) ; AssignStmt assignStmt = null ; if ( stmt instanceof AssignStmt ) { assignStmt = ( AssignStmt ) stmt ; } else { continue ; } inspectAndReplaceCalls ( units , assignStmt , expr ) ; } }
modifies the specified method body to replace all calls to uri . parse ( string ) with new uri ( string ) . this ensures that the allocation of the uri is unique
