Class<?>[] mixIntfs = {MixinInterface.class};
ProxyMixin mixin = new ProxyMixin(new Mixin(), mixIntfs);
ProxyMixin[] mixins = {mixin};
Class<?>[] intfs = {SomeInterface.class};
ClassInstanceAdvisor advisor = new ClassInstanceAdvisor();
advisor.insertInterceptor(new EchoInterceptor());
/*
CtClass clazz = ProxyFactory.createProxyCtClass(Thread.currentThread().getContextClassLoader(), mixins, intfs);
FileOutputStream fo = new FileOutputStream(clazz.getName() + ".class");
DataOutputStream dos = new DataOutputStream(fo);