- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for isNullable (0.29 sec)
-
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) -
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) -
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) -
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) -
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) -
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)