refactor: rename method collectArgsWithoutLoading into collectArgNodes in MethodNode (#2142)

This commit is contained in:
Skylot
2024-04-07 23:09:02 +01:00
parent 0f52077c5c
commit dbadbb01fc
5 changed files with 7 additions and 7 deletions
@@ -60,7 +60,7 @@ fun generateMethodSnippet(mthNode: MethodNode): String {
""
}
val shortClassName = mthNode.parentClass.name
val argNames = mthNode.collectArgsWithoutLoading().map { a -> a.name }
val argNames = mthNode.collectArgNodes().map { a -> a.name }
val args = argNames.joinToString(separator = ", ")
val logArgs = if (argNames.isNotEmpty()) {
argNames.joinToString(separator = " + ', ' + ", prefix = " + ', ' + ") { p -> "'$p: ' + $p" }