getPropertyDescriptor(base, name);
Method m = propertyDescriptor.getReadMethod();
if (m == null)
{
throw new PropertyNotFoundException(
"Bean: " + base.getClass().getName() + ", property: " + name);
}
// Check if the concrete class of this method is accessible and if not
// search for a public interface that declares this method
m = MethodUtils.getAccessibleMethod(m);
if (m == null)
{
throw new PropertyNotFoundException(
"Bean: " + base.getClass().getName() + ", property: " + name + " (not accessible!)");
}
try
{