@PublicAPI(usage = ACCESS)
    public JavaClasses importClasses(Class<?>... classes) {
        return importClasses(Arrays.asList(classes));
    }
@Test
    public void imports_generic_interfaces_in_correct_order() {
        class Ascending implements OneGeneric<String>, TwoGeneric<String>, ThreeGeneric<String>, FourGeneric<String>, FiveGeneric<String> {
        }
        class Descending implements FiveGeneric<String>, FourGeneric<String>, ThreeGeneric<String>, TwoGeneric<String>, OneGeneric<String> {
        }

        JavaClasses classes = new ClassFileImporter().importClasses(Ascending.class, Descending.class);

        assertThatTypes(classes.get(Ascending.class).getInterfaces())
                .matchExactly(
                        parameterizedType(OneGeneric.class).withTypeArguments(String.class),
                        parameterizedType(TwoGeneric.class).withTypeArguments(String.class),
                        parameterizedType(ThreeGeneric.class).withTypeArguments(String.class),
                        parameterizedType(FourGeneric.class).withTypeArguments(String.class),
                        parameterizedType(FiveGeneric.class).withTypeArguments(String.class));
        assertThatTypes(classes.get(Descending.class).getInterfaces())
                .matchExactly(
                        parameterizedType(FiveGeneric.class).withTypeArguments(String.class),
                        parameterizedType(FourGeneric.class).withTypeArguments(String.class),
                        parameterizedType(ThreeGeneric.class).withTypeArguments(String.class),
                        parameterizedType(TwoGeneric.class).withTypeArguments(String.class),
                        parameterizedType(OneGeneric.class).withTypeArguments(String.class));
    }