cfw.addInvoke(ByteCode.INVOKESPECIAL, superName, "<init>", "()V");
cfw.addLoadThis();
cfw.add(ByteCode.ALOAD_1); // event adapter
cfw.add(ByteCode.PUTFIELD, cfw.getClassName(), "events", adapterSignature);
cfw.add(ByteCode.RETURN);
cfw.stopMethod((short)2);
for (Method method : methods) {
String methodName = method.getName();
String eventName = overrides == null
? toEventName(methodName)