Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for approximateToSuperPublicDenotableOrSelf (0.36 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/KtRendererTypeApproximator.kt

                        Variance.IN_VARIANCE -> effectiveType.approximateToSubPublicDenotableOrSelf(approximateLocalTypes = false)
                        Variance.OUT_VARIANCE -> effectiveType.approximateToSuperPublicDenotableOrSelf(approximateLocalTypes = false)
                    }
                }
            }
        }
    
        public object NO_APPROXIMATION : KaRendererTypeApproximator {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/expressionTypeProvider/AbstractHLExpressionTypeTest.kt

                analyseForTest(expression) {
                    var ktType = expression.getKaType()
                    if (Directives.APPROXIMATE_TYPE in mainModule.testModule.directives) {
                        ktType = ktType?.approximateToSuperPublicDenotableOrSelf(true)
                    }
                    ktType?.render(renderer, position = Variance.INVARIANT)
                }
            }
            val actual = buildString {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt

            withValidityAssertion { approximateToSubPublicDenotable(approximateLocalTypes) ?: this }
    
        public fun KaType.approximateToSuperPublicDenotableOrSelf(approximateLocalTypes: Boolean): KaType =
            withValidityAssertion { approximateToSuperPublicDenotable(approximateLocalTypes) ?: this }
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top