Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getFieldDesc (0.23 sec)

  1. 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

        public void testGetFieldDescs() throws Exception {
            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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            assertArgumentNotEmpty("fieldName", fieldName);
    
            return fieldDescCache.containsKey(fieldName);
        }
    
        @Override
        public FieldDesc getFieldDesc(final String fieldName) {
            assertArgumentNotEmpty("fieldName", fieldName);
    
            final FieldDesc fieldDesc = fieldDescCache.get(fieldName);
            if (fieldDesc == null) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top