@ -44,7 +44,7 @@ public final class MethodNodeUtils {
.collect(Collectors.toList());
}
public static void deleteArgument(MethodNode method, int argIndex) {
public static void removeArgument(MethodNode method, int argIndex) {
/* remove argument from the signature */
var type = Type.getType(method.desc);
@ -185,7 +185,7 @@ public final class UnusedArgTransformer extends Transformer {
for (var i = argTypes.length - 1; i >= 0; i--) {
var argType = argTypes[i];
if (INT_SORTS.contains(argType.getSort()) && !retainedArgs.contains(new ArgRef(partition, i))) {
MethodNodeUtils.deleteArgument(method, i);
MethodNodeUtils.removeArgument(method, i);
deletedArgs++;