- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getInvocationHandler (0.26 sec)
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
private inline fun <reified T : Any> CtClass.ctAnnotation(): Annotation? = getAnnotation(T::class.java) ?.takeIf { Proxy.isProxyClass(it::class.java) } ?.let { Proxy.getInvocationHandler(it) as? AnnotationImpl } ?.annotation private val CtMember.jvmSignature: String get() = when (this) { is CtField -> "$name:$signature"
Plain Text - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Wed Jun 07 08:20:38 GMT 2023 - 4.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
} private static boolean isNullableCtAnnotation(Object ann) { if (Proxy.isProxyClass(ann.class)) { def typeName = (Proxy.getInvocationHandler(ann) as AnnotationImpl).annotation.typeName return NULLABLE_ANNOTATIONS.any { it.name == typeName } } return false }
Groovy - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Sat Apr 13 10:04:28 GMT 2024 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java
if (arg == null) { return false; } if (proxy == arg) { return true; } return isProxyOfSameInterfaces(arg, proxy.getClass()) && equals(Proxy.getInvocationHandler(arg)); } if (args.length == 0 && method.getName().equals("toString")) { return toString(); } return handleInvocation(proxy, method, args); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 05 17:43:40 GMT 2022 - 5.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
assertEquals(LIST1, ImmutableList.copyOf(newDelegatingListWithEquals(LIST1))); } public void testToString() { List<String> proxy = newDelegatingList(LIST1); assertEquals(Proxy.getInvocationHandler(proxy).toString(), proxy.toString()); } interface A {} interface B {} public void testEquals() { class AB implements A, B {} class BA implements B, A {} AB ab = new AB();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
assertEquals(LIST1, ImmutableList.copyOf(newDelegatingListWithEquals(LIST1))); } public void testToString() { List<String> proxy = newDelegatingList(LIST1); assertEquals(Proxy.getInvocationHandler(proxy).toString(), proxy.toString()); } interface A {} interface B {} public void testEquals() { class AB implements A, B {} class BA implements B, A {} AB ab = new AB();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
throw AssertionError("failed to remove ALPN", e) } } override fun getSelectedProtocol(sslSocket: SSLSocket): String? { try { val provider = Proxy.getInvocationHandler(getMethod.invoke(null, sslSocket)) as AlpnProvider if (!provider.unsupported && provider.selected == null) { log("ALPN callback dropped: HTTP/2 is disabled. " + "Is alpn-boot on the boot class path?")
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
if (obj != null && Proxy.isProxyClass(obj.getClass()) && Proxy.getInvocationHandler(obj) instanceof TypeVariableInvocationHandler) { TypeVariableInvocationHandler typeVariableInvocationHandler = (TypeVariableInvocationHandler) Proxy.getInvocationHandler(obj); TypeVariableImpl<?> that = typeVariableInvocationHandler.typeVariableImpl;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0)