Egor K.
06/18/2024, 8:39 AMdmitriy.novozhilov
06/18/2024, 8:40 AMKtVisitor
Egor K.
06/18/2024, 8:49 AMSomeEnum.name
property using visitDotQualifiedExpression
. I found them, but I need to ensure that the .name expression belongs only to an Еnum
. I then tried to verify this using:
val receiverKotlinTypeInfo: KotlinTypeInfo? =
bindingContext[BindingContext.EXPRESSION_TYPE_INFO, receiverExpression]
However, it returns null. I suppose I am doing something wrong at this stage. This is why I need more information about BindingContext
or other related concepts.dmitriy.novozhilov
06/18/2024, 8:51 AMEgor K.
06/18/2024, 8:55 AM