- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for MethodDesc (0.15 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; /** * メソッドを扱うためのインターフェースです。 * * @author koichik */ public interface MethodDesc { /** * このメソッドを所有するクラスの{@link BeanDesc}を返します。 * * @return {@link BeanDesc} */ BeanDesc getBeanDesc(); /** * メソッドを返します。 * * @return コンストラクタ
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
return methodDesc; } } return null; } @Override public MethodDesc getSuitableMethodDesc(final String methodName, final Object... args) { assertArgumentNotEmpty("methodName", methodName); final MethodDesc[] methodDescs = getMethodDescs(methodName); MethodDesc methodDesc = findSuitableMethod(methodDescs, args);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 26.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java
for (final String methodName : beanDesc.getMethodNames()) { final MethodDesc methodDesc = beanDesc.getMethodDescNoException(methodName); if (methodDesc != null) { final Method method = methodDesc.getMethod(); final PreDestroy postConstruct = method.getAnnotation(PreDestroy.class);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 7.6K bytes - Viewed (0) -
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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.7K 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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 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; /** * {@link MethodDesc}の実装クラスです。 * * @author koichik */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.4K bytes - Viewed (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 { /** * パラメータ化された型(クラスまたはインタフェース)が持つ型変数をキー、型引数を値とする{@link Map}を返します。 * <p>
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.9K bytes - Viewed (0)