class NestedObjectDelegatePropertyAccessor implements
        PropertyAccessor {

    @SuppressWarnings("unchecked")
    public Object getProperty(@SuppressWarnings("rawtypes") Map context, Object target, Object name)
            throws OgnlException {
        return propertyAccessor.getProperty(context, nestedObjectExtractor
                .getNestedObject((T) target), name);
    }

    public  NestedObjectDelegatePropertyAccessor(
            NestedObjectExtractor<T> nestedObjectExtractor,
            PropertyAccessor propertyAccessor);

}