FIR IDE: do not use FE1.0 compiler jars in frontend-independent-modules

This commit is contained in:
Ilya Kirillov
2021-09-12 19:18:24 +02:00
parent da962895a8
commit a8d321db63
5 changed files with 42 additions and 23 deletions
@@ -18,6 +18,12 @@ fun propertyNameBySetMethodName(methodName: Name, withIsPrefix: Boolean): Name?
fun propertyNamesBySetMethodName(methodName: Name): List<Name> =
listOfNotNull(propertyNameBySetMethodName(methodName, false), propertyNameBySetMethodName(methodName, true))
fun propertyNamesByAccessorName(name: Name): List<Name> = listOfNotNull(
propertyNameByGetMethodName(name),
propertyNameBySetMethodName(name, withIsPrefix = true),
propertyNameBySetMethodName(name, withIsPrefix = false)
)
private fun propertyNameFromAccessorMethodName(
methodName: Name,
prefix: String,