@HashCodeAndEqualsPlugin.Enhance public abstract static class Advice.OffsetMapping.Target.ForArray extends Object implements Advice.OffsetMapping.Target
Modifier and Type | Class and Description |
---|---|
static class |
Advice.OffsetMapping.Target.ForArray.ReadOnly
A target mapping for a read-only target mapping for an array of local variables.
|
static class |
Advice.OffsetMapping.Target.ForArray.ReadWrite
A target mapping for a writable target mapping for an array of local variables.
|
Advice.OffsetMapping.Target.AbstractReadOnlyAdapter, Advice.OffsetMapping.Target.ForArray, Advice.OffsetMapping.Target.ForDefaultValue, Advice.OffsetMapping.Target.ForField, Advice.OffsetMapping.Target.ForStackManipulation, Advice.OffsetMapping.Target.ForVariable
Modifier and Type | Field and Description |
---|---|
protected TypeDescription.Generic |
target
The compound target type.
|
protected List<? extends StackManipulation> |
valueReads
The stack manipulations to apply upon reading a variable array.
|
Modifier | Constructor and Description |
---|---|
protected |
ForArray(TypeDescription.Generic target,
List<? extends StackManipulation> valueReads)
Creates a new target mapping for an array of all local variables.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
resolveIncrement(int value)
Resolves an increment instruction.
|
StackManipulation |
resolveRead()
Resolves a read instruction.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolveWrite
protected final TypeDescription.Generic target
protected final List<? extends StackManipulation> valueReads
protected ForArray(TypeDescription.Generic target, List<? extends StackManipulation> valueReads)
target
- The compound target type.valueReads
- The stack manipulations to apply upon reading a variable array.public StackManipulation resolveRead()
resolveRead
in interface Advice.OffsetMapping.Target
public StackManipulation resolveIncrement(int value)
resolveIncrement
in interface Advice.OffsetMapping.Target
value
- The incrementation value.Copyright © 2014–2024. All rights reserved.