Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for withPsiAttachment (0.38 sec)

  1. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtStandaloneProjectStructureProvider.kt

                    .withPsiAttachment("containingFile", containingFile)
                    .withAttachment("contextualModule", contextualModule?.asDebugString())
            }
    
            return allKtModules.firstOrNull { module -> virtualFile in module.contentScope }
                ?: throw KotlinExceptionWithAttachments("Cannot find a KtModule for the VirtualFile")
                    .withPsiAttachment("containingFile", containingFile)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Apr 10 16:23:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KaFe10Resolver.kt

            }
    
            checkWithAttachment(
                reference is KtFe10Reference,
                { "${reference::class.simpleName} is not extends ${KtFe10Reference::class.simpleName}" },
            ) {
                it.withPsiAttachment("reference", reference.element)
            }
    
            val bindingContext = analysisContext.analyze(reference.element, AnalysisMode.PARTIAL)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top