Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Center (0.23 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/contracts/firContractUtils.kt

                }
            else firFunctionSymbol.valueParameters[valueParameterReference.parameterIndex]
        )
    
        // Util function to avoid hard coding names of the classes. Type inference will do a better job figuring out the best type to cast to.
        // This visitor isn't type-safe anyway
        private inline fun <reified T> ConeContractDescriptionElement.accept() =
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Jul 26 14:29:20 GMT 2023
    - 7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiKotlinPropertySymbol.kt

            get() = withValidityAssertion { psi.isVar }
    
        override val getter: KtPropertyGetterSymbol
            get() = withValidityAssertion {
                val getter = psi.getter ?: return KtFe10PsiDefaultPropertyGetterSymbol(psi, analysisContext)
                return KtFe10PsiPropertyGetterSymbol(getter, analysisContext)
            }
    
        override val setter: KtPropertySetterSymbol?
            get() = withValidityAssertion {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirPropertyDelegationMethodsReference.kt

            if (property.delegate == null) return emptyList()
            val getValueSymbol = (property.getter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol()
            val setValueSymbol = (property.setter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol()
            return listOfNotNull(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 22 11:20:19 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/contracts/descriptorContractUtils.kt

        ): T = constructor(variableReference.descriptor.toKtSymbol(analysisContext) as KtParameterSymbol)
    
        // Util function to avoid hard coding names of the classes. Type inference will do a better job figuring out the best type to cast to.
        // This visitor isn't type-safe anyway
        private inline fun <reified T> ContractDescriptionElement.accept() = accept(this@ContractDescriptionElementToAnalysisApi, Unit) as T
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Dec 01 13:42:49 GMT 2022
    - 5.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         * of the [classShortenStrategy] and [callableShortenStrategy] filters,
         * but ATM we don't have a way to properly handle
         * [FirThisReference]s through the existing filters.
         *
         * We need a better way to decide shortening strategy
         * for labeled and regular `this` expressions (KT-63555).
         */
        private fun thisLabelShortenStrategy(thisReference: FirThisReference): ShortenStrategy {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                // is different from the return type of the constructor.
                //
                // TODO: This seems a little indirect. Is there a better way to do this? For FE1.0 there is
                // a special `TypeAliasConstructorDescriptor` for this case. For FIR there is
                // FirConstructor.originalConstructorIfTypeAlias but that doesn't seem to help here as it
    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)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolInfoProvider.kt

                AnnotationUseSiteTarget.PROPERTY_GETTER -> {
                    if (symbol is KtPropertySymbol) {
                        return getDeprecation(symbol.getter ?: symbol)
                    }
                }
                AnnotationUseSiteTarget.PROPERTY_SETTER -> {
                    if (symbol is KtPropertySymbol) {
                        return getDeprecation(symbol.setter ?: symbol)
                    }
                }
    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)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescKotlinPropertySymbol.kt

            }
    
        override val getter: KtPropertyGetterSymbol?
            get() = withValidityAssertion {
                if (descriptor.isDynamic()) return null
                val getter = descriptor.getter ?: return KtFe10DescDefaultPropertyGetterSymbol(descriptor, analysisContext)
                return KtFe10DescPropertyGetterSymbol(getter, analysisContext)
            }
    
        override val setter: KtPropertySetterSymbol?
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            /**
             * Not all expressions appear in the [ControlFlowGraph].
             * Still, if we find at least some of them, it's very unlikely that we will ever find a better graph.
             */
            val firCandidates = buildSet {
                fun addCandidate(firCandidate: FirElement) {
                    add(firCandidate)
    
                    if (firCandidate is FirBlock) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                token,
            )
        }
        add(FirJsErrors.NATIVE_GETTER_RETURN_TYPE_SHOULD_BE_NULLABLE) { firDiagnostic ->
            NativeGetterReturnTypeShouldBeNullableImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirJsErrors.NATIVE_SETTER_WRONG_RETURN_TYPE) { firDiagnostic ->
            NativeSetterWrongReturnTypeImpl(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
Back to top