Skip to content

KaResolutionActivityTracker

This service provides a bridge between the Analysis API, Kotlin IntelliJ plugin and Java IntelliJ plugin.

In particular, this service helps to mark periods when the thread is busy with Kotlin resolution. During this time more strict rules may be applied on Java resolution, so it should take into account this to avoid Kotlin compiler contract violations.

This service should be dropped as soon as it will be possible to implement the new suppression logic for com.intellij.psi.impl.PsiFileEx.BATCH_REFERENCE_PROCESSING directly in the Kotlin repository (KT-73649 as a reference).

Types

Companion

object Companion

Properties

isKotlinResolutionActive

Whether the thread is currently executing Kotlin resolution logic.