package fi.evident.apina.spring.java.reader;

import fi.evident.apina.spring.java.model.ClassMetadataCollection;
import fi.evident.apina.spring.java.model.JavaClass;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

public final class ClassMetadataCollectionLoader {

    private ClassMetadataCollectionLoader() { }

    public static ClassMetadataCollection load(Classpath classpath) throws IOException {
        List<JavaClass> classes = new ArrayList<>();
        ClassPathScanner.processAllClasses(classpath, in -> {
            classes.add(ClassMetadataReader.loadMetadata(in));
        });

        System.out.println(classes);

        return new ClassMetadataCollection(classes);
    }
}

@@ -483,16 +483,17 @@
 st%3C%3E();%0A
+%0A
         
@@ -626,46 +626,8 @@
 );%0A%0A
-        System.out.println(classes);%0A%0A
     

Remove printing loaded classes