Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getMethodNames (0.24 sec)

  1. src/main/java/org/codelibs/core/beans/BeanDesc.java

     * }
     *
     * for (ConstructorDesc constructorDesc : beanDesc.getConstructorDescs()) {
     *     constructorDesc.newInstance(...); // Create an instance of Foo
     * }
     *
     * for (String methodName : beanDesc.getMethodNames()) {
     *     for (MethodDesc methodDesc : beanDesc.getMethodDescs(methodName)) {
     *         methodDesc.invoke(foo, ...); // Invoke Foo's method
     *     }
     * }
     * </pre>
     *
     * @author higa
     * @see BeanDescFactory
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

            final Map<String, Object> map = newHashMap();
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(annotation.annotationType());
            for (final String name : beanDesc.getMethodNames()) {
                final Object v = getProperty(beanDesc, annotation, name);
                if (v != null) {
                    map.put(name, v);
                }
            }
            return map;
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testGetMethodNames() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(getClass());
            final String[] names = beanDesc.getMethodNames();
            for (final String name : names) {
                System.out.println(name);
            }
            assertThat(names.length > 0, is(true));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            assertArgumentNotEmpty("methodName", methodName);
    
            return methodDescsCache.containsKey(methodName);
        }
    
        @Override
        public String[] getMethodNames() {
            return methodDescsCache.keySet().toArray(new String[methodDescsCache.size()]);
        }
    
        /**
         * Returns the {@link PropertyDesc} for the specified property name.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
Back to top