- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 292 for GetMethod (0.54 sec)
-
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java
.that(ListenableFuture.class.getDeclaredMethods()) .asList() .containsExactly( ListenableFuture.class.getMethod("addListener", Runnable.class, Executor.class)); assertWithMessage( "Do not add new supertypes to ListenableFuture. Its API needs to continue to match the"
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Jun 15 19:48:16 UTC 2023 - 1.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/platform/Jdk9PlatformTest.kt
fun buildsWhenJdk9() { platform.assumeJdk9() assertThat(buildIfSupported()).isNotNull() } @Test fun buildsWhenJdk8() { platform.assumeJdk8() try { SSLSocket::class.java.getMethod("getApplicationProtocol") // also present on JDK8 after build 252. assertThat(buildIfSupported()).isNotNull() } catch (nsme: NoSuchMethodException) { assertThat(buildIfSupported()).isNull() }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
Method getMethod = List.class.getMethod("get", int.class); Method setMethod = List.class.getMethod("set", int.class, Object.class); new EqualsTester() .addEqualityGroup(Invokable.from(getMethod), Invokable.from(getMethod)) .addEqualityGroup(Invokable.from(setMethod)) .addEqualityGroup(new TypeToken<List<Integer>>() {}.method(getMethod))
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 88.7K bytes - Viewed (0) -
platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientResponse.java
} @Override public void close() { if (!closed) { closed = true; HttpClientUtils.closeQuietly(httpResponse); } } String getMethod() { return method; } URI getEffectiveUri() { return effectiveUri; } boolean wasSuccessful() { int statusCode = getStatusLine().getStatusCode();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/MethodInvocation.java
} public Object[] getArguments() { return arguments; } public String getMethodName() { return method.getName(); } public Method getMethod() { return method; } @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (obj == null || obj.getClass() != getClass()) {
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-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ProjectExtensions.kt
.firstOrNull { it.name == "getConvention" } ?.invoke(this) ?.let { convention -> convention::class.java .getMethod("findPlugin", Class::class.java) .invoke(convention, T::class.java) } }.let { findPlugin ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 09:50:04 UTC 2024 - 11.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java
* unhashable objects can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getHashCodeMethod() { return Helpers.getMethod(ListHashCodeTester.class, "testHashCode"); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.9K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescSyntheticJavaPropertySymbol.kt
get() = withValidityAssertion { KaFe10DescFunctionSymbol.build(descriptor.getMethod, analysisContext) } override val javaSetterSymbol: KaFunctionSymbol? get() = withValidityAssertion { val setMethod = descriptor.setMethod ?: return null return KaFe10DescFunctionSymbol.build(setMethod, analysisContext) } override val hasSetter: Boolean
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 4.7K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/ZipTestFixture.groovy
} else { addDir(entry.name) } addMode(entry.name, entry.getUnixMode()) addCompressionMethod(entry.name, entry.getMethod()) } } finally { zipFile.close(); } } void hasCompression(String relativePath, int compressionMethod) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/actor/internal/DefaultActorFactorySpec.groovy
def actor = factory.createBlockingActor(target) def testThread = Thread.currentThread() when: actor.dispatch(new MethodInvocation(TargetObject.class.getMethod('doStuff', String.class), ['param'] as Object[])) then: 1 * target.doStuff('param') >> { assert Thread.currentThread() == testThread } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 8.1K bytes - Viewed (0)