The supreme judicial court, the superior court, the land court and the probate courts, within their respective jurisdictions, may on appropriate proceedings make binding declarations of right, duty, status and other legal relations sought thereby, either before or after a breach or violation thereof has occurred in any case in which an actual controversy has arisen and is specifically set forth in the pleadings and whether any consequential judgment or relief is or could be claimed at law or in equity or not; and such proceeding shall not be open to objection on the ground that a merely declaratory judgment or decree is sought thereby and such declaration, when made, shall have the force and effect of a final judgment or decree and be reviewable as such; provided, that nothing contained herein shall be construed to authorize the change, extension or alteration of the law regulating the method of obtaining service on, or jurisdiction over, parties or affect their right to trial by jury. When a declaration of right, or the granting of further relief based thereon, shall involve the determination of issues of fact triable by a jury as of right and as to which a jury trial is duly claimed by the party entitled thereto, or issues which the court, in accordance with the practice of courts of equity, considers should be tried by a jury, such issues may be submitted to a jury in the form of questions, with proper instructions by the court, whether a general verdict be required or not.
Mass. Gen. Laws ch. 231A, § 1