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