类 FieldGetter<T>

    • 构造器详细资料

      • FieldGetter

        public FieldGetter​(Class<? super T> srcClass,
                           Field field,
                           FieldGetter.Configuration configuration)
                    throws NoSuchMethodException
        Construct a FieldGetter to get a field in `srcClass` The `field` may be declared in a base class of `srcClass`
        参数:
        srcClass - the type of the Java bean whose field is to be read
        field - the field to be read
        configuration - specifies how to get the field value
        抛出:
        NoSuchMethodException - if the configuration does not allow directly access to the field but there is no public getter of the field