Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isParameterized (0.08 sec)

  1. 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)
  2. 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)
Back to top