Package: org.apache.groovy.contracts.generation

## [Java] Class ContractExecutionTracker.ContractExecution

- org.apache.groovy.contracts.generation.ContractExecutionTracker.ContractExecution

-     public static final class ContractExecutionTracker.ContractExecution
      extends Object

  Identifies one contract execution so recursive re-entry can be suppressed.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ContractExecution(String className, String methodIdentifier, String assertionType, boolean isStatic)` Creates a contract execution identifier.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public boolean` | `equals(Object o)` Compares two execution identifiers for logical equality.
    `` | `public int` | `hashCode()` Returns the hash code for this execution identifier.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### public ContractExecution(String className, String methodIdentifier, String assertionType, boolean isStatic)

      Creates a contract execution identifier.

      Parameters:
        `className` - the declaring class name
        `methodIdentifier` - the executable identifier
        `assertionType` - the logical contract kind
        `isStatic` - whether the executable is static

  - ### Method Detail

    - #### public boolean equals(Object o)

      Compares two execution identifiers for logical equality.

      Parameters:
        `o` - the object to compare against
      Returns:
        `true` if both identifiers describe the same execution

    - #### public int hashCode()

      Returns the hash code for this execution identifier.

      Returns:
        the hash code