@Test
    void testCombinationGetJSONBuilderFromClassAndAnnotation() {
        Class<CombinationJSONTypePojo> clazz = CombinationJSONTypePojo.class;
        JSONType jsonTypeFromClass = BeanUtils.findAnnotation(clazz, JSONType.class);
        assertNotNull(jsonTypeFromClass);

        Annotation[] annotations = clazz.getAnnotations();
        Optional<JSONType> jsonTypeFromAnnotation = Arrays.stream(annotations)
                .map(annotation -> BeanUtils.findAnnotation(annotation, JSONType.class))
                .filter(Objects::nonNull)
                .findAny();
        assertTrue(jsonTypeFromAnnotation.isPresent());
    }
Test for {@link JSONType}

@author lzhpo
core/src/test/java/com/alibaba/fastjson2/annotation/JSONTypeCombinationTest.java