- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for BeanDescImpl (0.08 sec)
-
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
/** 不正なプロパティ名のセット */ protected final Set<String> invalidPropertyNames = newHashSet(); /** * {@link BeanDescImpl}を作成します。 * * @param beanClass * ビーンのクラス。{@literal null}であってはいけません */ public BeanDescImpl(final Class<?> beanClass) { assertArgumentNotNull("beanClass", beanClass); this.beanClass = beanClass;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 26.1K bytes - Viewed (0) -
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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.1K bytes - Viewed (0) -
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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.4K 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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5K bytes - Viewed (0) -
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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.9K bytes - Viewed (0) -
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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.9K bytes - Viewed (0) -
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; /** * {@link BeanDesc}を生成するクラスです。 * <p> * 指定されたJavaBeansのメタデータを扱う{@link BeanDesc}を返します。 * </p> * * <pre>
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.9K bytes - Viewed (0) -
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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.3K bytes - Viewed (0)