(a)
In a comprehensive adjudication conducted pursuant to this chapter, the court may determine all groundwater rights of a basin, whether based on appropriation, overlying right, or other basis of right, and use of storage space in the basin.
(b)
The court’s final judgment in a comprehensive adjudication, for the groundwater rights of each party, may declare the priority, amount, purposes of use, extraction location, place of use of the water, and use of storage space in the basin, together with appropriate injunctive relief, subject to terms adopted by the court to implement a physical solution in the comprehensive adjudication.