Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for isNullable (0.15 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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/types/KtFe10IntersectionType.kt

    ) : KaIntersectionType(), KaFe10Type {
        override val conjuncts: List<KaType> by cached {
            val result = ArrayList<KaType>(supertypes.size)
            val isNullable = fe10Type.isMarkedNullable
            for (supertype in supertypes) {
                val mappedSupertype = if (isNullable) supertype.makeNullable() else supertype
                result += mappedSupertype.toKtType(analysisContext)
            }
            return@cached result
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.testing.NullPointerTester.isNullable;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Sets;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/DummyProxy.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.testing.NullPointerTester.isNullable;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Sets;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt

        }
    }
    
    public typealias KtType = KaType
    
    public enum class KaTypeNullability(public val isNullable: Boolean) {
        NULLABLE(true),
        NON_NULLABLE(false),
        UNKNOWN(false);
    
        public companion object {
            public fun create(isNullable: Boolean): KaTypeNullability = if (isNullable) NULLABLE else NON_NULLABLE
        }
    }
    
    public typealias KtTypeNullability = KaTypeNullability
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. 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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeCreator.kt

            val typeContext = rootModuleSession.typeContext
            val coneType = typeContext.createSimpleType(
                lookupTag,
                builder.arguments.map { it.coneTypeProjection },
                builder.nullability.isNullable
            ) as ConeClassLikeType
    
            return coneType.asKtType()
        }
    
        override fun buildTypeParameterType(builder: KaTypeParameterTypeBuilder): KaTypeParameterType {
            val coneType = when (builder) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top