Class EnsuresCalledMethodOnExceptionContract
java.lang.Object
org.checkerframework.checker.calledmethods.EnsuresCalledMethodOnExceptionContract
A postcondition contract that a method calls the given method on the given expression when that
 method throws an exception.
 
Instances of this class are plain old immutable data with no interesting behavior.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionEnsuresCalledMethodOnExceptionContract(String expression, String method) Create a newEnsuredCalledMethodOnException.
- 
Method Summary
- 
Constructor Details- 
EnsuresCalledMethodOnExceptionContractCreate a newEnsuredCalledMethodOnException. Usually this should be constructed from aEnsuresCalledMethodsOnExceptionappearing in the source code.- Parameters:
- expression- the expression described by this postcondition
- method- the method this postcondition promises to call
 
 
- 
- 
Method Details- 
getExpressionThe expression described by this postcondition.- Returns:
- the expression described by this postcondition
 
- 
getMethodThe method this postcondition promises to call.- Returns:
- the method this postcondition promises to call
 
- 
equals
- 
hashCodepublic int hashCode()
 
-