In any such action, after hearing on the plan proposed or on the plan as modified by order and if such plan as proposed or modified is approved in writing by creditors representing eighty-five per centum (85%) in amount of the indebtedness affected thereby and by the municipality and the commission, the Superior Court may authorize and approve such adjustment or composition if the court determines (1) that the municipality is unable to pay in full according to their terms the claims proposed to be adjusted or composed, and perform its public functions and preserve the value of property subject to taxation, (2) that the adjustment or composition is substantially measured by the capacity of the municipality to pay, (3) that it is in the interest of all the creditors affected thereby, and (4) that it is not detrimental to other creditors of the municipality.
N.J.S. § 52:27-36