classFile.addField(AccessFlag.PRIVATE, INVOCATION_HANDLER_FIELD, InvocationHandler.class);
classFile.addField(AccessFlag.PRIVATE, CONSTRUCTED_GUARD, "Z");
if (serializableProxyClass != null) {
createWriteReplace();
}
<BUG>ProxyMethodBodyCreator creator = new ProxyMethodBodyCreator();
overrideAllMethods(creator);</BUG>
for (Class<?> iface : additionalInterfaces) {
addInterface(creator, iface);
}

classFile.addField(AccessFlag.PRIVATE, INVOCATION_HANDLER_FIELD, InvocationHandler.class);
classFile.addField(AccessFlag.PRIVATE, CONSTRUCTED_GUARD, "Z");
if (serializableProxyClass != null) {
createWriteReplace();
}
MethodBodyCreator creator = getDefaultMethodOverride();
overrideAllMethods(creator);
for (Class<?> iface : additionalInterfaces) {
addInterface(creator, iface);
}
