@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForField.Write extends MemberSubstitution.Substitution.Chain.Step.ForField
| Modifier and Type | Class and Description |
|---|---|
static class |
MemberSubstitution.Substitution.Chain.Step.ForField.Write.Factory
A factory for creating a step to write to a field.
|
MemberSubstitution.Substitution.Chain.Step.ForField.Read, MemberSubstitution.Substitution.Chain.Step.ForField.WriteMemberSubstitution.Substitution.Chain.Step.ForArgumentLoading, MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution, MemberSubstitution.Substitution.Chain.Step.ForAssignment, MemberSubstitution.Substitution.Chain.Step.ForDelegation, MemberSubstitution.Substitution.Chain.Step.ForField, MemberSubstitution.Substitution.Chain.Step.ForInvocation, MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression, MemberSubstitution.Substitution.Chain.Step.Resolution, MemberSubstitution.Substitution.Chain.Step.Simpleassigner, fieldDescription, typing| Modifier | Constructor and Description |
|---|---|
protected |
Write(FieldDescription fieldDescription,
Assigner assigner,
Assigner.Typing typing,
int index)
Creates a step for writing to a field.
|
| Modifier and Type | Method and Description |
|---|---|
protected MemberSubstitution.Substitution.Chain.Step.Resolution |
doResolve(ByteCodeElement.Member original,
TypeList.Generic parameters,
Map<Integer,Integer> offsets,
StackManipulation stackManipulation)
Completes the resolution.
|
resolveprotected Write(FieldDescription fieldDescription, Assigner assigner, Assigner.Typing typing, int index)
fieldDescription - A description of the field to write to.assigner - The assigner to use.typing - The typing to use when assigning.index - The index of the parameter being accessed. If the targeted element is a non-static method, is increased by one.protected MemberSubstitution.Substitution.Chain.Step.Resolution doResolve(ByteCodeElement.Member original, TypeList.Generic parameters, Map<Integer,Integer> offsets, StackManipulation stackManipulation)
doResolve in class MemberSubstitution.Substitution.Chain.Step.ForFieldoriginal - The byte code element that is currently substituted.parameters - The parameters of the substituted element.offsets - The arguments of the substituted byte code element mapped to their local variable offsets.stackManipulation - A stack manipulation to prepare the field access.Copyright © 2014–2023. All rights reserved.