File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 16
16
*/
17
17
package org.sonarsource.kotlin.checks
18
18
19
+ import org.jetbrains.kotlin.analysis.api.resolution.KaFunctionCall
19
20
import org.jetbrains.kotlin.psi.KtCallExpression
20
21
import org.jetbrains.kotlin.psi.KtDotQualifiedExpression
21
22
import org.jetbrains.kotlin.psi.KtSuperExpression
22
- import org.jetbrains.kotlin.resolve.calls.model.ResolvedCall
23
23
import org.sonar.check.Rule
24
24
import org.sonarsource.kotlin.api.checks.CallAbstractCheck
25
25
import org.sonarsource.kotlin.api.checks.FunMatcher
26
26
import org.sonarsource.kotlin.api.checks.FunMatcherImpl
27
27
import org.sonarsource.kotlin.api.frontend.KotlinFileContext
28
28
29
- @org.sonarsource.kotlin.api.frontend.K1only
30
29
@Rule(key = " S6518" )
31
30
class IndexedAccessCheck : CallAbstractCheck () {
32
31
@@ -38,7 +37,7 @@ class IndexedAccessCheck : CallAbstractCheck() {
38
37
39
38
override fun visitFunctionCall (
40
39
callExpression : KtCallExpression ,
41
- resolvedCall : ResolvedCall <* >,
40
+ resolvedCall : KaFunctionCall <* >,
42
41
matchedFun : FunMatcherImpl ,
43
42
kotlinFileContext : KotlinFileContext ,
44
43
) {
You can’t perform that action at this time.
0 commit comments