@Test
    public void getGenericSupertype() {
        assertEquals("java.util.List<E>",
                BeanUtils.getGenericSupertype(ArrayList.class, ArrayList.class, List.class).toString()
        );
    }
note

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