Annotation Interface 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:
 - See the Checker Framework Manual:
 - Called Methods Checker
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceA wrapper annotation that makes theEnsuresCalledMethodsIfannotation repeatable. - 
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionString[]Returns Java expressions that have had the given methods called on them after the method returnsresult().String[]The methods guaranteed to be invoked on the expressions if the result of the method isresult().booleanReturns the return value of the method under which the postcondition holds. 
- 
Element Details
- 
result
boolean resultReturns the return value of the method under which the postcondition holds.- Returns:
 - the return value of the method under which the postcondition holds
 
 - 
expression
String[] expressionReturns Java expressions that have had the given methods called on them after the method returnsresult().- Returns:
 - an array of Java expressions
 - See the Checker Framework Manual:
 - Syntax of Java expressions
 
 - 
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() 
 
 -