@Test
    public void setters1() {
        ArrayList list = new ArrayList();
        BeanUtils.setters(Bean1.class, true, e -> list.add(e));
        assertEquals(4, list.size());
    }
note

@author kon, created on 2022/4/27T11:04.
@version 1.0.0-SNAPSHOT
core/src/test/java/com/alibaba/fastjson2/util/BeanUtilsTest.java