code: public static <T extends MethodDescription> ElementMatcher.Junction<T> returns(ElementMatcher<? super TypeDescription> matcher) {
          return returnsGeneric(erasure(matcher));
      }
docs: Matches a method's return type's erasure by the given matcher.
  
  @param matcher The matcher to apply to a method's return type's erasure.
  @param <T>     The type of the matched object.
  @return A matcher that matches the matched method's return type's erasure.