code: private String readBeanName(Class beanClass) throws NoSuchFieldException, IllegalAccessException{
      final Field field = beanClass.getField("BEAN_NAME");
      return String.valueOf(field.get(null));
    }
docs: Find what's stored in 'BEAN_NAME' and return it, or toss an exception.