@Documented @Retention(value=RUNTIME) @Target(value={METHOD,CONSTRUCTOR}) @InheritedAnnotation public @interface EnsuresLockHeldIf
EnsuresLockHeld
Modifier and Type | Required Element and Description |
---|---|
String[] |
expression
Java expressions whose values are held 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