Other features include class invariants, non-nullable reference types, and enhanced static analysis capabilities.
其他的特性还包括类不变量、非空引用类型和加强的静态分析功能。
OVal isn't the only DBC library available, and in fact its DBC constructs are fairly limiting compared to other frameworks (for example, it doesn't offer an easy way to specify class invariants).
OVal并不是惟一可用的dbc库,事实上其DBC结构对比其他框架来说是相当有限的(例如,它未提供指定类不变式的简易方法)。
There are also loop invariants and a few others, but pre - and post-conditions and class invariants are really the basic fabric of contracts.
还有循环不变式等等,但前置、后置条件和类不变式是基本要素。
应用推荐