docs: public static <T extends MethodDescription> ElementMatcher.Junction<T> declaresException(TypeDescription exceptionType) {
          return exceptionType.isAssignableTo(Throwable.class)
                  ? ElementMatchers.<T>declaresGenericException(new CollectionItemMatcher<TypeDescription.Generic>(erasure(exceptionType)))
                  : new BooleanMatcher<T>(false);
      }