Files
kotlin-fork/analysis/analysis-api/testData/components/callResolver/resolveCall/javaPropertySetter.txt
T
Stanislav Erokhin 8d8fc6e291 [Analysis API] Add type to KtReceiverValue
Maybe in the future we could remove type from the
KtImplicitReceiverValue, because it has ktSymbol, and in theory
that should be enough to create corresponding KtType.
Unfortunately that is not the case for KtClassOrObjectSymbol --
it doesn't have the API for "default" type creation currently.

Regarding code in KtFirCallResolver.kt -- it seems like code there
needs some love in the future. Psi created via custom code there,
because for call x() FIR has receiver x with psi = null
2022-06-23 07:50:21 +00:00

16 lines
528 B
Plaintext
Vendored

KtSuccessCallInfo:
call = KtSimpleVariableAccessCall:
partiallyAppliedSymbol = KtPartiallyAppliedSymbol:
dispatchReceiver = KtExplicitReceiverValue:
expression = javaClass
isSafeNavigation = false
type = JavaClass
extensionReceiver = null
signature = KtVariableLikeSignature:
name = foo
receiverType = null
returnType = kotlin.Int
symbol = var foo: kotlin.Int
callableIdIfNonLocal = /JavaClass.foo
simpleAccess = Write:
value = 42