*/
@SuppressWarnings("unchecked")
public <T> T evaluate(Object obj, Class<T> target) {
// NC- new method
PropertyAccessor accessor = getLastPropertyAccessor();
AtomicReference<Object> value = new AtomicReference<Object>();
AtomicReference<Exception> e = new AtomicReference<Exception>();
if (accessor == null || !accessor.canHandle(obj, attPath, target)
|| !tryAccessor(accessor, obj, target, value, e)) {
boolean success = false;
if( namespaceSupport != null && hints == null ){
hints = new Hints(PropertyAccessorFactory.NAMESPACE_CONTEXT, namespaceSupport);
}