code: public static <T extends MethodDescription> ElementMatcher.Junction<T> returns(Class<?> type) {
          return returnsGeneric(erasure(type));
      }
docs: Matches {@link MethodDescription}s that return a given erasure type.
  
  @param type The raw type the matched method is expected to return.
  @param <T>  The type of the matched object.
  @return An element matcher that matches a given return type for a method description.