Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getArguments (0.13 sec)

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

            ParameterizedClassDesc pcd = pd.getParameterizedClassDesc();
            assertThat(pcd.getRawClass(), is(sameClass(Map.class)));
            assertThat(pcd.getArguments().length, is(2));
            assertThat(pcd.getArguments()[0].getRawClass(), is(sameClass(String.class)));
            assertThat(pcd.getArguments()[1].getRawClass(), is(sameClass(Date.class)));
    
            pd = bd.getPropertyDesc("hege");
            assertThat(pd.isParameterized(), is(true));
    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 (!Collection.class.isAssignableFrom(propertyType) || !isParameterized()) {
                return null;
            }
            final ParameterizedClassDesc pcd = parameterizedClassDesc.getArguments()[0];
            if (pcd == null) {
                return null;
            }
            return pcd.getRawClass();
        }
    
        @Override
        public Class<?> getKeyClassOfMap() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            for (int i = 0; i < parameterTypes.length; ++i) {
                parameterDescs[i] = createParameterizedClassDesc(parameterTypes[i], map);
            }
            desc.setArguments(parameterDescs);
            return desc;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top