- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,693 for Invoke (0.1 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/FieldOptionElement.java
return setter.getGenericParameterTypes()[0]; } @Override public void setValue(Object target, Object value) { JavaMethod.of(Object.class, setter).invoke(target, value); } } private static class PropertyFieldSetter implements PropertySetter { private final Method getter; private final Field field;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 11 11:28:20 UTC 2023 - 7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/NestedConfigureDslIntegrationTest.groovy
unknown = 12 } """ expect: fails() failure.assertHasCause("Could not set unknown property 'unknown' for task ':help' of type org.gradle.configuration.Help.") } def "reports invoke unknown method from configure closure"() { settingsFile << "rootProject.name = 'test'" buildFile << """ tasks.help { unknown(12) } """ expect: fails()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 12.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParserTest.groovy
"daemonOpts=" + ( "--add-opens=java.base/java.util=ALL-UNNAMED," + "--add-opens=java.base/java.lang=ALL-UNNAMED," + "--add-opens=java.base/java.lang.invoke=ALL-UNNAMED," + "--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED," + "--add-opens=java.base/java.nio.charset=ALL-UNNAMED," +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 5.6K bytes - Viewed (0) -
src/syscall/js/js_test.go
}) defer cb2.Release() return cb2.Invoke() }) defer cb.Release() if got := cb.Invoke().Int(); got != 42 { t.Errorf("got %#v, want %#v", got, 42) } if !called { t.Error("function not called") } } func TestInterleavedFunctions(t *testing.T) { c1 := make(chan struct{}) c2 := make(chan struct{}) js.Global().Get("setTimeout").Invoke(js.FuncOf(func(this js.Value, args []js.Value) any {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 17.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensions.kt
* @see [NamedDomainObjectContainer.named] */ @Deprecated("Use named(String) instead.", ReplaceWith("named(this)")) operator fun String.invoke(): NamedDomainObjectProvider<T> { DeprecationLogger.deprecateBehaviour(String.format("Domain object '%s' found by String.invoke() notation.", this)) .withContext("The \"name\"() notation can cause confusion with methods provided by Kotlin or the JDK.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 19 22:09:44 UTC 2024 - 15.6K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/failure/TestFailureMapper.java
} Method method = obj.getClass().getMethod(methodName); Object result = method.invoke(obj); if (result == null) { return null; } else { return targetClass.cast(result); } } /** * Utility method to invoke a method on an object by reflective means. * * @return the result of the method invocation as an {@link Object}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 14:48:53 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/PluginSpecBuilderAccessorsClassPathTest.kt
.invoke(null, plugins)!! val myOwnPluginGroup = getDeclaredMethod("getOwn", myPluginGroup.javaClass) .invoke(null, myPluginGroup)!! val actualPluginSpec = getDeclaredMethod("getPlugin", myOwnPluginGroup.javaClass) .invoke(null, myOwnPluginGroup) as PluginDependencySpec
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:27 UTC 2023 - 6.3K bytes - Viewed (0) -
src/packaging/common/scripts/prerm
if command -v systemctl >/dev/null; then systemctl --no-reload stop fess.service > /dev/null 2>&1 || true elif [ -x /etc/init.d/fess ]; then if command -v invoke-rc.d >/dev/null; then invoke-rc.d fess stop || true else /etc/init.d/fess stop || true fi # older suse linux distributions do not ship with systemd # but do not have an /etc/init.d/ directory
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 29 07:34:32 UTC 2018 - 1.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/integTest/groovy/org/gradle/integtests/fixtures/executer/IgnoreKotlinCompilerWarningIntegrationTest.groovy
\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) \tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) \tat java.base/java.lang.reflect.Method.invoke(Method.java:564) \tat org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 13.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
} private Throwable tryInternalFastPathGetFailure(Future<?> future) throws Exception { Method tryInternalFastPathGetFailureMethod = abstractFutureClass.getDeclaredMethod("tryInternalFastPathGetFailure"); tryInternalFastPathGetFailureMethod.setAccessible(true); return (Throwable) tryInternalFastPathGetFailureMethod.invoke(future); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 6.1K bytes - Viewed (0)