Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for isNullable (0.13 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

        }
    
        private fun areTypesCompatible(a: KotlinType, b: KotlinType): Boolean {
            if (a.isNothing() || b.isNothing() || TypeUtils.equalTypes(a, b) || (a.isNullable() && b.isNullable())) {
                return true
            }
    
            val aConstructor = a.constructor
            val bConstructor = b.constructor
    
            if (aConstructor is IntersectionTypeConstructor) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static com.google.common.testing.NullPointerTester.isNullable;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Joiner;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Throwables.throwIfUnchecked;
    import static com.google.common.testing.NullPointerTester.isNullable;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import com.google.common.base.Joiner;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

            if (firClassNode != null) {
                firClassNode.resolvedSuperTypes.singleOrNull()?.let { return it }
            }
    
            return if (type.nullability.isNullable) session.builtinTypes.nullableAnyType.type
            else session.builtinTypes.anyType.type
        }
    
        private fun ConeKotlinType.hasRecursiveTypeArgument(
            visited: MutableSet<ConeKotlinType> = mutableSetOf(),
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/KotlinMetadata.kt

        kmTypeParameter.upperBounds += upperBound
        return kmTypeParameter
    }
    
    
    internal
    fun nullable(kmType: KmType): KmType = kmType.also { it.flags = flagsOf(Flag.Type.IS_NULLABLE) }
    
    
    internal
    fun newClassTypeOf(
        name: String,
        vararg arguments: KmTypeProjection
    ): KmType {
        val kmType = KmType(0)
        kmType.classifier = KmClassifier.Class(name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top