EnsuresLockHeld
| Modifier and Type | Class and Description |
|---|---|
| public static @interface | EnsuresLockHeldIf.List
A wrapper annotation that makes the |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | Returns: Java expressions whose values are locks that are held after the method returns the given resultReturns Java expressions whose values are locks that are held after the method returns the given result. |
| public boolean | Returns: the return value of the method under which the postconditions holdReturns the return value of the method under which the postconditions hold. |
| expression | back to summary |
|---|---|
| public String[] expression() Returns Java expressions whose values are locks that are held after the method returns the given result.
| |
| result | back to summary |
|---|---|
| public boolean result() Returns the return value of the method under which the postconditions hold.
| |
EnsuresLockHeldIf annotation repeatable.
Programmers generally do not need to write this. It is created by Java when a programmer
writes more than one EnsuresLockHeldIf annotation at the same location.
| Modifier and Type | Method and Description |
|---|---|
| public EnsuresLockHeldIf[] |
| value | back to summary |
|---|---|
| public EnsuresLockHeldIf[] value() Return the repeatable annotations.
| |