Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for isDenotable (0.37 sec)

  1. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/typeInfoProvider/FirIdeNormalAnalysisSourceModuleIsDenotableTestGenerated.java

      }
    
      @Test
      @TestMetadata("localTypes.kt")
      public void testLocalTypes() {
        runTest("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable/localTypes.kt");
      }
    
      @Test
      @TestMetadata("simpleTypes.kt")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/typeInfoProvider/FirIdeDependentAnalysisSourceModuleIsDenotableTestGenerated.java

      }
    
      @Test
      @TestMetadata("localTypes.kt")
      public void testLocalTypes() {
        runTest("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable/localTypes.kt");
      }
    
      @Test
      @TestMetadata("simpleTypes.kt")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/typeInfoProvider/FirStandaloneNormalAnalysisSourceModuleIsDenotableTestGenerated.java

      }
    
      @Test
      @TestMetadata("localTypes.kt")
      public void testLocalTypes() {
        runTest("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable/localTypes.kt");
      }
    
      @Test
      @TestMetadata("simpleTypes.kt")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/typeInfoProvider/Fe10IdeNormalAnalysisSourceModuleIsDenotableTestGenerated.java

      }
    
      @Test
      @TestMetadata("localTypes.kt")
      public void testLocalTypes() {
        runTest("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable/localTypes.kt");
      }
    
      @Test
      @TestMetadata("simpleTypes.kt")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeInfoProvider.kt

        override fun fullyExpandedType(type: KaType): KaType = type
    
        private fun KotlinType.isDenotable(): Boolean {
            if (this is DefinitelyNotNullType) return false
            return constructor.isDenotable &&
                    constructor.declarationDescriptor?.name != SpecialNames.NO_NAME_PROVIDED &&
                    arguments.all { it.type.isDenotable() }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/typeInfoProvider/FirIdeNormalAnalysisScriptSourceModuleIsDenotableTestGenerated.java

    @SuppressWarnings("all")
    @TestMetadata("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable")
    @TestDataPath("$PROJECT_ROOT")
    public class FirIdeNormalAnalysisScriptSourceModuleIsDenotableTestGenerated extends AbstractIsDenotableTest {
      @NotNull
      @Override
      public AnalysisApiTestConfigurator getConfigurator() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/typeInfoProvider/FirIdeDependentAnalysisScriptSourceModuleIsDenotableTestGenerated.java

    @SuppressWarnings("all")
    @TestMetadata("analysis/analysis-api/testData/components/typeInfoProvider/isDenotable")
    @TestDataPath("$PROJECT_ROOT")
    public class FirIdeDependentAnalysisScriptSourceModuleIsDenotableTestGenerated extends AbstractIsDenotableTest {
      @NotNull
      @Override
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeInfoProvider/AbstractIsDenotableTest.kt

                            } else {
                                expression.getKaType()
                            }
                            val actualHasDenotableType = ktType?.isDenotable ?: error("${base.text} does not have a type.")
                            when (actualHasDenotableType) {
                                true -> append("@Denotable")
                                false -> append("@Nondenotable")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

         * https://kotlinlang.org/spec/type-system.html#type-kinds for more details.
         */
        public val KaType.isDenotable: Boolean
            get() = withValidityAssertion { analysisSession.typeInfoProvider.isDenotable(this) }
    
        /**
         * Returns true if this type is a functional interface type, a.k.a. SAM type, e.g., Runnable.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeInfoProvider.kt

        }
    
        override fun canBeNull(type: KaType): Boolean = (type as KaFirType).coneType.canBeNull(analysisSession.useSiteSession)
    
        override fun isDenotable(type: KaType): Boolean {
            val coneType = (type as KaFirType).coneType
            return analysisSession.useSiteSession.typeApproximator.approximateToSuperType(
                coneType,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top