| Modifier and Type | Field and Description |
|---|---|
private Variable[] |
inputVariables
The input variables for the condition.
|
private java.util.List<ExecutableBooleanExpression> |
postConditions
The post-condition.
|
| Constructor and Description |
|---|
PostConditionCheck(java.util.List<ExecutableBooleanExpression> postConditions,
java.util.List<Variable> inputVariables)
Creates a
PostConditionCheck |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(@Nullable java.lang.Object object) |
java.util.List<ExecutableBooleanExpression> |
getPostConditions()
Get the list of
ExecutableBooleanExpression objects for this PostConditionCheck. |
int |
hashCode() |
java.lang.String |
toCodeStringPostStatement()
Returns a string of Java source code to be emitted after a statement containing this check.
|
java.lang.String |
toCodeStringPreStatement()
Returns a string of Java source code to be emitted before a statement containing this check.
|
java.lang.String |
toString() |
private final java.util.List<ExecutableBooleanExpression> postConditions
private final Variable[] inputVariables
public PostConditionCheck(java.util.List<ExecutableBooleanExpression> postConditions, java.util.List<Variable> inputVariables)
PostConditionCheckpostConditions - the post-condition for this checkinputVariables - the input variables for this condition checkpublic boolean equals(@Nullable java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toCodeStringPreStatement()
ChecktoCodeStringPreStatement in interface Checkpublic java.lang.String toCodeStringPostStatement()
ChecktoCodeStringPostStatement in interface Checkpublic java.util.List<ExecutableBooleanExpression> getPostConditions()
ExecutableBooleanExpression objects for this PostConditionCheck.ExecutableBooleanExpression list for this check