code: public static <T extends TypeDescription.Generic> ElementMatcher.Junction<T> erasure(Class<?> type) {
          return erasure(is(type));
      }
docs: Matches a generic type's erasure against the provided type. As a wildcard does not define an erasure, a runtime exception is thrown when
  this matcher is applied to a wildcard.
  
  @param type The type to match a generic type's erasure against.
  @param <T>  The type of the matched object.
  @return A matcher that matches a generic type's raw type against the provided non-generic type.