@Documented
@Target(value={METHOD,CONSTRUCTOR})
@Retention(value=RUNTIME)
public @interface Holding
The argument is a string or set of strings that indicates the expression(s) that must be held,
using the syntax of
Java expressions described in the manual. The expressions evaluate to an intrinsic (built-in,
synchronization) monitor, or an explicit Lock
.
GuardedBy
Modifier and Type | Required Element and Description |
---|---|
java.lang.String[] |
value
The Java expressions that need to be held.
|
public abstract java.lang.String[] value