protected Class < ? > getBeanClass ( String beanName ) { Class < ? > clazz = context . getType ( beanName ) ; while ( Proxy . isProxyClass ( clazz ) || Enhancer . isEnhanced ( clazz ) ) { clazz = clazz . getSuperclass ( ) ; } return clazz ; }
Returns the class of the specified bean name .