code: public static <T extends AnnotationSource> ElementMatcher.Junction<T> isAnnotatedWith(TypeDescription type) {
          return isAnnotatedWith(is(type));
      }
docs: Matches an {@link AnnotationSource} for declared annotations.
  This matcher does not match inherited annotations which only exist for classes. Use
  {@link net.bytebuddy.matcher.ElementMatchers#inheritsAnnotation(TypeDescription)}
  for matching inherited annotations.
  
  @param type The annotation type to match against.
  @param <T>  The type of the matched object.
  @return A matcher that validates that an annotated element is annotated with an annotation of {@code type}.