Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasMethodDesc (0.07 sec)

  1. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

         */
        @Test
        public void testHasMethodDesc() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            assertThat(beanDesc.hasMethodDesc("getAaa"), is(true));
            assertThat(beanDesc.hasMethodDesc("getaaa"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = MethodNotFoundRuntimeException.class)
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            if (methodDescs == null) {
                throw new MethodNotFoundRuntimeException(beanClass, methodName, null);
            }
            return methodDescs;
        }
    
        @Override
        public boolean hasMethodDesc(final String methodName) {
            assertArgumentNotEmpty("methodName", methodName);
    
            return methodDescsCache.containsKey(methodName);
        }
    
        @Override
        public String[] getMethodNames() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top