{
if (bean == null) {
return new NullPointer(parent, name);
}
JXPathBeanInfo bi = JXPathIntrospector.getBeanInfo(bean.getClass());
if (bi.isDynamic()) {
DynamicPropertyHandler handler =
ValueUtils.getDynamicPropertyHandler(
bi.getDynamicPropertyHandlerClass());
return new DynamicPointer(parent, name, bean, handler);
}
return null;
}