- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for BeanDesc (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.4K bytes - Click Count (0) -
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: 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/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java
* Constructs an instance. * * @param beanDesc * The {@link BeanDesc} of the class that owns this method. Must not be {@literal null}. * @param constructor * The constructor. Must not be {@literal null}. */ public ConstructorDescImpl(final BeanDesc beanDesc, final Constructor<?> constructor) { assertArgumentNotNull("beanDesc", beanDesc);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5K bytes - Click Count (0) -
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: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.8K bytes - Click Count (0) -
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: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 7.3K bytes - Click Count (1) -
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: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java
@Test public void test1ArgConstructor() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final ConstructorDesc ctor = beanDesc.getConstructorDesc(String.class); assertThat(ctor, is(notNullValue())); assertThat(ctor.getBeanDesc(), is(sameInstance(beanDesc))); assertThat(ctor.getConstructor(), is((Constructor) MyBean.class.getConstructor(String.class)));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.9K bytes - Click Count (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 { /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.3K bytes - Click Count (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(); /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java
* <p> * This class does not cache instances of {@link ParameterizedClassDesc}. Please obtain {@link ParameterizedClassDesc} via {@link BeanDesc}. * </p> * * @author koichik * @see BeanDesc#getTypeVariables() * @see PropertyDesc#getParameterizedClassDesc() * @see FieldDesc#getParameterizedClassDesc() * @see ConstructorDesc#getParameterizedClassDescs()Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.7K bytes - Click Count (0)