8b0eb0488f
Add a new method `isImplicitReferenceToCompanion` to determine if the given reference is an implicit reference to a companion object. The method is needed for the rename refactoring in IJ. ^KTIJ-25863
11 lines
108 B
Kotlin
Vendored
11 lines
108 B
Kotlin
Vendored
class AA {
|
|
companion object {
|
|
operator fun invoke() {}
|
|
}
|
|
}
|
|
|
|
fun main() {
|
|
A<caret>A()
|
|
}
|
|
|