类 FieldSetter<E>

    • 构造器详细资料

      • FieldSetter

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