@Documented @Retention(value=RUNTIME) @Target(value={METHOD,CONSTRUCTOR}) @InheritedAnnotation public @interface EnsuresLockHeldIf
LockHeld
,
EnsuresLockHeld
Modifier and Type | Required Element and Description |
---|---|
String[] |
expression
Java expression(s) that are LockHeld after the method returns the
given result.
|
boolean |
result
The return value of the method that needs to hold for the postcondition
to hold.
|
public abstract String[] expression