}
if (!(classFileObject instanceof ByteArrayJavaFileObject))
throw new UnsupportedOperationException("Only supports byte array based java file objects.");
ByteArrayJavaFileObject bajfo = (ByteArrayJavaFileObject) classFileObject;
return bajfo.toByteArray();
}