Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for NoSuchMethodException (0.12 seconds)

  1. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

          throws NoSuchMethodException {
        Method failMethod = Loser.class.getMethod("lose");
        Invokable<T, ?> invokable = new TypeToken<T>(getClass()) {}.method(failMethod);
        assertThat(invokable.getExceptionTypes()).contains(TypeToken.of(AssertionError.class));
      }
    
      public void testConstructor_getOwnerType() throws NoSuchMethodException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 89K bytes
    - Click Count (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

            .isNotNull();
    
        for (String propertyName : new String[] {"value", "absent"}) {
          Method method = null;
          try {
            method = annotationClass.getMethod(propertyName);
          } catch (NoSuchMethodException e) {
            throw new AssertionError("Annotation is missing required method", e);
          }
          Class<?> returnType = method.getReturnType();
          assertTrue(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

              "findTrustAnchorByIssuerAndSignature",
              X509Certificate::class.java,
            )
          method.isAccessible = true
          CustomTrustRootIndex(trustManager, method)
        } catch (e: NoSuchMethodException) {
          super.buildTrustRootIndex(trustManager)
        }
    
      override fun getHandshakeServerNames(sslSocket: SSLSocket): List<String> {
        // The superclass implementation requires APIs not available until API 25+.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 10 05:19:46 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/TempFileCreator.java

          } catch (InvocationTargetException e) {
            throwIfUnchecked(e.getCause()); // in case it's an Error or something
            return fromSystemProperty; // should be impossible
          } catch (NoSuchMethodException | IllegalAccessException shouldBeImpossible) {
            return fromSystemProperty;
          }
        }
      }
    
      private static final class JavaIoCreator extends TempFileCreator {
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 29 18:50:14 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            while (clazz != null) {
                try {
                    return clazz.getDeclaredMethod(methodName, paramTypes);
                } catch (NoSuchMethodException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            return null;
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/util/concurrent/MoreExecutors.java

              Class.forName("com.google.appengine.api.ThreadManager")
                  .getMethod("currentRequestThreadFactory")
                  .invoke(null);
        } catch (IllegalAccessException | ClassNotFoundException | NoSuchMethodException e) {
          throw new RuntimeException("Couldn't invoke ThreadManager.currentRequestThreadFactory", e);
        } catch (InvocationTargetException e) {
          // `currentRequestThreadFactory` has no `throws` clause.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          return arbitraryConstantInstanceOrNull(type);
        }
        Constructor<T> constructor;
        try {
          constructor = type.getConstructor();
        } catch (NoSuchMethodException e) {
          return arbitraryConstantInstanceOrNull(type);
        }
        constructor.setAccessible(true); // accessibility check is too slow
        try {
          return constructor.newInstance();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          return arbitraryConstantInstanceOrNull(type);
        }
        Constructor<T> constructor;
        try {
          constructor = type.getConstructor();
        } catch (NoSuchMethodException e) {
          return arbitraryConstantInstanceOrNull(type);
        }
        constructor.setAccessible(true); // accessibility check is too slow
        try {
          return constructor.newInstance();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
Back to Top