- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for setStaticFieldValue (0.1 seconds)
-
src/main/java/org/codelibs/core/beans/FieldDesc.java
/** * Sets the value of the static {@link Field}. * * @param value * the value of the {@link Field} */ void setStaticFieldValue(Object value);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/impl/FieldDescImpl.java
public void setFieldValue(final Object target, final Object value) { assertArgumentNotNull("target", target); FieldUtil.set(field, target, value); } @Override public void setStaticFieldValue(final Object value) { if (!isStatic()) { throw new FieldNotStaticRuntimeException(beanDesc.getBeanClass(), fieldName); } FieldUtil.set(field, value); }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
public void testAaa_SetStaticFieldValue() throws Exception { final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final FieldDesc aaa = beanDesc.getFieldDesc("aaa"); aaa.setStaticFieldValue(String.class); } /** * @throws Exception */ @Test public void testList() 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)