@Override
    public String toString() {
        return "ExtensionClass{" +
            "clazz=" + clazz +
            ", alias='" + alias + '\'' +
            ", code=" + code +
            ", singleton=" + singleton +
            ", order=" + order +
            ", override=" + override +
            ", rejection=" + Arrays.toString(rejection) +
            ", instance=" + instance +
            '}';
    }
Sets rejection.

@param rejection the rejection
@return the rejection
core/api/src/main/java/com/alipay/sofa/rpc/ext/ExtensionClass.java