Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for methodInvocation (0.33 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/actor/internal/DefaultActorFactory.java

                dispatch = new AsyncDispatch<MethodInvocation>(executor,
                        new FailureHandlingDispatch<MethodInvocation>(
                                new ReflectionDispatch(targetObject),
                                failureHandler), Integer.MAX_VALUE);
            }
    
            @Override
            public <T> T getProxy(Class<T> type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/ListenerNotificationException.java

    public class ListenerNotificationException extends DefaultMultiCauseException {
        private final MethodInvocation event;
    
        public ListenerNotificationException(@Nullable MethodInvocation event, String message, Iterable<? extends Throwable> causes) {
            super(message, causes);
            this.event = event;
        }
    
        @Nullable
        public MethodInvocation getEvent() {
            return event;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/listener/ClosureBackedMethodInvocationDispatch.java

     */
    
    package org.gradle.listener;
    
    import groovy.lang.Closure;
    import org.gradle.internal.dispatch.Dispatch;
    import org.gradle.internal.dispatch.MethodInvocation;
    
    import java.util.Arrays;
    
    public class ClosureBackedMethodInvocationDispatch implements Dispatch<MethodInvocation> {
        private final String methodName;
        private final Closure closure;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 12:43:02 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MessageHubBackedObjectConnection.java

            StatefulSerializer<InterHubMessage> serializer = new InterHubMessageSerializer(
                new TypeSafeSerializer<MethodInvocation>(MethodInvocation.class,
                    new MethodInvocationSerializer(
                        methodParamClassLoader,
                        argsSerializer)));
    
            connection = completion.create(serializer);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy

    """)
        }
    
        def "can add method invocations"() {
            given:
            builder
                .methodInvocation("No args", "foo.bar")
                .methodInvocation(null, "cathedral", 42)
                .methodInvocation("Use a map", "cathedral", [a: 12, b: "value"])
                .methodInvocation("Use a method call", "cathedral", builder.methodInvocationExpression("thing", [a: 12], 123, false))
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/ListenerBroadcastTest.groovy

            then:
            0 * _._
        }
    
        def 'can use dispatch to receive notifications'() {
            given:
            Dispatch<MethodInvocation> dispatch1 = Mock()
            Dispatch<MethodInvocation> dispatch2 = Mock()
            def invocation = new MethodInvocation(TestListener.getMethod("event1", String.class), "param")
    
            broadcast.add(dispatch1)
            broadcast.add(dispatch2)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderKotlinTest.groovy

    """)
        }
    
        def "can add method invocations"() {
            given:
            builder
                .methodInvocation("No args", "foo.bar")
                .methodInvocation(null, "cathedral", 42)
                .methodInvocation("Use a map", "cathedral", [a: 12, b: "value"])
                .methodInvocation("Use a method call", "cathedral", builder.methodInvocationExpression("thing", [a: 12], 123, false))
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/ProxyDispatchAdapter.java

        }
    
        private static class DispatchingInvocationHandler implements InvocationHandler {
            private final Class<?> type;
            private final Dispatch<? super MethodInvocation> dispatch;
    
            private DispatchingInvocationHandler(Class<?> type, Dispatch<? super MethodInvocation> dispatch) {
                this.type = type;
                this.dispatch = dispatch;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/integTest/groovy/org/gradle/testing/RetainStacktraceForInheritedTestMethodsTest.groovy

            //         at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:675)
            //         at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
            //         at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:125)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/timeout/IntegrationTestTimeoutInterceptor.groovy

    import org.gradle.api.Action
    import org.spockframework.runtime.SpockAssertionError
    import org.spockframework.runtime.SpockTimeoutError
    import org.spockframework.runtime.extension.IMethodInvocation
    import org.spockframework.runtime.extension.MethodInvocation
    import org.spockframework.runtime.extension.builtin.TimeoutInterceptor
    import org.spockframework.runtime.model.MethodInfo
    
    import java.util.concurrent.TimeUnit
    
    @CompileStatic
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (1)
Back to top