@Override
    @PublicAPI(usage = ACCESS)
    public JavaClass toErasure() {
        return erasure;
    }
@Test
    public void erased_unbound_type_variable_is_java_lang_Object() {
        @SuppressWarnings("unused")
        class ClassWithUnboundTypeParameter<T> {
        }

        JavaTypeVariable<JavaClass> type = new ClassFileImporter().importClass(ClassWithUnboundTypeParameter.class).getTypeParameters().get(0);

        assertThatType(type.toErasure()).matches(Object.class);
    }