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 Summary
ConstructorsConstructorDescriptionEnsuresCalledMethodOnExceptionContract(String expression, String method) Create a newEnsuredCalledMethodOnException. - 
Method Summary
 
- 
Constructor Details
- 
EnsuresCalledMethodOnExceptionContract
Create a newEnsuredCalledMethodOnException. Usually this should be constructed from aEnsuresCalledMethodsOnExceptionappearing in the source code.- Parameters:
 expression- the expression described by this postconditionmethod- the method this postcondition promises to call
 
 - 
 - 
Method Details
- 
getExpression
The expression described by this postcondition.- Returns:
 - the expression described by this postcondition
 
 - 
getMethod
The method this postcondition promises to call.- Returns:
 - the method this postcondition promises to call
 
 - 
equals
 - 
hashCode
public int hashCode() 
 -