randoop.experiments
Class BranchDirMutator

Object
  extended by BranchDirMutator

public class BranchDirMutator
extends Object


Constructor Summary
Constructor and Description
BranchDirMutator()
           
 
Method Summary
Modifier and Type Method and Description
static String replace(MSequence s, MVariable oldv, MVariable newv)
          Replaces all uses of oldv with newv.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BranchDirMutator

public BranchDirMutator()
Method Detail

replace

public static String replace(MSequence s,
                             MVariable oldv,
                             MVariable newv)
Replaces all uses of oldv with newv. Rearranges statements if necessary, e.g. if the first use of oldv comes before the declaration of newv.