Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getInvocationHandler (0.06 sec)

  1. 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);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. 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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  3. 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() {
        new EqualsTester()
            .addEqualityGroup(newDelegatingList(LIST1))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. okhttp/src/jvmMain/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?")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. 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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top