refinedContextModule¶
A context module against which analysis of this code fragment should be performed.
refinedContextModule is a KtCodeFragment-tailored version of KtFile.contextModule.
Normally, the context module is taken from the context element. However, in some cases the code fragment needs to be analyzed in a refined environment. Such as, the context element may be in the common module, while the code fragment is analyzed in its JVM counterpart.
This is an advanced and rarely needed feature. Use it with caution.