Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for subtyping (0.39 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/language/DataTypeInternal.kt

        data object DefaultUnitType : DataType.UnitType {
            override fun toString(): String = "Unit"
            private
            fun readResolve(): Any = DefaultUnitType
        }
    
    // TODO: `Any` type?
    // TODO: Support subtyping of some sort in the schema rather than via reflection?
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelMapStrategy.java

            ModelType<T> type = extractionContext.getType();
            if (MODEL_MAP_MODEL_TYPE.isAssignableFrom(type)) {
                if (!type.getRawClass().equals(ModelMap.class)) {
                    extractionContext.add(String.format("subtyping %s is not supported.", ModelMap.class.getName()));
                    return;
                }
    
                if (type.isHasWildcardTypeVariables()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtSubtypingComponent.kt

    }
    
    public typealias KtSubtypingComponentMixIn = KaSubtypingComponentMixIn
    
    /**
     * [KaSubtypingErrorTypePolicy] determines the treatment of error types in type equality and subtyping checks.
     */
    public enum class KaSubtypingErrorTypePolicy {
        /**
         * Error types are not considered equal to or subtypes of any other type.
         *
         * [STRICT] is the default policy for the following reasons:
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. guava/javadoc-link/checker-framework/package-list

    org.checkerframework.common.aliasing
    org.checkerframework.common.aliasing.qual
    org.checkerframework.common.basetype
    org.checkerframework.common.reflection
    org.checkerframework.common.reflection.qual
    org.checkerframework.common.subtyping
    org.checkerframework.common.util
    org.checkerframework.common.util.count
    org.checkerframework.common.util.debug
    org.checkerframework.common.util.report
    org.checkerframework.common.util.report.qual
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 07 19:00:31 UTC 2017
    - 3.8K bytes
    - Viewed (0)
  5. android/guava/javadoc-link/checker-framework/package-list

    org.checkerframework.common.aliasing
    org.checkerframework.common.aliasing.qual
    org.checkerframework.common.basetype
    org.checkerframework.common.reflection
    org.checkerframework.common.reflection.qual
    org.checkerframework.common.subtyping
    org.checkerframework.common.util
    org.checkerframework.common.util.count
    org.checkerframework.common.util.debug
    org.checkerframework.common.util.report
    org.checkerframework.common.util.report.qual
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 07 19:00:31 UTC 2017
    - 3.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/subtyping/AbstractSemanticSubtypingTest.kt

     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.subtyping
    
    import org.jetbrains.kotlin.analysis.api.KaSession
    import org.jetbrains.kotlin.analysis.api.components.KaSubtypingErrorTypePolicy
    import org.jetbrains.kotlin.analysis.api.types.KaType
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt

        // First, all the classes in the hierarchy, subclasses before superclasses
        val classes = ancestorClassesIncludingSelf.toList()
        yieldAll(classes)
    
        // Then all supported interfaces sorted by subtyping (subtypes before supertypes)
        val interfaces = mutableListOf<Class<*>>()
        classes.forEach { `class` ->
            `class`.interfaces.forEach { `interface` ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. docs/changelogs/upgrading_to_okhttp_4.md

    `OkHttpClient` has 26 accessors like `interceptors()` and `writeTimeoutMillis()` that were non-final
    in OkHttp 3.x and are final in 4.x. These were made non-final for use with mocking frameworks like
    [Mockito][mockito]. We believe subtyping `OkHttpClient` is the wrong way to test with OkHttp. If
    you must, mock `Call.Factory` which is the interface that `OkHttpClient` implements.
    
    #### Internal API changes
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

            partialExplicitTypeBoundIsNotSubtypeOfDifferentTypeBound(
                UseSerializableIterable<? extends Serializable> obj) {
          return notSubtype(obj);
        }
      }
    
      // TODO(benyu): migrate all subtyping tests from TypeTokenTest to this class using SubtypeTester.
    
      private interface Outdoor {}
    
      private interface Indoor {}
    
      private interface Grocery {}
    
      private interface Electronics {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

            partialExplicitTypeBoundIsNotSubtypeOfDifferentTypeBound(
                UseSerializableIterable<? extends Serializable> obj) {
          return notSubtype(obj);
        }
      }
    
      // TODO(benyu): migrate all subtyping tests from TypeTokenTest to this class using SubtypeTester.
    
      private interface Outdoor {}
    
      private interface Indoor {}
    
      private interface Grocery {}
    
      private interface Electronics {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
Back to top