@PublicAPI(usage = ACCESS)
    public JavaClasses importClasses(Class<?>... classes) {
        return importClasses(Arrays.asList(classes));
    }
@Test
    public void imports_enclosing_method_of_local_class() throws ClassNotFoundException {
        @SuppressWarnings("unused")
        class ClassCreatingLocalClassInMethod {
            void someMethod() {
                class SomeLocalClass {
                }
            }
        }
        String localClassName = ClassCreatingLocalClassInMethod.class.getName() + "$1SomeLocalClass";
        JavaClasses classes = new ClassFileImporter().importClasses(
                ClassCreatingLocalClassInMethod.class, Class.forName(localClassName)
        );
        JavaClass enclosingClass = classes.get(ClassCreatingLocalClassInMethod.class);
        JavaClass localClass = classes.get(localClassName);

        assertThat(localClass.getEnclosingCodeUnit()).contains(enclosingClass.getMethod("someMethod"));
        assertThat(localClass.getEnclosingClass()).contains(enclosingClass);
    }