aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/replaymod/gradle/remap
diff options
context:
space:
mode:
authorJonas Herzig <jonas@spark-squared.com>2021-11-11 22:43:47 +0100
committerJonas Herzig <jonas@spark-squared.com>2021-11-12 15:23:25 +0100
commitf4c86df102889429d125c9c62a96a702aad562d4 (patch)
tree3abdd2bbe2c0b28e0557fd31ca82cac54ef9c83c /src/main/kotlin/com/replaymod/gradle/remap
parent8b1a5a77e75d868cd13ad7dc4d109125711898ce (diff)
downloadRemap-f4c86df102889429d125c9c62a96a702aad562d4.tar.gz
Remap-f4c86df102889429d125c9c62a96a702aad562d4.tar.bz2
Remap-f4c86df102889429d125c9c62a96a702aad562d4.zip
Remove obsolete comment
Diffstat (limited to 'src/main/kotlin/com/replaymod/gradle/remap')
-rw-r--r--src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt b/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt
index edb867c..bf5ddda 100644
--- a/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt
+++ b/src/main/kotlin/com/replaymod/gradle/remap/PsiMapper.kt
@@ -146,7 +146,7 @@ internal class PsiMapper(
if (maybeMapped == null) {
// Can happen if a method is a synthetic property in the current mapping (e.g. `isNonBoss`) but not
// in the target mapping (e.g. `canUsePortal()`)
- // TODO probably also want to convert in the opposite direction, though that's a lot harder
+ // This is the reverse to the operation in [map(PsiElement, PsiMethod)].
replaceIdentifier(expr, "$mappedGetter()")
} else {
val mapped = maybeMapped.identifier