Class ContractExecutionTracker.ContractExecution
java.lang.Object
org.apache.groovy.contracts.generation.ContractExecutionTracker.ContractExecution
- Enclosing class:
- ContractExecutionTracker
Identifies one contract execution so recursive re-entry can be suppressed.
-
Constructor Summary
ConstructorsConstructorDescriptionContractExecution(String className, String methodIdentifier, String assertionType, boolean isStatic) Creates a contract execution identifier. -
Method Summary
-
Constructor Details
-
ContractExecution
public ContractExecution(String className, String methodIdentifier, String assertionType, boolean isStatic) Creates a contract execution identifier.- Parameters:
className- the declaring class namemethodIdentifier- the executable identifierassertionType- the logical contract kindisStatic- whether the executable is static
-
-
Method Details
-
equals
Compares two execution identifiers for logical equality. -
hashCode
public int hashCode()Returns the hash code for this execution identifier.
-