aesi-eclipse / com.virtlink.aesi.eclipse / Contract
Contract
class Contract
Pre- and post-conditions.
Constructors
| <init> | Contract()Pre- and post-conditions. |
Functions
| require | static fun require(argumentName: String, condition: Boolean): UnitRequires that the condition holds for the argument with the specified name. |
| requireNotNull | static fun <T : Any> requireNotNull(argumentName: String, obj: T): UnitRequires that the object is not null. |