- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for methodInvocation (0.23 sec)
-
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/MethodInvocation.java
import org.gradle.util.internal.CollectionUtils; import java.lang.reflect.Method; import java.util.Arrays; public class MethodInvocation { private static final Object[] ZERO_ARGS = new Object[0]; private final Method method; private final Object[] arguments; public MethodInvocation(Method method, Object[] args) { this.method = method; arguments = args == null ? ZERO_ARGS : args; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 12:43:02 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/AbstractBroadcastDispatch.java
* Dispatch an invocation to multiple handlers. */ private void dispatch(MethodInvocation invocation, Iterator<? extends Dispatch<MethodInvocation>> handlers) { // Defer creation of failures list, assume dispatch will succeed List<Throwable> failures = null; while (handlers.hasNext()) { Dispatch<MethodInvocation> handler = handlers.next(); try { handler.dispatch(invocation);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/DefaultListenerManager.java
private final ReentrantLock broadcasterLock = new ReentrantLock(); private ListenerDetails logger; private Dispatch<MethodInvocation> parentDispatch; private List<Dispatch<MethodInvocation>> allWithLogger = Collections.emptyList(); private List<Dispatch<MethodInvocation>> allWithNoLogger = Collections.emptyList(); private boolean notified; EventBroadcast(Class<T> type) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 10:09:43 UTC 2024 - 18.3K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/event/BroadcastDispatch.java
} @Override public void dispatch(MethodInvocation message) { } } private static class SingletonDispatch<T> extends BroadcastDispatch<T> { private final Object handler; private final Dispatch<MethodInvocation> dispatch; SingletonDispatch(Class<T> type, Object handler, Dispatch<MethodInvocation> dispatch) { super(type);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 13:00:00 UTC 2024 - 12.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 04:42:54 UTC 2024 - 45.4K bytes - Viewed (0)