Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getParameterizedClassDesc (0.25 sec)

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

            assertThat(pd.isParameterized(), is(true));
            assertThat(pd.getElementClassOfCollection(), is(sameClass(String.class)));
    
            ParameterizedClassDesc pcd = pd.getParameterizedClassDesc();
            assertThat(pcd.getRawClass(), is(sameClass(List.class)));
            assertThat(pcd.getArguments().length, is(1));
            assertThat(pcd.getArguments()[0].getRawClass(), is(sameClass(String.class)));
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

     * {@link ParameterizedClassDesc}を取得するようにしてください。
     * </p>
     *
     * @author koichik
     * @see BeanDesc#getTypeVariables()
     * @see PropertyDesc#getParameterizedClassDesc()
     * @see FieldDesc#getParameterizedClassDesc()
     * @see ConstructorDesc#getParameterizedClassDescs()
     * @see MethodDesc#getParameterizedClassDesc()
     * @see MethodDesc#getParameterizedClassDescs()
     */
    public abstract class ParameterizedClassDescFactory {
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            assertThat(hoge.isParameterized(), is(not(true)));
            final ParameterizedClassDesc parameterizedClassDesc = hoge.getParameterizedClassDesc();
            assertThat(parameterizedClassDesc, is(notNullValue()));
            assertThat(hoge.getParameterizedClassDesc().isParameterizedClass(), is(not(true)));
            assertThat(hoge.getStaticFieldValue(), is((Object) "hoge"));
        }
    
        /**
         * @throws Exception
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

        }
    
        @Override
        public ParameterizedClassDesc[] getParameterizedClassDescs() {
            return parameterizedClassDescs;
        }
    
        @Override
        public ParameterizedClassDesc getParameterizedClassDesc() {
            return parameterizedClassDesc;
        }
    
        @Override
        public Class<?> getElementClassOfCollection(final int index) {
            assertArgumentArrayIndex("index", index, parameterTypes.length);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/MethodDesc.java

        /**
         * メソッドの戻り値型を表現する{@link ParameterizedClassDesc}を返します。
         *
         * @return メソッドの戻り値型を表現する{@link ParameterizedClassDesc}
         */
        ParameterizedClassDesc getParameterizedClassDesc();
    
        /**
         * メソッドの引数型がパラメタ化された{@link Collection}の場合、その要素型を返します。
         *
         * @param index
         *            引数のインデックス
         * @return メソッドの引数型がパラメタ化された{@link Collection}の場合はその要素型、そうでない場合は
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

        @Override
        public boolean isParameterized() {
            return parameterizedClassDesc != null && parameterizedClassDesc.isParameterizedClass();
        }
    
        @Override
        public ParameterizedClassDesc getParameterizedClassDesc() {
            return parameterizedClassDesc;
        }
    
        @Override
        public Class<?> getElementClassOfCollection() {
            if (!Collection.class.isAssignableFrom(propertyType) || !isParameterized()) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top