class NestedObjectDelegatePropertyAccessor implements
        PropertyAccessor {

    @SuppressWarnings("unchecked")
    public String getSourceSetter(OgnlContext context, Object target,
            Object index) {
        return propertyAccessor.getSourceSetter(context, nestedObjectExtractor
                .getNestedObject((T) target), index);
    }

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

}