- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Variance (0.21 sec)
-
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
ApiTypeUsage( sourceName, isNullable, type(sourceName), variance, typeArguments.map { apiTypeUsageFor(it.binaryName, variance = it.variance, typeArguments = it.typeArguments) }, bounds.map { apiTypeUsageFor(it.binaryName, variance = it.variance, typeArguments = it.typeArguments) } ) } internal val ApiTypeUsage.isStarProjectionTypeUsage
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Tue Feb 06 19:56:10 GMT 2024 - 20.8K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt
private fun ApiTypeUsage.toTypeArgumentString(): String = "${variance.toKotlinString()}$sourceName${typeArguments.toTypeArgumentsString(type)}${isNullable.toKotlinNullabilityString()}" private fun Variance.toKotlinString() = when (this) { Variance.INVARIANT -> "" Variance.COVARIANT -> "out " Variance.CONTRAVARIANT -> "in " } private
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Wed Dec 20 21:41:53 GMT 2023 - 18.1K bytes - Viewed (0)