|
|
@ -364,9 +364,10 @@ public class BeanWrapperImpl extends AbstractPropertyAccessor implements BeanWra |
|
|
|
|
|
|
|
|
|
|
|
public TypeDescriptor getPropertyTypeDescriptor(String propertyName) throws BeansException { |
|
|
|
public TypeDescriptor getPropertyTypeDescriptor(String propertyName) throws BeansException { |
|
|
|
try { |
|
|
|
try { |
|
|
|
BeanWrapper nestedBw = getNestedBeanWrapper(propertyName); |
|
|
|
BeanWrapperImpl nestedBw = getBeanWrapperForPropertyPath(propertyName); |
|
|
|
PropertyTokenHolder tokens = getPropertyNameTokens(getFinalPath(nestedBw, propertyName)); |
|
|
|
String finalPath = getFinalPath(nestedBw, propertyName); |
|
|
|
PropertyDescriptor pd = getPropertyDescriptorInternal(tokens.actualName); |
|
|
|
PropertyTokenHolder tokens = getPropertyNameTokens(finalPath); |
|
|
|
|
|
|
|
PropertyDescriptor pd = nestedBw.getCachedIntrospectionResults().getPropertyDescriptor(tokens.actualName); |
|
|
|
if (pd != null) { |
|
|
|
if (pd != null) { |
|
|
|
if (tokens.keys != null) { |
|
|
|
if (tokens.keys != null) { |
|
|
|
if (pd.getReadMethod() != null) { |
|
|
|
if (pd.getReadMethod() != null) { |
|
|
|