Fix patching issue - javassist doesn't do class mappings properly with CtNewMethod

Signed-off-by: Ross Allan <rallanpcl@gmail.com>