mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
KTIJ-33579 [kotlin] Add extra documentation to ImportContext.isExplicitReceiver
GitOrigin-RevId: aa8acc7575310b81def45467d9f3f60c6ec2473d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c5c7b01cd0
commit
4a0eba89cb
+10
@@ -13,6 +13,16 @@ import org.jetbrains.kotlin.psi.KtExpression
|
||||
internal interface ImportContext {
|
||||
val position: KtElement
|
||||
val positionType: ImportPositionType
|
||||
|
||||
/**
|
||||
* Indicates whether the receiver of a call is explicitly applied in the position
|
||||
* represented by this import context.
|
||||
*
|
||||
* Note: If [isExplicitReceiver] is `true`, it does not mean that there
|
||||
* is an explicit PSI expression which can be considered a receiver.
|
||||
* It just means that the type of explicit receiver cannot be ignored
|
||||
* when applying auto-import candidates.
|
||||
*/
|
||||
val isExplicitReceiver: Boolean
|
||||
|
||||
context(KaSession)
|
||||
|
||||
Reference in New Issue
Block a user