o = beanProvider.getProperty(o, var.substring(firstDot + 1));
o = ((BeanProvider)beanProvider).getProperty(o, var.substring(firstDot + 1));
    public Object getVariableFromMaps(String var, Map transientVars, PropertySet ps) {        int firstDot = var.indexOf('.');        String actualVar = var;        if (firstDot != -1) {            actualVar = var.substring(0, firstDot);        }        Object o = transientVars.get(actualVar);        if (o == null) {            o = ps.getAsActualType(actualVar);        }        if (firstDot != -1) {            if (beanProvider == null) {                beanProvider = new DefaultBeanProvider();            }            o = beanProvider.getProperty(o, var.substring(firstDot + 1));        }        return o;    }