public RpcInternalContext clearAttachments() {
        if (attachments != null && attachments.size() > 0) {
            attachments.clear();
        }
        return this;
    }
Sets provider info.

@param providerInfo the provider info
@return the provider info
core/api/src/main/java/com/alipay/sofa/rpc/context/RpcInternalContext.java