- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GenericsVariance (0.13 sec)
-
platforms/core-configuration/kotlin-dsl/src/integTest/java/org/gradle/kotlin/dsl/fixtures/codegen/GenericsVariance.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.kotlin.dsl.fixtures.codegen; public interface GenericsVariance { void invariant(Class<Number> type); void covariant(Class<? extends Number> type); void contravariant(Class<? super Number> type);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 849 bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/codegen/ApiTypeProviderTest.kt
assertThat(type.typeArguments.single().variance, equalTo(variance)) val jars = listOf(withClassJar("some.jar", GenericsVariance::class.java)) apiTypeProviderFor(jars).use { api -> api.type<GenericsVariance>().functions.forEach { function -> when (function.name) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 8.1K bytes - Viewed (0)