code: public static <T extends TypeDescription> ElementMatcher.Junction<T> inheritsAnnotation(ElementMatcher<? super TypeDescription> matcher) {
          return hasAnnotation(annotationType(matcher));
      }
docs: Matches any annotations by a given matcher on a type that declared these annotations or inherited them from its
  super classes.
  
  @param matcher A matcher to apply onto the inherited annotations.
  @param <T>     The type of the matched object.
  @return A matcher that matches any inherited annotation by a given matcher.