docs: public static <A extends Annotation> A getAnnotation(final Method method, final Class<A> annotationType) {
          A ann = method.getAnnotation(annotationType);
          if (ann == null) {
              for (final Annotation metaAnn : method.getAnnotations()) {
                  ann = metaAnn.annotationType().getAnnotation(annotationType);
                  if (ann != null) {
                      break;
                  }
              }
          }
          return ann;
      }