Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getFieldType (0.45 sec)

  1. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            assertThat(hoge.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(hoge.getField(), is(MyBean.class.getDeclaredField("HOGE")));
            assertThat(hoge.getFieldName(), is("HOGE"));
            assertThat(hoge.getFieldType(), is(sameClass(String.class)));
            assertThat(hoge.isPublic(), is(true));
            assertThat(hoge.isStatic(), is(true));
            assertThat(hoge.isFinal(), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/FieldDesc.java

        String getFieldName();
    
        /**
         * Returns the type of the field.
         *
         * @param <T>
         *            the type of the field
         * @return the type of the field
         */
        <T> Class<T> getFieldType();
    
        /**
         * Returns {@literal true} if the field is {@literal public}.
         *
         * @return {@literal true} if the field is {@literal public}
         */
        boolean isPublic();
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/FieldDescImpl.java

            return field;
        }
    
        @Override
        public String getFieldName() {
            return fieldName;
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public <T> Class<T> getFieldType() {
            return (Class<T>) fieldType;
        }
    
        @Override
        public boolean isPublic() {
            return FieldUtil.isPublicField(field);
        }
    
        @Override
        public boolean isStatic() {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top