@HashCodeAndEqualsPlugin.Enhance public static class HashCodeMethod.OffsetProvider.ForFixedValue extends Object implements HashCodeMethod.OffsetProvider
HashCodeMethod.OffsetProvider.ForFixedValue, 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.OffsetProvider
instrumentedType
- The instrumented type.Copyright © 2014–2018. All rights reserved.