public boolean isResolveable(String name) {
return variableResolvers.containsKey(name) || (nextFactory != null && nextFactory.isResolveable(name));
}
public VariableResolver createVariable(String name, Object value) {
VariableResolver resolver = getVariableResolver(name);
if (resolver == null) {
int idx = increaseRegisterTableSize();
this.indexedVariableNames[idx] = name;
this.indexedVariableResolvers[idx] = new SimpleValueResolver(value);
variableResolvers.put(name, null);
// variableResolvers.put(name, this.indexedVariableResolvers[idx] = new SimpleValueResolver(value));
return this.indexedVariableResolvers[idx];
}
else {
resolver.setValue(value);
return resolver;
}
}