<caret_1>:
  KtNameReferenceExpression(306,309): 'foo'
    KaApplicableCallCandidate:
      candidate = KaSimpleVariableAccessCall:
        contextArguments = []
        dispatchReceiver = KaExplicitReceiverValue:
          expression = kotlinClass
          isSafeNavigation = false
          type = KotlinClass
        extensionReceiver = null
        isContextSensitive = false
        kind = Read
        signature = KaVariableSignature:
          name = foo
          receiverType = null
          returnType = Foo<kotlin.Any>
          symbol = var foo: Foo<kotlin.Any>
          contextParameters = []
          callableId = /KotlinClass.foo
        typeArgumentsMapping = {}
      isInBestCandidates = true

<caret_2>:
  KtNameReferenceExpression(327,330): 'foo'
    KaApplicableCallCandidate:
      candidate = KaSimpleVariableAccessCall:
        contextArguments = []
        dispatchReceiver = KaExplicitReceiverValue:
          expression = kotlinClass
          isSafeNavigation = false
          type = KotlinClass
        extensionReceiver = null
        isContextSensitive = false
        kind = Write:
          value = foo
        signature = KaVariableSignature:
          name = foo
          receiverType = null
          returnType = Foo<kotlin.Any>
          symbol = var foo: Foo<kotlin.Any>
          contextParameters = []
          callableId = /KotlinClass.foo
        typeArgumentsMapping = {}
      isInBestCandidates = true

<caret_3>:
  KtNameReferenceExpression(439,442): 'foo'
    KaApplicableCallCandidate:
      candidate = KaSimpleVariableAccessCall:
        contextArguments = []
        dispatchReceiver = KaSmartCastedReceiverValue:
          original = KaExplicitReceiverValue:
            expression = javaClass
            isSafeNavigation = false
            type = JavaClass<T>
          type = it(KotlinClass & JavaClass<T>)
        extensionReceiver = null
        isContextSensitive = false
        kind = Read
        signature = KaVariableSignature:
          name = foo
          receiverType = null
          returnType = it(Foo<kotlin.Any> & Foo<T!>)
          symbol = var foo: it(Foo<kotlin.Any> & Foo<T!>)
          contextParameters = []
          callableId = /KotlinClass.foo
        typeArgumentsMapping = {}
      isInBestCandidates = true
