Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addSuperInterface (0.16 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SubtypingTest.kt

            assertEquals(1, result.additions.size)
        }
    
        @Test
        fun `type-checks argument of subtype passed as superinterface parameter`() {
            val result = schema.resolve(
                """
                addSuperInterface(sub())
                """.trimIndent()
            )
    
            assertEquals(1, result.additions.size)
        }
    
        @Test
        fun `rejects assignments of a type that is not a subtype`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

                .addAnnotation(GENERATED_ANNOTATION.asClassName())
                .superclass(CALL_INTERCEPTOR_CLASS)
                .addSuperinterface(SIGNATURE_AWARE_CALL_INTERCEPTOR_CLASS)
                .addSuperinterface(FILTERABLE_CALL_INTERCEPTOR)
                .addSuperinterface(ClassName.get(interceptorType.getInterceptorMarkerInterface()))
                .addJavadoc(interceptorClassJavadoc(requests))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java

                    .addModifiers(Modifier.PUBLIC)
                    // generic stuff not related to the content:
                    .addSuperinterface(ClassName.get(JvmBytecodeCallInterceptor.class))
                    .addSuperinterface(ClassName.get(interceptorType.getInterceptorMarkerInterface()))
                    .addMethod(BINARY_CLASS_NAME_OF)
                    .addMethod(LOAD_BINARY_CLASS_NAME)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:50:01 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top