- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isProxyClass (2.15 sec)
-
android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java
// the proxy type may not be the same. // We first check isProxyClass() so that the common case of comparing with non-proxy objects // is efficient. || (Proxy.isProxyClass(arg.getClass()) && Arrays.equals(arg.getClass().getInterfaces(), proxyClass.getInterfaces())); }
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) -
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) {
Plain Text - Registered: Wed May 01 11:36:15 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
return NULLABLE_ANNOTATIONS.any { method.hasAnnotation(it) } } 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 May 01 11:36:15 GMT 2024 - Last Modified: Sat Apr 13 10:04:28 GMT 2024 - 5.4K bytes - Viewed (0)