Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for NoSuchMethodException (0.2 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

        try {
          DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate");
          DELEGATE_METHOD.setAccessible(true);
        } catch (SecurityException e) {
          throw new RuntimeException(e);
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      /**
       * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

        try {
          DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate");
          DELEGATE_METHOD.setAccessible(true);
        } catch (SecurityException e) {
          throw new RuntimeException(e);
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      /**
       * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            testClass.getMethod(testName);
            return true;
          } catch (NoSuchMethodException e) {
            continue;
          }
        }
        return false;
      }
    
      private static boolean isEqualsDefined(Class<?> cls) {
        try {
          return !cls.getDeclaredMethod("equals", Object.class).isSynthetic();
        } catch (NoSuchMethodException e) {
          return false;
        }
      }
    
      abstract static class Chopper {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  4. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

          Method method = Reference.class.getMethod("reachabilityFence", Object.class);
          method.invoke(null, GcFinalizationTest.class); // to make sure the method is accessible
          return true;
        } catch (NoSuchMethodException | IllegalAccessException probablyBeforeJava9OrAndroid28) {
          /*
           * It's theoretically possible for Reference.reachabilityFence to exist under older VMs in an
           * inaccessible form.
           */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

          Method method = Reference.class.getMethod("reachabilityFence", Object.class);
          method.invoke(null, GcFinalizationTest.class); // to make sure the method is accessible
          return true;
        } catch (NoSuchMethodException | IllegalAccessException probablyBeforeJava9OrAndroid28) {
          /*
           * It's theoretically possible for Reference.reachabilityFence to exist under older VMs in an
           * inaccessible form.
           */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            testClass.getMethod(testName);
            return true;
          } catch (NoSuchMethodException e) {
            continue;
          }
        }
        return false;
      }
    
      private static boolean isEqualsDefined(Class<?> cls) {
        try {
          return !cls.getDeclaredMethod("equals", Object.class).isSynthetic();
        } catch (NoSuchMethodException e) {
          return false;
        }
      }
    
      abstract static class Chopper {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

      static Method getStartFinalizer(Class<?> finalizer) {
        try {
          return finalizer.getMethod(
              "startFinalizer", Class.class, ReferenceQueue.class, PhantomReference.class);
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      private static boolean isAndroid() {
        return requireNonNull(System.getProperty("java.runtime.name", "")).contains("Android");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      static Method getStartFinalizer(Class<?> finalizer) {
        try {
          return finalizer.getMethod(
              "startFinalizer", Class.class, ReferenceQueue.class, PhantomReference.class);
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      private static boolean isAndroid() {
        return requireNonNull(System.getProperty("java.runtime.name", "")).contains("Android");
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 19:26:59 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                assertTrue("process method should be public", Modifier.isPublic(processMethod.getModifiers()));
            } catch (NoSuchMethodException e) {
                fail("process method should exist");
            }
        }
    
        // Test constructor
        @Test
        public void test_constructor() {
            CorsHandler handler = new CorsHandler() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        try {
          Method method = Reference.class.getMethod("reachabilityFence", Object.class);
          method.invoke(null, ClosingFuture.class); // to make sure the method is accessible
          return true;
        } catch (NoSuchMethodException | IllegalAccessException probablyBeforeJava9OrAndroid28) {
          /*
           * It's theoretically possible for Reference.reachabilityFence to exist under older VMs in an
           * inaccessible form.
           */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
Back to Top