Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for TypeApproximator (0.56 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/types/KtTypeRenderer.kt

                this.usualClassTypeRenderer = renderer.usualClassTypeRenderer
                this.classIdRenderer = renderer.classIdRenderer
                this.typeNameRenderer = renderer.typeNameRenderer
                this.typeApproximator = renderer.typeApproximator
                this.typeProjectionRenderer = renderer.typeProjectionRenderer
                this.annotationsRenderer = renderer.annotationsRenderer
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/PublicTypeApproximator.kt

    import org.jetbrains.kotlin.fir.types.typeApproximator
    import org.jetbrains.kotlin.types.TypeApproximatorConfiguration
    
    internal object PublicTypeApproximator {
        fun approximateTypeToPublicDenotable(
            type: ConeKotlinType,
            session: FirSession,
            approximateLocalTypes: Boolean
        ): ConeKotlinType? {
            val approximator = session.typeApproximator
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Feb 07 10:36:36 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

    import org.jetbrains.kotlin.fir.symbols.impl.FirClassSymbol
    import org.jetbrains.kotlin.fir.symbols.lazyResolveToPhaseWithCallableMembers
    import org.jetbrains.kotlin.fir.types.typeApproximator
    import org.jetbrains.kotlin.load.java.JvmAbi
    import org.jetbrains.kotlin.load.kotlin.NON_EXISTENT_CLASS_NAME
    import org.jetbrains.kotlin.load.kotlin.header.KotlinClassHeader
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/types/impl/KtTypeRendererForSource.kt

            usualClassTypeRenderer = KaUsualClassTypeRenderer.AS_CLASS_TYPE_WITH_TYPE_ARGUMENTS
            classIdRenderer = KaClassTypeQualifierRenderer.WITH_QUALIFIED_NAMES
            typeNameRenderer = KaTypeNameRenderer.QUOTED
            typeApproximator = KaRendererTypeApproximator.TO_DENOTABLE
            typeProjectionRenderer = KaTypeProjectionRenderer.WITH_VARIANCE
            annotationsRenderer = KaAnnotationRendererForSource.WITH_QUALIFIED_NAMES
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeInfoProvider.kt

        override fun isDenotable(type: KaType): Boolean {
            val coneType = (type as KaFirType).coneType
            return analysisSession.useSiteSession.typeApproximator.approximateToSuperType(
                coneType,
                PublicTypeApproximator.PublicApproximatorConfiguration(false)
            ) == null
        }
    
        override fun isArrayOrPrimitiveArray(type: KaType): Boolean {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

    internal class KaFe10TypeProvider(
        override val analysisSession: KaFe10Session
    ) : KaTypeProvider(), KaFe10SessionComponent {
        @Suppress("SpellCheckingInspection")
        private val typeApproximator by lazy {
            TypeApproximator(
                analysisContext.builtIns,
                analysisContext.resolveSession.languageVersionSettings
            )
        }
    
        override val token: KaLifetimeToken
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

            require(type is KaFirType)
            val coneType = type.coneType
            val approximatedConeType = rootModuleSession.typeApproximator.approximateToSubType(
                coneType,
                PublicTypeApproximator.PublicApproximatorConfiguration(localTypes = approximateLocalTypes),
            )
    
            return approximatedConeType?.asKtType()
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top