public void addMutator(ScriptMutator mutator) {
if (mutator instanceof VariableDeclaration) {
StringBuilder mutated = new StringBuilder();
mutator.mutate(BASE_URL, mutated);
if (mutated.length() > 0) {
mutator = new VariableDeclarationWithDynamicValue(BASE_URL, new DynamicValue() {
@Override
public String getValue() {
return context.getCurrentBaseURL();
}
});