code: public static KeywordInfo getKeywordInfo(String keyword, ApplicationContext context, Map<String, String> beanMap) {
          Object bean = context.getBean(beanMap.get(keyword));
          return AnnotationUtils.findAnnotation(bean.getClass(), KeywordInfo.class);
      }
docs: Retrieves the KeywordInfo of the given keyword.
  
  @param keyword keyword name
  @param context Spring application context
  @param beanMap keyword name to bean name mapping
  @return KeywordInfo object or null if unavailable