class ScopeELResolver extends ELResolver {

    @Override
    public Class<?> getType(ELContext context, Object base, Object property) {
        if (base != null || property == null || !(property instanceof String)
                || !((String) property).endsWith("Scope")) {
            return null;
        }

        return Map.class;
    }

}