/** * Builds a map of property descriptors for the bean. * * @return Map of property descriptors * @throws IntrospectionException Thrown on error getting information * about the bean. * @deprecated Introspection will be replaced with reflection in version 5.0 */ @Deprecated protected Map<String, PropertyDescriptor> loadDescriptorMap() throws IntrospectionException { Map<String, PropertyDescriptor> map = new HashMap<>(); PropertyDescriptor[] descriptors = loadDescriptors(getType()); for (PropertyDescriptor descriptor : descriptors) { map.put(descriptor.getName().toUpperCase(), descriptor); } return map; }