public class GuardPropertyPair
extends java.lang.Object
Corresponds to a Postcondition.
| Modifier and Type | Field and Description |
|---|---|
(package private) ExecutableBooleanExpression |
guard
The expression that must hold before the operation is called.
|
(package private) ExecutableBooleanExpression |
property
The expression that must be true after the operation is called when the
guard is true. |
| Constructor and Description |
|---|
GuardPropertyPair(ExecutableBooleanExpression guard,
ExecutableBooleanExpression property)
Creates a
GuardPropertyPair object for the guard and property expressions. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
final ExecutableBooleanExpression guard
final ExecutableBooleanExpression property
guard is true.GuardPropertyPair(ExecutableBooleanExpression guard, ExecutableBooleanExpression property)
GuardPropertyPair object for the guard and property expressions.guard - the ExecutableBooleanExpression to be evaluated before the operation is
calledproperty - the ExecutableBooleanExpression to be evaluated after the operation is
called