@Target(value={METHOD,CONSTRUCTOR})
public @interface EnsuresCalledMethodsVarArgs
Consider the following method:
@EnsuresCalledMethodsVarArgs("m")
public void callMOnAll(S s, T t...) { ... }
This method guarantees that m() is always called on every T object passed in
the t varargs argument before the method returns.
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String[] |
value |