Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for MethodDesc (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

     *     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
     */
    public interface BeanDesc {
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

         * @return a {@link MethodDesc} that matches the arguments, or {@literal null} if none exists
         */
        protected MethodDesc findSuitableMethodDescAdjustNumber(final MethodDesc[] methodDescs, final Object[] args) {
            for (final MethodDesc methodDesc : methodDescs) {
                if (isSuitable(methodDesc.getParameterTypes(), args, true)) {
                    return methodDesc;
                }
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 25.8K bytes
    - Click Count (1)
  3. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

         */
        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;
            }
            return value;
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.hamcrest.CoreMatchers.sameInstance;
    import static org.junit.Assert.assertThat;
    
    import org.codelibs.core.beans.BeanDesc;
    import org.codelibs.core.beans.MethodDesc;
    import org.codelibs.core.exception.MethodNotStaticRuntimeException;
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class MethodDescTest {
    
        /**
         * @throws Exception
         */
    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)
  5. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

     * @see BeanDesc#getTypeVariables()
     * @see PropertyDesc#getParameterizedClassDesc()
     * @see FieldDesc#getParameterizedClassDesc()
     * @see ConstructorDesc#getParameterizedClassDescs()
     * @see MethodDesc#getParameterizedClassDesc()
     * @see MethodDesc#getParameterizedClassDescs()
     */
    public abstract class ParameterizedClassDescFactory {
    
        /**
         * Do not instantiate.
         */
        protected ParameterizedClassDescFactory() {
        }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

    import org.codelibs.core.beans.BeanDesc;
    import org.codelibs.core.beans.MethodDesc;
    import org.codelibs.core.beans.ParameterizedClassDesc;
    import org.codelibs.core.beans.factory.ParameterizedClassDescFactory;
    import org.codelibs.core.exception.MethodNotStaticRuntimeException;
    import org.codelibs.core.lang.MethodUtil;
    
    /**
     * Implementation class of {@link MethodDesc}.
     *
     * @author koichik
     */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 7.3K bytes
    - Click Count (1)
Back to Top