aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt')
-rw-r--r--src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt b/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt
index 1c5ac67..5dba364 100644
--- a/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt
+++ b/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt
@@ -444,6 +444,7 @@ internal class PsiMapper(
val methodName = method.name
val targetByName = when {
methodName.startsWith("invoke") -> methodName.substring(6)
+ methodName.startsWith("call") -> methodName.substring(4)
methodName.startsWith("is") -> methodName.substring(2)
methodName.startsWith("get") || methodName.startsWith("set") -> methodName.substring(3)
else -> null