@Override
    public void process(final ApiBean apiBean) {
        final T annotation = apiBean.getAnnotation(matchAnnotation());
        if (match(apiBean) && Objects.nonNull(annotation)) {
            process(apiBean, annotation);
        }
        for (ApiBean.ApiDefinition definition : apiBean.getApiDefinitions()) {
            final T definitionAnnotation = definition.getAnnotation(matchAnnotation());
            if (match(definition) && Objects.nonNull(definitionAnnotation)) {
                process(definition, definitionAnnotation);
            }
        }
    }
BaseAnnotationApiProcessor.<br>
API processor that supports annotations.
shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/register/matcher/BaseAnnotationApiProcessor.java