protected Map < String , PropertyDescriptor > loadDescriptorMap ( ) throws IntrospectionException { Map < String , PropertyDescriptor > map = new HashMap <> ( ) ; PropertyDescriptor [ ] descriptors ; descriptors = loadDescriptors ( getType ( ) ) ; for ( PropertyDescriptor descriptor : descriptors ) { map . put ( descriptor . getName ( ) . toUpperCase ( ) . trim ( ) , descriptor ) ; } return map ; }
builds a map of property descriptors for the Bean .