Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for acquire (0.27 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineDelegatedPropertyAccessorsAnalyzer.kt

        // and if a containing delegated property accessor is inline,
        // it might need this accessor's bytecode.
        //
        // If an accessor function is defined in a different module,
        // IDE tries to acquire its bytecode via the index, however,
        // the index doesn't cover classfiles from compiler output,
        // so the lowering fails.
        //
        // To solve the problem, we need to find all delegated properties with inline accessors
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 29 23:55:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

        }
    
        fun isPrimitiveBacked(type: KotlinType): Boolean =
            AbstractTypeMapper.isPrimitiveBacked(this, type)
    
        override fun getClassInternalName(typeConstructor: TypeConstructorMarker): String {
            require(typeConstructor is TypeConstructor)
    
            return when (val declaration = typeConstructor.declarationDescriptor) {
                is TypeParameterDescriptor -> declaration.name.asString().sanitize()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 10 11:03:45 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineFunctionAnalyzer.kt

    @OptIn(KtAnalysisNonPublicApi::class) // used in IDEA K1 evaluator
    @Suppress("unused")
    fun KtAnalysisSession.getInlineFunctionAnalyzer(analyzeOnlyReifiedInlineFunctions: Boolean): InlineFunctionAnalyzer {
        require(this is KtFe10AnalysisSession) {
            "K2 implementation shouldn't call this code"
        }
        return InlineFunctionAnalyzer(analysisContext, analyzeOnlyReifiedInlineFunctions)
    }
    
    @OptIn(KtAnalysisNonPublicApi::class)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 29 23:55:31 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirResolveExtensionInfoProvider.kt

        }
    }
    
    private class KtFirResolveExtensionScope(
        private val analysisSession: KtFirAnalysisSession,
        private val tools: List<LLFirResolveExtensionTool>,
    ) : KtScope {
        init {
            require(tools.isNotEmpty())
        }
    
        override val token: KtLifetimeToken get() = analysisSession.token
    
        override fun getCallableSymbols(nameFilter: KtScopeNameFilter): Sequence<KtCallableSymbol> = withValidityAssertion {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompletionCandidateChecker.kt

            firExplicitReceiver = explicitReceiver?.let(::findReceiverFirExpression)
        }
    
        override fun computeApplicability(candidate: KtCallableSymbol): KtExtensionApplicabilityResult {
            require(candidate is KtFirSymbol<*>)
    
            analysisSession.withValidityAssertion {
                val firSymbol = candidate.firSymbol as FirCallableSymbol<*>
                firSymbol.lazyResolveToPhase(FirResolvePhase.STATUS)
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompilerFacility.kt

                    override fun getContainerSource(descriptor: DeclarationDescriptor): DeserializedContainerSource? {
                        // Stubbed top-level function IR symbols (from other source files in the module) require a parent facade class to be
                        // generated, which requires a container source to be provided. Without a facade class, function IR symbols will have
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Dec 01 13:22:55 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

            require(type is KtFe10Type)
            return typeApproximator.approximateToSuperType(type.fe10Type, PublicApproximatorConfiguration(approximateLocalTypes))
                ?.toKtType(analysisContext)
        }
    
        override fun approximateToSubPublicDenotableType(type: KtType, approximateLocalTypes: Boolean): KtType? {
            require(type is KtFe10Type)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirSyntheticFunctionInterfaceSourceProvider.kt

        }
    
        private fun classByClassId(classId: ClassId, ktModule: KtModule): KtClassOrObject? {
            val project = ktModule.project
            val correctedClassId = classIdMapping[classId] ?: return null
            require(ktModule is KtBuiltinsModule) {
                "Expected builtin module but found $ktModule"
            }
            return project.createDeclarationProvider(ProjectScope.getLibrariesScope(project), ktModule)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Jun 02 14:27:26 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            val assignmentRValue = fir.rValue
            if (expression is KtOperationReferenceExpression &&
                assignmentRValue.source?.kind is KtFakeSourceElementKind.DesugaredAugmentedAssign
            ) {
                require(assignmentRValue is FirResolvable) {
                    "Rvalue of desugared compound assignment should be resolvable, but it was ${assignmentRValue::class}"
                }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeInfoProvider.kt

            require(type is KtFe10Type)
            return TypeUtils.isNullableType(type.fe10Type)
        }
    
        override fun isDenotable(type: KtType): Boolean {
            require(type is KtFe10Type)
            val kotlinType = type.fe10Type
            return kotlinType.isDenotable()
        }
    
        override fun isArrayOrPrimitiveArray(type: KtType): Boolean {
            require(type is KtFe10Type)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Feb 02 08:24:52 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top