- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for getParameterCount (0.07 seconds)
-
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
assertEquals(0, m1.getParameterCount()); assertEquals(0, m1.getExceptionTypes().length); // overlaps(SmbResourceLocator): boolean, declares CIFSException Method m2 = clazz.getMethod("overlaps", SmbResourceLocator.class); assertEquals(boolean.class, m2.getReturnType()); assertEquals(1, m2.getParameterCount()); Class<?>[] ex = m2.getExceptionTypes();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
int getTotalParameterCount() { return totalParameterCount; } int getTotalDataCount() { return totalDataCount; } int getParameterCount() { return parameterCount; } int getDataCount() { return dataCount; } int getSetupCount() { return setupCount; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
return maxDataCount; } public void setMaxDataCountForTest(int value) { this.maxDataCount = value; } public int getParameterCount() { return parameterCount; } public void setParameterCount(int value) { this.parameterCount = value; } public int getParameterOffset() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
assertEquals("appendOsStats should take StringBuilder", StringBuilder.class, method.getParameterTypes()[0]); break; case "appendProcessStats": hasAppendProcessStats = true; assertEquals("appendProcessStats should take StringBuilder parameter", 1, method.getParameterCount());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/SmbSessionTest.java
java.lang.reflect.Method closeMethod = SmbSession.class.getMethod("close"); assertEquals("close", closeMethod.getName()); assertEquals(0, closeMethod.getParameterCount()); assertEquals(void.class, closeMethod.getReturnType()); }, "close() method should be properly defined"); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java
Map<String, MethodInfo> methodMap = new HashMap<>(); for (Method method : beanType.getMethods()) { if (!Modifier.isStatic(method.getModifiers()) && method.getParameterCount() == 1) { Type[] paramTypes = method.getGenericParameterTypes(); methodMap.putIfAbsent(method.getName(), new MethodInfo(method, paramTypes[0])); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Nov 12 14:59:46 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
assertTrue("Method should be public", java.lang.reflect.Modifier.isPublic(method.getModifiers())); // Check parameter count assertEquals("Method should have no parameters", 0, method.getParameterCount()); } catch (NoSuchMethodException e) { fail("getSearchEngineHttpAddress method should exist"); } } @Test public void test_systemProperty_independence() {
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) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
Method valueMethod = Secured.class.getMethod("value"); assertNotNull(valueMethod); assertEquals(String[].class, valueMethod.getReturnType()); assertEquals(0, valueMethod.getParameterCount()); } // Test class with single role @Secured({ "ROLE_USER" }) static class SingleRoleClass { public void testMethod() { } } // Test class with multiple roles
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)