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