- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for MethodInvocation (0.45 sec)
-
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/test/groovy/org/gradle/internal/event/BroadcastDispatchTest.groovy
dispatch.empty dispatch.size() == 0 dispatch.dispatch(new MethodInvocation(method, ["param"] as Object[])) } def "can add a dispatch listener"() { def listener = Mock(Dispatch) def invocation = new MethodInvocation(method, ["param"] as Object[]) when: def dispatch = BroadcastDispatch.empty(TestListener).add(listener)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 14.9K bytes - Viewed (0) -
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) -
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) -
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) -
platforms/software/build-init/src/main/java/org/gradleinternal/buildinit/plugins/internal/maven/Maven2Gradle.java
if (dsl == BuildInitDsl.GROOVY) { moduleScriptBuilder.methodInvocation(null, "publishing.publications.maven.artifact", moduleScriptBuilder.propertyExpression("testsJar")); } else { moduleScriptBuilder.methodInvocation(null, "(publishing.publications[\"maven\"] as MavenPublication).artifact", moduleScriptBuilder.propertyExpression("testsJar"));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 14 15:23:34 UTC 2024 - 27.8K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java
import org.gradle.internal.Cast; import org.gradle.internal.concurrent.CompositeStoppable; import org.gradle.internal.deprecation.DeprecationLogger; import org.gradle.internal.dispatch.Dispatch; import org.gradle.internal.dispatch.MethodInvocation; import org.gradle.internal.event.ListenerBroadcast; import org.gradle.internal.event.ListenerManager; import org.gradle.internal.logging.ConsoleRenderer; import org.gradle.internal.logging.progress.ProgressLogger;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 25 18:49:01 UTC 2024 - 27.6K bytes - Viewed (0)