Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for consider (0.18 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

            consumer.addIfNotNull(symbol)
        }
    
        private fun KtAnalysisSession.collectSymbolsByClassId(classId: ClassId, consumer: MutableCollection<KtSymbol>) {
            val symbol = getClassOrObjectSymbolByClassId(classId) ?: getTypeAliasByClassId(classId)
            consumer.addIfNotNull(symbol)
        }
    
        private fun KtAnalysisSession.collectSymbolsByFqNameInterpretationAsCallableId(
            callableId: CallableId,
    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)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/pointers/KtFe10DescFunctionLikeSymbolPointer.kt

    class KtFe10DescFunctionLikeSymbolPointer<T : KtFunctionLikeSymbol>(
        private val callableId: CallableId,
        private val signature: String
    ) : KtSymbolPointer<T>() {
        @Deprecated("Consider using org.jetbrains.kotlin.analysis.api.KtAnalysisSession.restoreSymbol")
        override fun restoreSymbol(analysisSession: KtAnalysisSession): T? {
            check(analysisSession is KtFe10AnalysisSession)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Sep 21 12:40:44 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DynamicFunctionDescValueParameterSymbol.kt

        override fun hashCode(): Int = owner.hashCode()
    
    
        private class Pointer(val ownerPointer: KtSymbolPointer<KtFunctionSymbol>) : KtSymbolPointer<KtValueParameterSymbol>() {
            @Deprecated("Consider using org.jetbrains.kotlin.analysis.api.KtAnalysisSession.restoreSymbol")
            override fun restoreSymbol(analysisSession: KtAnalysisSession): KtValueParameterSymbol? {
                @Suppress("DEPRECATION")
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLDiagnosticConverter.kt

                ?: tryMapPsiElementType(kClass)
                ?: tryMapFirTypeToKtType(kClass, nullable)
                ?: tryMapPlatformType(type, kClass)
                ?: error("Unsupported type $type, consider add corresponding mapping")
        }
    
        fun getAllConverters(conversionForCollectionValues: HLParameterConversion): Map<KClass<*>, HLParameterConversion> {
            return buildMap {
                putAll(typeMapping)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Nov 06 14:41:18 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // When you call a method from Java with type arguments, in FIR they are currently represented as flexible types.
            // TODO Consider handling other non-ConeLookupTagBasedType types here (see KT-66418)
            val type = getDeclaredType()?.lowerBoundIfFlexible() as? ConeLookupTagBasedType
    
            return type?.toTargetSymbol(session, symbolBuilder) ?: run {
    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)
  6. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/expressionTypeProvider/Fe10IdeNormalAnalysisSourceModuleHLExpressionTypeTestGenerated.java

      }
    
      @Test
      @TestMetadata("callableReference_consumer.kt")
      public void testCallableReference_consumer() {
        runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/callableReference_consumer.kt");
      }
    
      @Test
      @TestMetadata("callableReference_function.kt")
      public void testCallableReference_function() {
    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)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                return true
        }
        val resolution = reference.resolve()
        return resolution != null && resolution !is KtClass
    }
    
    /**
     * Invocations of _statically named_ callables is not considered a use. E.g.
     * consider
     *
     *   1)   fun f() { 54 }; f()
     *   2)   val f = { 54 }; f()
     *
     * in which the `f` in 2) is regarded as used and `f` in 1) is not.
     */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

         *
         * Such substitute overrides happen because of inheritance.
         *
         * If the declaration references only its own type parameters, or parameters from the outer declarations, then
         * we consider that it's signature will not be changed by the SUBSTITUTION_OVERRIDE, so the wrapper can be unwrapped.
         *
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                     *
                     * In the above code, we must prevent it from shortening `a.b.c.foo(3, "test")`. However, if we explicitly pass the type
                     * arguments to the resolver, the resolver considers it has some explicit type arguments. Therefore, it reports that the
                     * only function matching the signature is A, because B does not have type parameters. However, actually B also matches the
    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)
  10. ChangeLog.md

    - [`KT-57720`](https://youtrack.jetbrains.com/issue/KT-57720) Native: Consider strictening NativeRuntimeApi opt-in requirement level to ERROR
    - [`KT-57837`](https://youtrack.jetbrains.com/issue/KT-57837) Deprecate kotlin.native.SharedImmutable and kotlin.native.concurrent.SharedImmutable
    - [`KT-58126`](https://youtrack.jetbrains.com/issue/KT-58126) Wasm: Consider removing Primitive.equals(Primitive) overload on primitive types
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
Back to top