- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 67 for NoSuchMethodException (0.18 seconds)
-
guava/src/com/google/common/base/internal/Finalizer.java
*/ return null; } try { return finalizableReferenceClass.getMethod("finalizeReferent"); } catch (NoSuchMethodException e) { throw new AssertionError(e); } } private static @Nullable Field getInheritableThreadLocalsField() { if (isAndroid()) { /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 03:19:29 GMT 2026 - 9.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
try { Method method = IntFunction.class.getMethod("apply", int.class); return (IntFunction<Object>) v -> getDefaultValue(type.method(method).getReturnType()); } catch (NoSuchMethodException e) { throw newLinkageError(e); } } else if (rawType.equals(Consumer.class)) { return (Consumer<Object>) v -> {}; } else { return null; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
} /** * Test that methods are properly overridden */ @Test @DisplayName("Test methods are properly overridden from parent class") public void testMethodOverrides() throws NoSuchMethodException { // Given Class<?> clazz = SmbComTreeDisconnect.class; // When & Then - verify methods are declared in this class (overridden)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
assertNotNull(maxKeyMethod, "maxKey() method should exist"); assertEquals("maxKey() return type should be String", String.class, maxKeyMethod.getReturnType()); } catch (final NoSuchMethodException e) { fail("Required annotation method not found: " + e.getMessage()); } } // Test creating custom implementation of annotation @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
String message = e.getMessage(); if (message != null && message.contains("NoSuchMethodException")) { assertTrue("Method may not exist in this version", true); } else if (e instanceof java.lang.NoSuchMethodException) { assertTrue("Method may not exist in this version", true);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 12 01:46:45 GMT 2026 - 28.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
Method method = Reference.class.getMethod("reachabilityFence", Object.class); method.invoke(null, FileBackedOutputStream.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: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
Invokable<Prepender, Object> invokable = (Invokable<Prepender, Object>) Invokable.from(method); return invokable; } catch (NoSuchMethodException e) { throw new IllegalArgumentException(e); } } private void privateMethod() {} private final void privateFinalMethod() {} static void staticMethod() {}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 31.1K bytes - Click Count (0) -
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) -
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 Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 20.9K bytes - Click Count (0)