Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getMethodDescNoException (0.07 sec)

  1. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

         * @return the value of the annotation element
         */
        protected static Object getProperty(final BeanDesc beanDesc, final Annotation annotation, final String name) {
            final MethodDesc methodDesc = beanDesc.getMethodDescNoException(name);
            if (methodDesc == null) {
                return null;
            }
            final Object value = methodDesc.invoke(annotation);
            if (value == null || "".equals(value)) {
                return null;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            MethodDesc methodDesc = beanDesc.getMethodDescNoException("getAaa");
            assertThat(methodDesc, is(notNullValue()));
            assertThat(methodDesc.getMethodName(), is("getAaa"));
            methodDesc = beanDesc.getMethodDescNoException("getaaa");
            assertThat(methodDesc, is(nullValue()));
        }
    
        /**
         * @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)
  3. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            final MethodDesc methodDesc = getMethodDescNoException(methodName, paramTypes);
            if (methodDesc != null) {
                return methodDesc;
            }
            throw new MethodNotFoundRuntimeException(beanClass, methodName, paramTypes);
        }
    
        @Override
        public MethodDesc getMethodDescNoException(final String methodName, final Class<?>... paramTypes) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/core/beans/BeanDesc.java

         * @param paramTypes
         *            The array of parameter types for the method
         * @return The {@link MethodDesc} that matches the given parameter types
         */
        MethodDesc getMethodDescNoException(String methodName, Class<?>... paramTypes);
    
        /**
         * Returns the {@link MethodDesc} that matches the given arguments.
         *
         * @param methodName
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top