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