Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getInvocationHandler (0.33 sec)

  1. 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 May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 07 08:20:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  2. 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 May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top