@ -69,7 +69,7 @@ class UnusedArgTransformer : Transformer() {
}
}
is MethodInsnNode -> {
is MethodInsnNode -> {
val invokePartition = inheritedMethodSets [ MemberRef ( insn ) ]
val invokePartition = inheritedMethodSets [ MemberRef ( insn ) ]
if ( invokePartition == null || TypedRemapper . isMethodImmut able ( classPath , invokePartition ) ) {
if ( invokePartition == null || ! TypedRemapper . isMethodRenam able ( classPath , invokePartition ) ) {
continue @frame
continue @frame
}
}
@ -113,7 +113,7 @@ class UnusedArgTransformer : Transformer() {
}
}
val partition = inheritedMethodSets [ MemberRef ( insn ) ]
val partition = inheritedMethodSets [ MemberRef ( insn ) ]
if ( partition == null || TypedRemapper . isMethodImmut able ( classPath , partition ) ) {
if ( partition == null || ! TypedRemapper . isMethodRenam able ( classPath , partition ) ) {
continue
continue
}
}
@ -146,7 +146,7 @@ class UnusedArgTransformer : Transformer() {
) : Boolean {
) : Boolean {
// delete unused int args from the method itself
// delete unused int args from the method itself
val partition = inheritedMethodSets [ MemberRef ( clazz , method ) ] !!
val partition = inheritedMethodSets [ MemberRef ( clazz , method ) ] !!
if ( TypedRemapper . isMethodImmut able ( classPath , partition ) ) {
if ( ! TypedRemapper . isMethodRenam able ( classPath , partition ) ) {
return false
return false
}
}