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

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

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