EnsuresCalledMethods, CalledMethods
| Modifier and Type | Class and Description |
|---|---|
| public static @interface | EnsuresCalledMethodsIf.List
A wrapper annotation that makes the |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | Returns: an array of Java expressionsReturns Java expressions that have had the given methods called on them after the method
returns |
| public String[] | |
| public boolean | Returns: the return value of the method under which the postcondition holdsReturns the return value of the method under which the postcondition holds. |
| expression | back to summary |
|---|---|
| public String[] expression() Returns Java expressions that have had the given methods called on them after the method
returns
| |
| methods | back to summary |
|---|---|
| public String[] methods() The methods guaranteed to be invoked on the expressions if the result of the method is
| |
| result | back to summary |
|---|---|
| public boolean result() Returns the return value of the method under which the postcondition holds.
| |
EnsuresCalledMethodsIf annotation repeatable.
Programmers generally do not need to write this. It is created by Java when a programmer
writes more than one EnsuresCalledMethodsIf annotation at the same location.
| Modifier and Type | Method and Description |
|---|---|
| public EnsuresCalledMethodsIf[] |
| value | back to summary |
|---|---|
| public EnsuresCalledMethodsIf[] value() Return the repeatable annotations.
| |