Annotation Type EnsuresCalledMethodsIf
-
@Documented @Retention(RUNTIME) @Target({METHOD,CONSTRUCTOR}) @ConditionalPostconditionAnnotation(qualifier=CalledMethods.class) @InheritedAnnotation @Repeatable(List.class) public @interface EnsuresCalledMethodsIf
Indicates that the method, if it terminates with the given result, invokes the given methods on the given expressions.- See Also:
EnsuresCalledMethods,CalledMethods
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description String[]expressionReturns Java expressions that have had the given methods called on them after the method returnsresult().String[]methodsThe methods guaranteed to be invoked on the expressions if the result of the method isresult().booleanresultReturns the return value of the method under which the postcondition holds.
-
-
-
-
methods
@QualifierArgument("value") String[] methods
The methods guaranteed to be invoked on the expressions if the result of the method isresult().- Returns:
- the methods guaranteed to be invoked on the expressions if the result of the method is
result()
-
-