- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 34 for NoSuchMethodException (0.17 seconds)
-
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
Method method = PrivateMethodClass.class.getDeclaredMethod("privateMethod"); Secured secured = method.getAnnotation(Secured.class); assertNotNull(secured); assertEquals("PRIVATE_ROLE", secured.value()[0]); } @Test public void test_protectedMethodAnnotation() throws NoSuchMethodException {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
} @Test @DisplayName("SmbResource should have all required methods") void testRequiredMethods() throws NoSuchMethodException { // Given Class<SmbResource> clazz = SmbResource.class; // When/Then - Verify essential methods existCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
while (clazz != null) { try { return clazz.getDeclaredMethod(methodName, paramTypes); } catch (NoSuchMethodException e) { clazz = clazz.getSuperclass(); } } throw new NoSuchMethodException("Method " + methodName + " not found"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
assertTrue(jcifs.Decodable.class.isAssignableFrom(AllocInfo.class)); } @Test @DisplayName("Should define getCapacity method") void shouldDefineGetCapacityMethod() throws NoSuchMethodException { // Verify method exists with correct signature assertNotNull(AllocInfo.class.getMethod("getCapacity"));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
while (clazz != null) { try { return clazz.getDeclaredMethod(methodName, paramTypes); } catch (NoSuchMethodException e) { clazz = clazz.getSuperclass(); } } throw new NoSuchMethodException("Method " + methodName + " not found"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Context.java
inquireSecContextPrep = extendedGSSContextClassPrep.getMethod("inquireSecContext", inquireTypeClass); } catch (ClassNotFoundException | NoSuchMethodException | RuntimeException ex) { if (log.isDebugEnabled()) { log.debug("Failed to initalize ExtendedGSSContext initializdation for OracleJDK / OpenJDK", ex); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13.5K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
constructor.setAccessible(true); SystemUtil instance = constructor.newInstance(); assertNotNull(instance); } catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) { fail("Should be able to access private constructor: " + e.getMessage()); } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
if (!methodInfo.upcast) { methodInfo.tryUpcasting(clazz); upcastCount++; } } catch (NoSuchMethodException e) { // Intentionally ignored - it means it wasn't found in the current class } } /* * Short circuit if all methods were upcast
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 13.5K bytes - Click Count (0) -
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) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
// Verify that the scroll method exists with correct signature try { SearchEngineUtil.class.getMethod("scroll", String.class, java.util.function.Function.class); } catch (NoSuchMethodException e) { fail("scroll method should exist with correct signature"); } } @Test public void test_XContentBuilderCallback_interface() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.8K bytes - Click Count (0)