public static String getClassPath(ClassLoader cl) {
        return new ClassGraph().overrideClassLoaders(cl).getClasspath();
    }
SimpleCompiler provides a convenience wrapper of the JavaCompiler interface
with automatic classpath generation

@author tiwe
querydsl-codegen-utils/src/main/java/com/querydsl/codegen/utils/SimpleCompiler.java