Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 173 for accessor (0.28 sec)

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

        // One of the compiler lowerings, namely `PropertyReferenceLowering`,
        // optimizes usages of property references in some cases,
        // 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,
    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/InlineFunctionsCollector.kt

            if (descriptor is DeserializedSimpleFunctionDescriptor) return
    
            analyzeNextIfInline(descriptor)
    
            if (descriptor is PropertyDescriptor) {
                for (accessor in descriptor.accessors) {
                    analyzeNextIfInline(accessor)
                }
            }
        }
    
        private fun analyzeNextIfInline(descriptor: CallableDescriptor) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 29 23:55:31 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolInfoProvider.kt

            property: KtPropertySymbol,
            accessor: KtPropertyAccessorSymbol?,
            accessorDescriptorProvider: (PropertyDescriptor) -> PropertyAccessorDescriptor?
        ): DeprecationInfo? {
            val propertyDescriptor = getSymbolDescriptor(property) as? PropertyDescriptor ?: return null
            ForceResolveUtil.forceResolveAllContents(propertyDescriptor)
    
            if (accessor != null) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Jun 08 13:34:50 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  4. build-logic-commons/basics/build.gradle.kts

        implementation(kotlin("compiler-embeddable") as String) {
            because("Required by KotlinSourceParser")
        }
        implementation(kotlin("gradle-plugin") as String) {
            because("For manually defined KotlinSourceSet accessor - sourceSets.main.get().kotlin")
        }
    
        testImplementation("org.junit.jupiter:junit-jupiter-engine:5.8.2")
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun Oct 01 12:13:59 GMT 2023
    - 981 bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolInfoProvider.kt

            if (jvmNameFromProperty != null) {
                return jvmNameFromProperty
            }
    
            val accessor = if (isSetter) property.setter else property.getter
            val jvmNameFromAccessor = accessor?.getJvmNameFromAnnotation(analysisSession.useSiteSession)
            if (jvmNameFromAccessor != null) {
                return jvmNameFromAccessor
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Sep 19 22:14:09 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiDefaultSetterParameterSymbol.kt

    ) : KtValueParameterSymbol(), KtFe10Symbol {
        val descriptor: VariableDescriptor? by cached {
            val bindingContext = analysisContext.analyze(accessorPsi, AnalysisMode.PARTIAL)
            bindingContext[BindingContext.PROPERTY_ACCESSOR, accessorPsi]?.valueParameters?.single()
        }
    
        override val origin: KtSymbolOrigin
            get() = withValidityAssertion { KtSymbolOrigin.SOURCE_MEMBER_GENERATED }
    
        override val hasDefaultValue: Boolean
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiPropertyGetterSymbol.kt

        override val descriptor: PropertyGetterDescriptor? by cached {
            val bindingContext = analysisContext.analyze(psi, AnalysisMode.PARTIAL)
            bindingContext[BindingContext.PROPERTY_ACCESSOR, psi] as? PropertyGetterDescriptor
        }
    
        override val modality: Modality
            get() = withValidityAssertion { psi.property.ktModality ?: descriptor?.ktModality ?: Modality.FINAL }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiPropertySetterSymbol.kt

        override val descriptor: PropertySetterDescriptor? by cached {
            val bindingContext = analysisContext.analyze(psi, AnalysisMode.PARTIAL)
            bindingContext[BindingContext.PROPERTY_ACCESSOR, psi] as? PropertySetterDescriptor
        }
    
        override val modality: Modality
            get() = withValidityAssertion { psi.property.ktModality ?: descriptor?.ktModality ?: Modality.FINAL }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                val bindingContext = analysisContext.analyze(declaration)
                val kotlinType = bindingContext[BindingContext.PROPERTY_ACCESSOR, declaration]?.returnType
                    ?: ErrorUtils.createErrorType(
                        ErrorTypeKind.IMPLICIT_RETURN_TYPE_FOR_PROPERTY_ACCESSOR, declaration.property.name ?: "<unknown>"
                    )
    
                return kotlinType.toKtType(analysisContext)
            }
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Oct 24 20:59:56 GMT 2023
    - 15.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

            override fun isAccessorWithExplicitImplementation(accessor: IrSimpleFunction): Boolean {
                if (accessor is AbstractFir2IrLazyDeclaration<*>) {
                    val fir = accessor.fir
                    if (fir is FirFunction && fir.hasBody) {
                        return true
                    }
                }
                return false
            }
        }
    
        private class CompilerFacilityFir2IrExtensions(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
Back to top