public static void checkArgument(final boolean expression,
                                     final String errorMessageTemplate,
                                     final Object... errorMessageArgs) {
        if (!expression) {
            throw new IllegalArgumentException(
                    format(errorMessageTemplate, errorMessageArgs));
        }
    }
checkArgument.

@param expression expression
@param errorMessageTemplate errorMessageTemplate
@param errorMessageArgs errorMessageArgs
shenyu-sdk/shenyu-sdk-core/src/main/java/org/apache/shenyu/sdk/core/util/Util.java