Module dev.civl.mc

Enum Class FunctionContract.ContractKind

java.lang.Object
java.lang.Enum<FunctionContract.ContractKind>
dev.civl.mc.model.IF.contract.FunctionContract.ContractKind
All Implemented Interfaces:
Serializable, Comparable<FunctionContract.ContractKind>, Constable
Enclosing interface:
FunctionContract

public static enum FunctionContract.ContractKind extends Enum<FunctionContract.ContractKind>
ContractKind: This kind is used to denotes all kinds of contracts. Currently, there are 5 kinds of contracts:
  • REQUIRES: denotes that the requirements of the contracts are used to infer some states.
  • ENSURES:denotes that the ensurances of the contracts are guaranteed by some states.
  • INFER: denotes that the ensurances of the contracts are used to infer some states.
  • WAITSFOR: delivers an explicit synchronization knowledge.