Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for BeanDescImpl (0.07 sec)

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

        /** 不正なプロパティ名のセット */
        protected final Set<String> invalidPropertyNames = newHashSet();
    
        /**
         * {@link BeanDescImpl}を作成します。
         *
         * @param beanClass
         *            ビーンのクラス。{@literal null}であってはいけません
         */
        public BeanDescImpl(final Class<?> beanClass) {
            assertArgumentNotNull("beanClass", beanClass);
    
            this.beanClass = beanClass;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            final PropertyDesc propDesc = beanDesc.getPropertyDesc("url");
            propDesc.setValue(myBean, new Object());
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = IllegalPropertyRuntimeException.class)
        public void testGetValue_notReable() throws Exception {
            final MyBean myBean = new MyBean();
            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
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(Integer.class);
            assertThat((Integer) beanDesc.newInstance(10), is(10));
            assertThat((Integer) beanDesc.newInstance("10"), is(10));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testNewInstance2() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(Integer.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)
  4. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                    valueOfMethod = method;
                    break;
                }
            }
        }
    
        private void setUpParameterizedClassDesc() {
            final Map<TypeVariable<?>, Type> typeVariables = ((BeanDescImpl) beanDesc).getTypeVariables();
            if (field != null) {
                parameterizedClassDesc = ParameterizedClassDescFactory.createParameterizedClassDesc(field, typeVariables);
            } else if (readMethod != null) {
    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