- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for FieldDesc (0.26 sec)
-
src/main/java/org/codelibs/core/beans/FieldDesc.java
package org.codelibs.core.beans; import java.lang.reflect.Field; import java.util.Collection; 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. *
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/impl/BeanDescImpl.java
} @Override public FieldDesc getFieldDesc(final String fieldName) { assertArgumentNotEmpty("fieldName", fieldName); final FieldDesc fieldDesc = fieldDescCache.get(fieldName); if (fieldDesc == null) { throw new FieldNotFoundRuntimeException(beanClass, fieldName); } return fieldDesc; } @Override
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1) -
src/main/java/org/codelibs/core/beans/BeanDesc.java
* @return {@link FieldDesc} */ FieldDesc getFieldDesc(String fieldName); /** * Returns the {@link FieldDesc}. * * @param index * The index of the {@link FieldDesc} * @return {@link FieldDesc} */ FieldDesc getFieldDesc(int index); /** * Returns the number of {@link FieldDesc}. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
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); final FieldDesc aaa = beanDesc.getFieldDesc("aaa");
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/impl/BeanDescImplTest.java
final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); assertThat(beanDesc.hasFieldDesc("HOGE"), is(true)); final FieldDesc fieldDesc = beanDesc.getFieldDesc("HOGE"); assertThat(fieldDesc.getFieldName(), is("HOGE")); assertThat(beanDesc.hasFieldDesc("aaa"), is(true)); assertThat(beanDesc.hasFieldDesc("aaA"), is(not(true))); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/FieldDescImpl.java
import org.codelibs.core.beans.BeanDesc; import org.codelibs.core.beans.FieldDesc; import org.codelibs.core.beans.ParameterizedClassDesc; import org.codelibs.core.beans.factory.ParameterizedClassDescFactory; import org.codelibs.core.exception.FieldNotStaticRuntimeException; import org.codelibs.core.lang.FieldUtil; /** * Implementation class of {@link FieldDesc}. * * @author koichik */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.1K bytes - Viewed (0)