Interface HashCodeMethod.OffsetProvider

All Known Implementing Classes:
HashCodeMethod.OffsetProvider.ForDynamicTypeHash, HashCodeMethod.OffsetProvider.ForFixedValue, HashCodeMethod.OffsetProvider.ForStaticTypeHash, HashCodeMethod.OffsetProvider.ForSuperMethodCall
Enclosing class:
HashCodeMethod

protected static interface HashCodeMethod.OffsetProvider
An offset provider is responsible for supplying the initial hash code.
  • Method Details

    • resolve

      StackManipulation resolve(TypeDescription instrumentedType)
      Resolves this offset provider for a given instrumented type.
      Parameters:
      instrumentedType - The instrumented type.
      Returns:
      A stack manipulation that loads the initial hash code onto the operand stack.