Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for getReturnType (0.06 sec)

  1. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                assertTrue("printThreadDump should be public", java.lang.reflect.Modifier.isPublic(printMethod.getModifiers()));
                assertEquals("printThreadDump should return void", void.class, printMethod.getReturnType());
    
                // printThreadDumpAsWarn()
                java.lang.reflect.Method warnMethod = ThreadDumpUtil.class.getMethod("printThreadDumpAsWarn");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                    if (m.getParameterTypes().length != 0
                            || !m.getReturnType().equals(Boolean.TYPE) && !m.getReturnType().equals(Boolean.class)) {
                        continue;
                    }
                    final String propertyName = StringUtil.decapitalize(methodName.substring(2));
                    setupReadMethod(m, propertyName);
                } else if (methodName.startsWith("set")) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  3. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

                assertEquals("message() return type should be String", String.class, messageMethod.getReturnType());
    
                final Method groupsMethod = CustomSize.class.getMethod("groups");
                assertNotNull("groups() method should exist", groupsMethod);
                assertEquals("groups() return type should be Class[]", Class[].class, groupsMethod.getReturnType());
    
                final Method payloadMethod = CustomSize.class.getMethod("payload");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

            this.beanDesc = beanDesc;
            this.method = method;
            methodName = method.getName();
            parameterTypes = method.getParameterTypes();
            returnType = method.getReturnType();
            parameterizedClassDescs = new ParameterizedClassDesc[parameterTypes.length];
            for (int i = 0; i < parameterTypes.length; ++i) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            assertEquals(boolean.class, m1.getReturnType());
            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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                assertTrue("setObject should be public", java.lang.reflect.Modifier.isPublic(setObjectMethod.getModifiers()));
                assertEquals("setObject should return void", void.class, setObjectMethod.getReturnType());
    
                // getObject(String)
                Method getObjectMethod = WebApiUtil.class.getMethod("getObject", String.class);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbSessionTest.java

                    assertEquals("close", closeMethod.getName());
                    assertEquals(0, closeMethod.getParameterCount());
                    assertEquals(void.class, closeMethod.getReturnType());
                }, "close() method should be properly defined");
            }
    
            @Test
            @DisplayName("Should allow close method to be called multiple times")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          this.interfaceType = interfaceType;
          this.method = method;
          this.passedArgs = getParameterValues(method);
          this.returnValue = new FreshValueGenerator().generateFresh(method.getReturnType());
        }
    
        @Override
        protected @Nullable Object handleInvocation(
            Object p, Method calledMethod, @Nullable Object[] args) throws Throwable {
          assertEquals(method, calledMethod);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/AllocInfoTest.java

                // Verify method exists with correct signature
                assertNotNull(AllocInfo.class.getMethod("getCapacity"));
                assertEquals(long.class, AllocInfo.class.getMethod("getCapacity").getReturnType());
            }
    
            @Test
            @DisplayName("Should define getFree method")
            void shouldDefineGetFreeMethod() throws NoSuchMethodException {
                // Verify method exists with correct signature
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

                final Method messageMethod = UriType.class.getMethod("message");
                assertNotNull("message() method should exist", messageMethod);
                assertEquals("message() return type should be String", String.class, messageMethod.getReturnType());
    
                final Method groupsMethod = UriType.class.getMethod("groups");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top