Пример #1
0
    public Map<Class<? extends Annotation>, Set<Class<?>>> call() throws Exception {

      Timer t = Timer.getInstance();
      if (t != null) {
        t.startTiming();
      }

      AnnotationScanner scanner = new AnnotationScanner(sc);
      Map<Class<? extends Annotation>, Set<Class<?>>> annotatedClasses =
          scanner.getAnnotatedClasses();

      if (t != null) {
        t.stopTiming();
        t.logResult("Configuration annotation scan complete.");
      }

      return annotatedClasses;
    }