question: 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 ) ; } }
target:  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