//...........
ClassLoader cl = compiler.getClassLoader();
if( !(cl instanceof ByteArrayClassLoader) )
throw new Error("class loader not instance of org.codehaus.janino.ByteArrayClassLoader");
ByteArrayClassLoader bcl = (ByteArrayClassLoader)cl;
ArrayList<MemoryByteCode> result = new ArrayList<MemoryByteCode>();
for( Object oClassName : bcl.getClasses().keySet() ){
if( oClassName==null )continue;
String sClassName = oClassName.toString();
Object _data = bcl.getClasses().get(oClassName);
byte[] data = (byte[])_data;
result.add(new MemoryByteCode(sClassName, data));
}