presto-main/src/main/java/io/prestosql/sql/gen/IsolatedClass.java/IsolatedClass/getBytecode
class IsolatedClass:    private static byte[] getBytecode(Class<?> clazz)
    {
        try (InputStream stream = clazz.getClassLoader().getResourceAsStream(clazz.getName().replace('.', '/') + ".class")) {
            checkArgument(stream != null, "Could not obtain byte code for class %s", clazz.getName());
            return ByteStreams.toByteArray(stream);
        }
        catch (IOException e) {
            throw new RuntimeException(format("Could not obtain byte code for class %s", clazz.getName()), e);
        }
    }