in jvm-agent/src/main/org/jetbrains/lincheck/jvm/agent/transformers/MethodCallTransformer.kt [390:397]
fun endsWithModuleName(): Boolean {
val tail = originalName.substringAfterLast("$", "")
if (tail.isEmpty()) return false
val sourceSetName = tail.substringAfterLast('_', "")
if (sourceSetName.isEmpty()) return false
return sourceSetName == "main" || sourceSetName == "test" ||
sourceSetName.endsWith("Main") || sourceSetName.endsWith("Test")
}