Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isParameterized (0.09 sec)

  1. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

            return parameterTypes;
        }
    
        @Override
        public boolean isPublic() {
            return ConstructorUtil.isPublic(constructor);
        }
    
        @Override
        public boolean isParameterized(final int index) {
            assertArgumentArrayIndex("index", index, parameterTypes.length);
    
            return parameterizedClassDescs[index].isParameterizedClass();
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

            return MethodUtil.isAbstract(method);
        }
    
        @Override
        public boolean isParameterized(final int index) {
            assertArgumentArrayIndex("index", index, parameterTypes.length);
    
            return parameterizedClassDescs[index].isParameterizedClass();
        }
    
        @Override
        public boolean isParameterized() {
            return parameterizedClassDesc.isParameterizedClass();
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

         */
        public void testFieldType() throws Exception {
            BeanDesc bd = BeanDescFactory.getBeanDesc(Hoge.class);
            PropertyDesc pd = bd.getPropertyDesc("foo");
            assertThat(pd.isParameterized(), is(true));
            assertThat(pd.getElementClassOfCollection(), is(sameClass(String.class)));
    
            ParameterizedClassDesc pcd = pd.getParameterizedClassDesc();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            }
            if (valueOfMethod != null) {
                return MethodUtil.invoke(valueOfMethod, null, arg);
            }
            return arg;
        }
    
        @Override
        public boolean isParameterized() {
            return parameterizedClassDesc != null && parameterizedClassDesc.isParameterizedClass();
        }
    
        @Override
        public ParameterizedClassDesc getParameterizedClassDesc() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            assertThat(hoge.isPublic(), is(true));
            assertThat(hoge.isStatic(), is(true));
            assertThat(hoge.isFinal(), is(true));
            assertThat(hoge.isParameterized(), is(not(true)));
            final ParameterizedClassDesc parameterizedClassDesc = hoge.getParameterizedClassDesc();
            assertThat(parameterizedClassDesc, is(notNullValue()));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/MethodDesc.java

         *
         * @param index
         *            引数のインデックス
         * @return 引数型がパラメタ化された型の場合は{@literal true}
         */
        boolean isParameterized(int index);
    
        /**
         * 戻り値型がパラメタ化された型の場合は{@literal true}を返します。
         *
         * @return 戻り値型がパラメタ化された型の場合は{@literal true}
         */
        boolean isParameterized();
    
        /**
         * メソッドの引数型を表現する{@link ParameterizedClassDesc}の配列を返します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top