code: public static <T extends Annotation> T annotation(Annotation annotation, Class<T> tagClass) {
          Class<?> c = annotation.annotationType();
          return c.getAnnotation(tagClass);
      }
docs: Returns the {@link Annotation} tagged on another annotation instance
  @param annotation the annotation instance
  @param tagClass the expected annotation class
  @param <T> the generic type of the expected annotation
  @return the annotation tagged on annotation of type `tagClass`