public static < T extends TypeDescription . Generic > ElementMatcher . Junction < T > erasure ( Class < ? > type ) { return erasure ( is ( type ) ) ; }
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 .