Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
chặn > Quy trình > mutateCallers
Hàm Opportunitys.mutateCallers()
Khi định nghĩa quy trình thay đổi các tham số, hãy tìm và chỉnh sửa tất cả phương thức gọi của quy trình đó.
Chữ ký:
export declare function mutateCallers(defBlock: Block): void;
Tham số
Thông số |
Loại |
Mô tả |
defBlock |
Chặn |
Khối định nghĩa quy trình. |
Trường hợp trả lại hàng:
void
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],["The `Procedures.mutateCallers()` function updates all instances where a procedure is called when the procedure's definition changes its parameters. It accepts a `defBlock` parameter, which represents the procedure definition block. The function locates and modifies every caller of the procedure to reflect the updated parameters. It does not return any value. This function is crucial for ensuring consistency between a procedure's definition and all its usages.\n"]]