(a) Except as provided in subsection (d) of this section, a court may grant a declaratory judgment or decree in a civil case, if it will serve to terminate the uncertainty or controversy giving rise to the proceeding, and if:
(1) An actual controversy exists between contending parties;
(2) Antagonistic claims are present between the parties involved which indicate imminent and inevitable litigation; or
(3) A party asserts a legal relation, status, right, or privilege and this is challenged or denied by an adversary party, who also has or asserts a concrete interest in it.
(b) If a statute provides a special form of remedy for a specific type of case, that statutory remedy shall be followed in lieu of a proceeding under this subtitle.
(c) A party may obtain a declaratory judgment or decree notwithstanding a concurrent common-law, equitable, or extraordinary legal remedy, whether or not recognized or regulated by statute.
(d) Proceeding by declaratory judgment is not permitted in any case in which divorce or annulment of marriage is sought.
(e) A court may order a speedy hearing of an action of a declaratory judgment and may advance it on the calendar.
Structure Maryland Statutes
Courts and Judicial Proceedings
Title 3 - Courts of General Jurisdiction -- Jurisdiction/special Causes of Action
Subtitle 4 - Declaratory Judgment
Section 3-401 - "Person" Defined
Section 3-402 - Purpose and Construction of Subtitle
Section 3-405 - Parties; Role of Attorney General
Section 3-406 - Power to Construe
Section 3-407 - Construction of Contracts Before or After Breach
Section 3-408.1 - Land Patent Proceedings
Section 3-409 - Discretionary Relief
Section 3-411 - Form and Effect of Declaration
Section 3-412 - Supplementary Relief