- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for MethodDesc (0.05 seconds)
-
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) -
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) -
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 */
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 13.9K bytes - Click Count (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; }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) -
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)