@HashCodeAndEqualsPlugin.Enhance public static class HashCodeMethod.OffsetProvider.ForFixedValue extends Object implements HashCodeMethod.OffsetProvider
HashCodeMethod.OffsetProvider.ForDynamicTypeHash, HashCodeMethod.OffsetProvider.ForFixedValue, HashCodeMethod.OffsetProvider.ForStaticTypeHash, HashCodeMethod.OffsetProvider.ForSuperMethodCall| Modifier | Constructor and Description |
|---|---|
protected |
ForFixedValue(int value)
Creates a new offset provider for a fixed value.
|
| Modifier and Type | Method and Description |
|---|---|
StackManipulation |
resolve(TypeDescription instrumentedType)
Resolves this offset provider for a given instrumented type.
|
protected ForFixedValue(int value)
value - The value to load onto the operand stack.public StackManipulation resolve(TypeDescription instrumentedType)
resolve in interface HashCodeMethod.OffsetProviderinstrumentedType - The instrumented type.Copyright © 2014–2023. All rights reserved.