@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.Chain.Factory extends Object implements MemberSubstitution.Substitution.Factory
Modifier | Constructor and Description |
---|---|
protected |
Factory(Assigner assigner,
Assigner.Typing typing,
List<MemberSubstitution.Substitution.Chain.Step.Factory> steps)
Creates a new factory for a substitution chain.
|
Modifier and Type | Method and Description |
---|---|
MemberSubstitution.Substitution.Chain.Factory |
executing(List<? extends MemberSubstitution.Substitution.Chain.Step.Factory> steps)
Appends the supplied steps to the substitution chain.
|
MemberSubstitution.Substitution.Chain.Factory |
executing(MemberSubstitution.Substitution.Chain.Step.Factory... step)
Appends the supplied steps to the substitution chain.
|
MemberSubstitution.Substitution |
make(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
TypePool typePool)
Creates a substitution for an instrumented method.
|
protected Factory(Assigner assigner, Assigner.Typing typing, List<MemberSubstitution.Substitution.Chain.Step.Factory> steps)
assigner
- The assigner to use.typing
- The typing of the assignment to use.steps
- The substitution steps to apply.public MemberSubstitution.Substitution make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
make
in interface MemberSubstitution.Substitution.Factory
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.typePool
- The type pool being used.public MemberSubstitution.Substitution.Chain.Factory executing(MemberSubstitution.Substitution.Chain.Step.Factory... step)
step
- The steps to append.public MemberSubstitution.Substitution.Chain.Factory executing(List<? extends MemberSubstitution.Substitution.Chain.Step.Factory> steps)
steps
- The steps to append.Copyright © 2014–2025. All rights reserved.