// Only consider the readable properties.
if (method != null) {
String propertyName;
OverriddenAttribute annotation = method.getAnnotation(OverriddenAttribute.class);
if (annotation != null && annotation.overridenAttributeName() != null) {
propertyName = annotation.overridenAttributeName();
} else {
propertyName = propertyDescriptor.getName();
}
// Store the property descriptors in a case-insensitive map
propertyMap.put(propertyName.toLowerCase(), propertyDescriptor);