* is to be considered an error (i.e. throw an exception)
* @return expression with variable references replaced with variable values
* @throws CoreException if unable to resolve the value of one or more variables
*/
public String performStringSubstitution(String expression, boolean reportUndefinedVariables) throws CoreException {
VariablesPlugin plugin = VariablesPlugin.getDefault();
expression = performPythonpathStringSubstitution(expression);
expression = plugin.getStringVariableManager().performStringSubstitution(expression, reportUndefinedVariables);
return expression;
}