- Sort Score
- Num 10 results
- Language All
Results 11 - 14 of 14 for getBeanDesc (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/core/lang/AnnotationUtil.java
assertArgumentNotNull("annotation", annotation); final Map<String, Object> map = newHashMap(); final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(annotation.annotationType()); for (final String name : beanDesc.getMethodNames()) { final Object v = getProperty(beanDesc, annotation, name); if (v != null) { map.put(name, v);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java
assertThat(myBean.getURL(), is(notNullValue())); } /** * */ public void testConvertWithString() { final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyDto.class); final PropertyDesc pd = beanDesc.getPropertyDesc("myEnum"); final MyDto dto = new MyDto(); pd.setValue(dto, "ONE"); assertEquals(MyEnum.ONE, dto.myEnum); }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 11K bytes - Click Count (0) -
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: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 24 01:52:43 GMT 2025 - 7.9K bytes - Click Count (0) -
README.md
import org.codelibs.core.beans.factory.BeanDescFactory; import org.codelibs.core.beans.util.BeanUtil; import org.codelibs.core.beans.util.CopyOptions; // Bean metadata introspection BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class); PropertyDesc nameProperty = beanDesc.getPropertyDesc("name"); nameProperty.setValue(bean, "John Doe"); // Bean copying with flexible options BeanUtil.copyBeanToBean(source, destination);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0)