- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for MethodDesc (0.07 sec)
-
src/main/java/org/codelibs/core/beans/MethodDesc.java
package org.codelibs.core.beans; import java.lang.reflect.Method; import java.util.Collection; import java.util.Map; /** * Interface for handling methods. * * @author koichik */ public interface MethodDesc { /** * Returns the {@link BeanDesc} of the class that owns this method. * * @return {@link BeanDesc} */ BeanDesc getBeanDesc(); /** * Returns the method.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.9K bytes - Viewed (0) -
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 { /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 7.9K bytes - Viewed (0) -
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; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.6K bytes - Viewed (0) -
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 */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
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 */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 7.3K bytes - Viewed (0)