@HashCodeAndEqualsPlugin.Enhance public static class HashCodeMethod.OffsetProvider.ForFixedValue extends java.lang.Object implements HashCodeMethod.OffsetProvider
HashCodeMethod.OffsetProvider.ForFixedValue, HashCodeMethod.OffsetProvider.ForSuperMethodCall| Modifier and Type | Field and Description |
|---|---|
private int |
value
The value to load onto the operand stack.
|
| 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.