protected static interface HashCodeMethod.OffsetProvider
Modifier and Type | Interface and Description |
---|---|
static class |
HashCodeMethod.OffsetProvider.ForDynamicTypeHash
An offset provider that uses the instance's class's hash code.
|
static class |
HashCodeMethod.OffsetProvider.ForFixedValue
An offset provider that supplies a fixed value.
|
static class |
HashCodeMethod.OffsetProvider.ForStaticTypeHash
An offset provider that uses the instrumented type's class constant's hash code.
|
static class |
HashCodeMethod.OffsetProvider.ForSuperMethodCall
An offset provider that invokes the super class's
Object.hashCode() implementation. |
Modifier and Type | Method and Description |
---|---|
StackManipulation |
resolve(TypeDescription instrumentedType)
Resolves this offset provider for a given instrumented type.
|
StackManipulation resolve(TypeDescription instrumentedType)
instrumentedType
- The instrumented type.Copyright © 2014–2024. All rights reserved.