Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for approximateToSuperType (0.25 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeInfoProvider.kt

        override fun isDenotable(type: KtType): Boolean {
            val coneType = (type as KtFirType).coneType
            return analysisSession.useSiteSession.typeApproximator.approximateToSuperType(
                coneType,
                PublicTypeApproximator.PublicApproximatorConfiguration(false)
            ) == null
        }
    
        override fun isArrayOrPrimitiveArray(type: KtType): Boolean {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Jan 03 17:15:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

            return superTypes.asSequence().map {
                val type = substitutor.substituteOrSelf(it)
                if (shouldApproximate) {
                    session.typeApproximator.approximateToSuperType(
                        type,
                        TypeApproximatorConfiguration.FinalApproximationAfterResolutionAndInference
                    ) ?: type
                } else {
                    type
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

        override fun approximateToSuperPublicDenotableType(type: KtType, approximateLocalTypes: Boolean): KtType? {
            require(type is KtFe10Type)
            return typeApproximator.approximateToSuperType(type.fe10Type, PublicApproximatorConfiguration(approximateLocalTypes))
                ?.toKtType(analysisContext)
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
Back to top