Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 214 for getMethod (0.05 seconds)

  1. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            try {
                final Method messageMethod = CustomSize.class.getMethod("message");
                assertNotNull(messageMethod, "message() method should exist");
                assertEquals("message() return type should be String", String.class, messageMethod.getReturnType());
    
                final Method groupsMethod = CustomSize.class.getMethod("groups");
                assertNotNull(groupsMethod, "groups() method should exist");
    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)
  2. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            final MethodDesc foo = beanDesc.getMethodDesc("foo");
            assertThat(foo, is(notNullValue()));
            assertThat(foo.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(foo.getMethod(), is(MyBean.class.getMethod("foo")));
            assertThat(foo.getMethodName(), is("foo"));
            assertThat(foo.getParameterTypes().length, is(0));
            assertThat(foo.isPublic(), is(true));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            Method parentMethod = ParentClass.class.getMethod("parentMethod");
            Secured parentSecured = parentMethod.getAnnotation(Secured.class);
            assertNotNull(parentSecured);
            assertEquals("ROLE_PARENT_METHOD", parentSecured.value()[0]);
    
            // Overridden method does not inherit annotation
            Method childMethod = ChildClass.class.getMethod("parentMethod");
    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)
  4. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

                return requestURI;
            }
    
            @Override
            public String getContextPath() {
                return contextPath;
            }
    
            @Override
            public String getMethod() {
                return "GET";
            }
    
            @Override
            public String getAuthType() {
                return null;
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            try {
                final Method protocolTypeMethod = UriType.class.getMethod("protocolType");
                assertNotNull(protocolTypeMethod, "protocolType() method should exist");
                assertEquals("protocolType() return type should be ProtocolType", ProtocolType.class, protocolTypeMethod.getReturnType());
    
                final Method messageMethod = UriType.class.getMethod("message");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.3K bytes
    - Click Count (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        @Require(IMPLIES_BAR)
        class Tester {
          @Keep
          @Require(IMPLIES_IMPLIES_FOO)
          public void test() {}
        }
    
        TesterRequirements requirements = buildTesterRequirements(Tester.class.getMethod("test"));
    
        assertThat(requirements.getPresentFeatures())
            .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO, IMPLIES_BAR, BAR);
        assertThat(requirements.getAbsentFeatures()).isEmpty();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/AllocInfoTest.java

            void shouldDefineGetCapacityMethod() throws NoSuchMethodException {
                // 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")
    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)
  8. android/guava/src/com/google/common/io/TempFileCreator.java

             */
    
            Method currentMethod = processHandleClass.getMethod("current");
            Method infoMethod = processHandleClass.getMethod("info");
            Method userMethod = processHandleInfoClass.getMethod("user");
            Method orElseMethod = optionalClass.getMethod("orElse", Object.class);
    
            Object current = currentMethod.invoke(null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 18:50:14 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  9. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        @Require(IMPLIES_BAR)
        class Tester {
          @Keep
          @Require(IMPLIES_IMPLIES_FOO)
          public void test() {}
        }
    
        TesterRequirements requirements = buildTesterRequirements(Tester.class.getMethod("test"));
    
        assertThat(requirements.getPresentFeatures())
            .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO, IMPLIES_BAR, BAR);
        assertThat(requirements.getAbsentFeatures()).isEmpty();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

         */
        @Test
        public void testMethodParameterType() throws Exception {
            final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class);
            final Method method = Hoge.class.getMethod("foo", Set.class, Map.class);
            ParameterizedClassDesc desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 0, map);
            assertThat(desc.getRawClass(), is(sameClass(Set.class)));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top