Mass. Gen. Laws ch. 276 § 22 : CRIMES, PUNISHMENTS AND PROCEEDINGS IN CRIMINAL CASES — PROCEEDINGS IN CRIMINAL CASES — SEARCH WARRANTS, REWARDS, FUGITIVES FROM JUSTICE, ARREST, EXAMINATION, COMMITMENT AND BAIL. PROBATION OFFICERS AND BOARD OF PROBATION — Warrants, procedure for issuance

Upon complaint made to any justice that a crime has been committed, he shall examine on oath the complainant and any witnesses produced by him, reduce the complaint to writing, and cause it to be subscribed by the complainant, and, if it appears that a crime has been committed, shall issue a summons or warrant in compliance with the provisions of the Massachusetts Rules of Criminal Procedure.

Mass. Gen. Laws ch. 276, § 22

SECTIONS