Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for BeanDesc (0.05 sec)

  1. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final FieldDesc aaa = beanDesc.getFieldDesc("aaa");
            aaa.getStaticFieldValue();
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = FieldNotStaticRuntimeException.class)
        public void testAaa_SetStaticFieldValue() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

    import org.codelibs.core.beans.BeanDesc;
    import org.codelibs.core.beans.impl.BeanDescImpl;
    import org.codelibs.core.misc.DisposableUtil;
    
    /**
     * {@link BeanDesc}を生成するクラスです。
     * <p>
     * 指定されたJavaBeansのメタデータを扱う{@link BeanDesc}を返します。
     * </p>
     *
     * <pre>
     * BeanDesc beanDesc = BeanDescFactory.getBeanDesc(Foo.class);
     * </pre>
     * <p>
     * {@link BeanDesc}はキャッシュされます。 キャッシュをクリアするには{@link DisposableUtil#dispose()}
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(closeableHttpClient.getClass());
                for (final Map.Entry<String, Object> entry : httpClientPropertyMap.entrySet()) {
                    final String propertyName = entry.getKey();
                    if (beanDesc.hasPropertyDesc(propertyName)) {
                        final PropertyDesc propertyDesc = beanDesc.getPropertyDesc(propertyName);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(target.getClass());
            final PropertyDesc sessionIdProp = beanDesc.getPropertyDesc(URL);
            final Object sessionId = sessionIdProp.getValue(target);
            return sessionId == null ? null : sessionId.toString();
        }
    
        private String getSessionId(final Object target) {
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(target.getClass());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

    /**
     * フィールの型やメソッドの引数型、戻り値型を表現する{@link ParameterizedClassDesc}を作成するファクトリです。
     * <p>
     * このクラスでは{@link ParameterizedClassDesc}のインスタンスをキャッシュしません。 {@link BeanDesc}経由で
     * {@link ParameterizedClassDesc}を取得するようにしてください。
     * </p>
     *
     * @author koichik
     * @see BeanDesc#getTypeVariables()
     * @see PropertyDesc#getParameterizedClassDesc()
     * @see FieldDesc#getParameterizedClassDesc()
     * @see ConstructorDesc#getParameterizedClassDescs()
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/MethodDesc.java

    import java.util.Map;
    
    /**
     * メソッドを扱うためのインターフェースです。
     *
     * @author koichik
     */
    public interface MethodDesc {
    
        /**
         * このメソッドを所有するクラスの{@link BeanDesc}を返します。
         *
         * @return {@link BeanDesc}
         */
        BeanDesc getBeanDesc();
    
        /**
         * メソッドを返します。
         *
         * @return コンストラクタ
         */
        Method getMethod();
    
        /**
         * メソッド名を返します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

    import org.codelibs.core.lang.ClassUtil;
    import org.codelibs.core.lang.FieldUtil;
    import org.codelibs.core.lang.StringUtil;
    
    /**
     * {@link BeanDesc}の実装クラスです。
     *
     * @author higa
     */
    public class BeanDescImpl implements BeanDesc {
    
        /** 空のオブジェクト配列 */
        protected static final Object[] EMPTY_ARGS = new Object[0];
    
        /** 空のクラス配列 */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

            assertArgumentNotNull("src", src);
            assertArgumentNotNull("dest", dest);
            assertArgumentNotNull("option", options);
    
            final BeanDesc srcBeanDesc = BeanDescFactory.getBeanDesc(src.getClass());
            final BeanDesc destBeanDesc = BeanDescFactory.getBeanDesc(dest.getClass());
            for (final PropertyDesc srcPropertyDesc : srcBeanDesc.getPropertyDescs()) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(closeableHttpClient.getClass());
                for (final Map.Entry<String, Object> entry : httpClientPropertyMap.entrySet()) {
                    final String propertyName = entry.getKey();
                    if (beanDesc.hasPropertyDesc(propertyName)) {
                        final PropertyDesc propertyDesc = beanDesc.getPropertyDesc(propertyName);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top