Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 21 for BeanDesc (0.18 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/core/beans/BeanDesc.java

    /**
     * Interface for handling JavaBeans metadata.
     * <p>
     * Instances of {@link BeanDesc} are obtained from {@link BeanDescFactory}.
     * </p>
     *
     * <pre>
     * BeanDesc beanDesc = BeanDescFactory.getBeanDesc(Foo.class);
     * </pre>
     * <p>
     * From the obtained {@link BeanDesc}, you can retrieve metadata of the properties, fields, constructors, and methods of the target JavaBeans.
     * </p>
     *
     * <pre>
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

         * @throws Exception
         */
        @Test
        public void testBar() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc bar = beanDesc.getMethodDesc("bar", String.class);
            assertThat(bar, is(notNullValue()));
            assertThat(bar.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(bar.getMethod(), is(MyBean.class.getDeclaredMethod("bar", String.class)));
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

         *
         * @param beanDesc the {@link BeanDesc} representing the annotation
         * @param annotation the annotation
         * @param name the name of the element
         * @return the value of the annotation element
         */
        protected static Object getProperty(final BeanDesc beanDesc, final Annotation annotation, final String name) {
            final MethodDesc methodDesc = beanDesc.getMethodDescNoException(name);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/beans/impl/FieldDescImpl.java

        /**
         * Constructs an instance.
         *
         * @param beanDesc
         *            The {@link BeanDesc} of the class that owns this field. Must not be {@literal null}.
         * @param field
         *            The field. Must not be {@literal null}.
         */
        public FieldDescImpl(final BeanDesc beanDesc, final Field field) {
            assertArgumentNotNull("beanDesc", beanDesc);
            assertArgumentNotNull("field", field);
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. 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);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final PropertyDesc propDesc = beanDesc.getPropertyDesc("jjj");
            propDesc.setValue(myBean, null);
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = IllegalPropertyRuntimeException.class)
        public void testSetValue_invalidType() throws Exception {
            final MyBean myBean = new MyBean();
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 11K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

    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>
     *
     * <pre>
     * BeanDesc beanDesc = BeanDescFactory.getBeanDesc(Foo.class);
     * </pre>
     * <p>
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. 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);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

        /**
         * Constructs an instance.
         *
         * @param beanDesc
         *            The {@link BeanDesc} of the class that owns this method. Must not be {@literal null}.
         * @param method
         *            The method. Must not be {@literal null}.
         */
        public MethodDescImpl(final BeanDesc beanDesc, final Method method) {
            assertArgumentNotNull("beanDesc", beanDesc);
            assertArgumentNotNull("method", method);
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 7.3K bytes
    - Click Count (1)
  10. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

         *            The setter method.
         * @param beanDesc
         *            The {@link BeanDesc}. Must not be {@literal null}.
         */
        public PropertyDescImpl(final String propertyName, final Class<?> propertyType, final Method readMethod, final Method writeMethod,
                final BeanDesc beanDesc) {
            this(propertyName, propertyType, readMethod, writeMethod, null, beanDesc);
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 24 01:52:43 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top