- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for beanDesc (0.04 sec)
-
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>
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.8K bytes - Viewed (0) -
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) -
src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java
} /** * @throws Exception */ @Test public void testClear() throws Exception { final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class); BeanDescFactory.clear(); assertThat(BeanDescFactory.getBeanDesc(MyBean.class), is(not(sameInstance(beanDesc)))); } /** * */ public static class MyBean { /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(closeableHttpClient.getClass()); for (final Map.Entry<String, Object> entry : httpClientPropertyMap.entrySet()) { final String propertyName = entry.getKey(); if (beanDesc.hasPropertyDesc(propertyName)) { final PropertyDesc propertyDesc = beanDesc.getPropertyDesc(propertyName);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/ConstructorDesc.java
/** * Interface for handling constructors. * * @author koichik */ public interface ConstructorDesc { /** * Returns the {@link BeanDesc} of the class that owns this constructor. * * @return {@link BeanDesc} */ BeanDesc getBeanDesc(); /** * Returns the constructor. * * @param <T> * The type of the Bean * @return The constructor
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/FieldDesc.java
import java.util.Map; /** * Interface for handling fields. * * @author koichik */ public interface FieldDesc { /** * Returns the {@link BeanDesc} of the class that owns this field. * * @return {@link BeanDesc} */ BeanDesc getBeanDesc(); /** * Returns the field. * * @return the field */ Field getField(); /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/PropertyDesc.java
* the value to be converted * @return the converted value */ <T> T convertIfNeed(Object value); /** * Returns the {@link BeanDesc}. * * @return the {@link BeanDesc} */ BeanDesc getBeanDesc(); /** * Returns {@literal true} if this property is parameterized. * * @return {@literal true} if this property is parameterized */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.3K bytes - Viewed (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);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/MethodDesc.java
import java.util.Map; /** * Interface for handling methods. * * @author koichik */ public interface MethodDesc { /** * Returns the {@link BeanDesc} of the class that owns this method. * * @return {@link BeanDesc} */ BeanDesc getBeanDesc(); /** * Returns the method. * * @return the method */ Method getMethod(); /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
* @param target The target object. * @return The URL string, or null if not found. */ private String getUrl(final Object target) { final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(target.getClass()); final PropertyDesc sessionIdProp = beanDesc.getPropertyDesc(URL); final Object sessionId = sessionIdProp.getValue(target); return sessionId == null ? null : sessionId.toString(); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 34.2K bytes - Viewed (0)