Search in sources :

Example 1 with LookupTracker

use of org.jetbrains.kotlin.incremental.components.LookupTracker in project kotlin by JetBrains.

the class ExpressionTypingVisitorDispatcher method recordTypeInfo.

private void recordTypeInfo(@NotNull KtExpression expression, @NotNull KotlinTypeInfo typeInfo) {
    LookupTracker lookupTracker = getComponents().lookupTracker;
    KotlinType resultType = typeInfo.getType();
    if (resultType != null) {
        LookupTrackerUtilKt.record(lookupTracker, expression, resultType);
    }
}
Also used : LookupTracker(org.jetbrains.kotlin.incremental.components.LookupTracker) KotlinType(org.jetbrains.kotlin.types.KotlinType)

Aggregations

LookupTracker (org.jetbrains.kotlin.incremental.components.LookupTracker)1 KotlinType (org.jetbrains.kotlin.types.KotlinType)1