private static void renameMethod ( ClassNode buildee , MethodNode mNode , String newName ) { buildee . addMethod ( newName , mNode . getModifiers ( ) , mNode . getReturnType ( ) , mNode . getParameters ( ) , mNode . getExceptions ( ) , mNode . getCode ( ) ) ; buildee . removeMethod ( mNode ) ; }
no rename so delete and add