code: @Override
      public void registerBeanDefinitions(AnnotationMetadata metadata,
                                          BeanDefinitionRegistry registry) {
          val name = WestCacheableScan.class.getName();
          val attributes = metadata.getAnnotationAttributes(name);
          val annoAttrs = AnnotationAttributes.fromMap(attributes);
          val scanner = new WestCacheableClassPathScanner(registry);
          // this check is needed in Spring 3.1
          if (resourceLoader != null) scanner.setResourceLoader(resourceLoader);
          String[] basePackages = addBasePackages(metadata, annoAttrs);
  
          scanner.registerFilters();
          scanner.doScan(basePackages);
      }
docs: {@inheritDoc}