// public static <Interface> delegate;
private static void declareField(ClassWriter cw, String interfaceName) {
FieldVisitor fv =
cw.visitField(ACC_PUBLIC + ACC_STATIC, DELEGATE_FIELD, getSignature(interfaceName), null, null);
fv.visitEnd();
}
// public class _<Interface>Impl implements <Interface>
private static void declareClass(ClassWriter cw, String interfaceName, String className) {
cw.visit(V1_5, ACC_PUBLIC + ACC_SUPER, className, null, "java/lang/Object", new String[] {interfaceName});