public static BeanDescriptor getInstance ( Class < ? > type ) { BeanDescriptor bd = cache . get ( type ) ; if ( bd == null ) { bd = new BeanDescriptor ( type ) ; BeanDescriptor existing = cache . putIfAbsent ( type , bd ) ; if ( existing != null ) { bd = existing ; } } return bd ; }
Gets an instance of ClassDescriptor for the specified class .