Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for BeanDescImpl (0.05 sec)

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

        /** Set of invalid property names */
        protected final Set<String> invalidPropertyNames = newHashSet();
    
        /**
         * Creates a {@link BeanDescImpl}.
         *
         * @param beanClass
         *            the class of the bean. Must not be {@literal null}
         */
        public BeanDescImpl(final Class<?> beanClass) {
            assertArgumentNotNull("beanClass", beanClass);
    
            this.beanClass = beanClass;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

    /**
     * @author koichik
     *
     */
    public class MethodDescTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testFoo() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc foo = beanDesc.getMethodDesc("foo");
            assertThat(foo, is(notNullValue()));
            assertThat(foo.getBeanDesc(), is(sameInstance(beanDesc)));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java

        /**
         * @throws Exception
         */
        @SuppressWarnings("rawtypes")
        @Test
        public void testDefaultConstructor() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final ConstructorDesc ctor = beanDesc.getConstructorDesc();
            assertThat(ctor, is(notNullValue()));
            assertThat(ctor.getBeanDesc(), is(sameInstance(beanDesc)));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final FieldDesc aaa = beanDesc.getFieldDesc("aaa");
            aaa.getStaticFieldValue();
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = FieldNotStaticRuntimeException.class)
        public void testAaa_SetStaticFieldValue() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.concurrent.ConcurrentMap;
    
    import org.codelibs.core.beans.BeanDesc;
    import org.codelibs.core.beans.impl.BeanDescImpl;
    import org.codelibs.core.misc.DisposableUtil;
    
    /**
     * This class generates {@link BeanDesc}.
     * <p>
     * It returns a {@link BeanDesc} that handles the metadata of the specified JavaBeans.
     * </p>
     *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top