docs: public static <T extends Annotation> List<T> searchForAnnotation(Method method, Class<T> annotation) {
          if (method == null) {
              return Lists.newArrayList();
          }
          return searchClasses(method, annotation, method.getDeclaringClass());
      }