@PublicAPI(usage = ACCESS)
    public JavaClasses importUrl(URL url) {
        return importUrls(singletonList(url));
    }
@Test
    public void imports_subclass_in_class_hierarchy_correctly() {
        JavaClass subclass = new ClassFileImporter().importUrl(getClass().getResource("testexamples/classhierarchyimport")).get(Subclass.class);

        assertThat(subclass.getConstructors()).hasSize(3);
        assertThat(subclass.getFields()).hasSize(1);
        assertThat(subclass.getMethods()).hasSize(3);
        assertThat(subclass.getStaticInitializer().get().getMethodCallsFromSelf()).isNotEmpty();
    }