Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isNullable (0.21 sec)

  1. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

      }
    
      private static final ImmutableSet<String> NULLABLE_ANNOTATION_SIMPLE_NAMES =
          ImmutableSet.of("CheckForNull", "Nullable", "NullableDecl", "NullableType");
    
      static boolean isNullable(Invokable<?, ?> invokable) {
        return NULLNESS_ANNOTATION_READER.isNullable(invokable);
      }
    
      static boolean isNullable(Parameter param) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/NullPointerTester.java

      }
    
      private static final ImmutableSet<String> NULLABLE_ANNOTATION_SIMPLE_NAMES =
          ImmutableSet.of("CheckForNull", "Nullable", "NullableDecl", "NullableType");
    
      static boolean isNullable(Invokable<?, ?> invokable) {
        return NULLNESS_ANNOTATION_READER.isNullable(invokable);
      }
    
      static boolean isNullable(Parameter param) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

    private
    fun ApiTypeUsage.toKotlinClass() =
        ApiTypeUsage(
            SourceNames.kotlinClass,
            isNullable,
            typeArguments = singleTypeArgumentRawToStarProjection()
        )
    
    
    private
    fun ApiTypeUsage.toArrayOfKotlinClasses() =
        ApiTypeUsage(
            SourceNames.kotlinArray,
            isNullable,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 21:41:53 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            }
        }
    }
    
    
    data class ApiTypeUsage internal constructor(
        val sourceName: String,
        internal val isNullable: Boolean = false,
        val type: ApiType? = null,
        val variance: Variance = Variance.INVARIANT,
        val typeArguments: List<ApiTypeUsage> = emptyList(),
        val bounds: List<ApiTypeUsage> = emptyList()
    ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 19:56:10 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

            val type = ConeClassLikeTypeImpl(
                firClass.symbol.toLookupTag(),
                firClass.typeParameters.map { ConeTypeParameterTypeImpl(it.symbol.toLookupTag(), isNullable = false) }.toTypedArray(),
                isNullable = false
            )
    
            return type.asKtType()
        }
    
        override fun commonSuperType(types: Collection<KaType>): KaType? {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
Back to top