@Documented @Retention(value=RUNTIME) @Target(value={METHOD,CONSTRUCTOR}) @ConditionalPostconditionAnnotation(qualifier=MinLen.class) @InheritedAnnotation @Repeatable(value=EnsuresMinLenIf.List.class) public @interface EnsuresMinLenIf
When the annotated method returns result, then all the expressions in expression are considered to be MinLen(targetValue).
MinLen| Modifier and Type | Required Element and Description |
|---|---|
String[] |
expression |
boolean |
result |
| Modifier and Type | Optional Element and Description |
|---|---|
int |
targetValue |
public abstract String[] expression
result()public abstract boolean result
@QualifierArgument(value="value") public abstract int targetValue