}
}
private TypeInfo internalIntrospect(final Class<?> type) throws IntrospectionException
{
final TypeInfo typeInfo = new TypeInfo(type);
final PropertyDescriptor[] descriptors = getBeanInfo(type).getPropertyDescriptors();
for (final PropertyDescriptor descriptor : descriptors)
{
if (shouldSkip(descriptor))
{
continue;
}
final String propertyName = descriptor.getName();
final Method readMethod = descriptor.getReadMethod();
final Method writeMethod = descriptor.getWriteMethod();
final PropertyAwareAccessor accessor = new PropertyAccessor(propertyName, readMethod, writeMethod);
typeInfo.addPropertyAccessor(accessor);
}
return typeInfo;
}