File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
src/main/kotlin/io/github/gerardorodriguezdev/chamaleon/intellij/plugin/psi Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ kmp-arrow = "2.1.1"
1919jvm-test-parameterized = " 5.12.2"
2020
2121# Releases
22- release = " 1.0.14 "
22+ release = " 1.0.15 "
2323
2424[libraries ]
2525detekt-formatting = { module = " io.gitlab.arturbosch.detekt:detekt-formatting" , version.ref = " detekt" }
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ kotlin {
6868 testImplementation(libs.kmp.test.coroutines)
6969
7070 intellijPlatform {
71- intellijIdeaCommunity(" 2024.3 " )
71+ intellijIdeaCommunity(" 2025.1.1.1 " )
7272
7373 bundledPlugins(" org.jetbrains.kotlin" , " com.intellij.modules.json" )
7474
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import com.intellij.psi.PsiReference
66import com.intellij.psi.PsiReferenceProvider
77import com.intellij.util.ProcessingContext
88import org.jetbrains.kotlin.analysis.api.analyze
9+ import org.jetbrains.kotlin.analysis.api.types.symbol
910import org.jetbrains.kotlin.psi.KtCallExpression
1011import org.jetbrains.kotlin.psi.KtDotQualifiedExpression
1112import org.jetbrains.kotlin.psi.KtStringTemplateExpression
@@ -26,9 +27,9 @@ internal class PropertyDefinitionReferenceProvider : PsiReferenceProvider() {
2627 val receiverExpression = qualifiedExpression.receiverExpression
2728
2829 analyze(receiverExpression) {
29- val receiverType = receiverExpression.getKtType() .bind()
30+ val receiverType = receiverExpression.expressionType .bind()
3031 val classFqName =
31- receiverType.expandedClassSymbol?.classIdIfNonLocal ?.asSingleFqName()?.asString().bind()
32+ receiverType.symbol?.classId ?.asSingleFqName()?.asString().bind()
3233 ensure(classFqName == PLATFORM_MODEL_FULL_NAME )
3334 }
3435
You can’t perform that action at this time.
0 commit comments