Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for property (0.43 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                    val property = propertyAccessor?.parent as? KtProperty
                    if (property != null && property.setter == propertyAccessor) {
                        val bindingContext = analysisContext.analyze(property)
                        val kotlinType = bindingContext[BindingContext.VARIABLE, property]?.returnType
    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)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

        when (this) {
            is SyntheticJavaPropertyDescriptor -> return KtSymbolOrigin.JAVA_SYNTHETIC_PROPERTY
            is SyntheticFieldDescriptor -> return KtSymbolOrigin.PROPERTY_BACKING_FIELD
            is SamConstructorDescriptor -> return KtSymbolOrigin.SAM_CONSTRUCTOR
            is JavaClassDescriptor, is JavaCallableMemberDescriptor -> return KtSymbolOrigin.JAVA
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/expressionTypeProvider/Fe10IdeNormalAnalysisSourceModuleHLExpressionTypeTestGenerated.java

        runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/prefixInc.kt");
      }
    
      @Test
      @TestMetadata("property.kt")
      public void testProperty() {
        runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/property.kt");
      }
    
      @Test
      @TestMetadata("resolvedSuper.kt")
      public void testResolvedSuper() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:25:50 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

                simpleFunction.returnTypeRef.accept(this)
            }
    
            override fun visitProperty(property: FirProperty) {
                property.typeParameters.forEach { it.accept(this) }
    
                property.receiverParameter?.accept(this)
                property.returnTypeRef.accept(this)
            }
    
            override fun visitReceiverParameter(receiverParameter: FirReceiverParameter) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

                val name = owner.name
                val isMutated = false // TODO capture the usage somehow
    
                if (owner.origin == IrDeclarationOrigin.PROPERTY_DELEGATE) {
                    return CodeFragmentCapturedValue.LocalDelegate(name, isMutated, isCrossingInlineBounds = true)
                }
    
    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)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            // Given: `val x: T = expression`
            // Expected type of `expression` is `T`
            val property = expression.unwrapQualified<KtProperty> { property, expr -> property.initializer == expr } ?: return null
            if (property.typeReference == null) return null
            return getReturnTypeForKtDeclaration(property).nonErrorTypeOrNull()
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

    import org.jetbrains.kotlin.fir.FirSession
    import org.jetbrains.kotlin.fir.backend.jvm.FirJvmSerializerExtension
    import org.jetbrains.kotlin.fir.backend.jvm.FirJvmSerializerExtension.Companion.FIELD_FOR_PROPERTY
    import org.jetbrains.kotlin.fir.backend.jvm.FirJvmSerializerExtension.Companion.METHOD_FOR_FIR_FUNCTION
    import org.jetbrains.kotlin.fir.declarations.*
    import org.jetbrains.kotlin.fir.declarations.utils.classId
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

        ): Collection<KtSymbol> {
            // If the cursor position is on the label of `super`, we want to resolve to the current class. FIR represents `super` as
            // accessing the `super` property on `this`, hence this weird looking if condition. In addition, the current class type is available
            // from the dispatch receiver `this`.
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

        /**
         * Resolves the [selectedFqName] of KDoc
         *
         * To properly resolve qualifier parts in the middle,
         * we need to resolve the whole qualifier to understand which parts of the qualifier are package or class qualifiers.
         * And then we will be able to resolve the qualifier selected by the user to the proper class, package or callable.
         *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                unwrappedPsi !is KtArrayAccessExpression
            ) {
                // Specially handle property assignment because FE1.0 resolves LHS of assignment to just the property, which would then be
                // treated as a property read.
                return resolveCall(parentBinaryExpression)
            }
    
            if (psi is KtCallableReferenceExpression) {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
Back to top