public static MethodModif generate(Method old, Method new_, CPoolMap map){
String identifier = Util.getMethodIdentifier(old);
String retPatch = Util.getMethodReturn(new_);
if(Util.getMethodReturn(old).equals(retPatch))
retPatch = null;
AccessFlagsPatch flagsPatch = AccessFlagsPatch.generate(
old.getAccessFlags(),
new_.getAccessFlags(),
AccessFlagsPatch.AccessLevel.METHOD);
AttributesPatch attribsPatch = AttributesPatch.generate(
old.getAttributes(),