public void setValue(String localName, Value value) throws EvaluateException {
    if (!mySyntheticLocals.containsKey(localName)) {
      if (myParentFragmentEvaluator != null) {
        myParentFragmentEvaluator.setValue(localName, value);
      }
      else {
        throw EvaluateExceptionUtil.createEvaluateException(JavaDebuggerBundle.message("evaluation.error.variable.not.declared", localName));
      }
    }
    else {
      mySyntheticLocals.put(localName, value);
    }
  }
public void setValue(String localName, Value value)