@HashCodeAndEqualsPlugin.Enhance protected static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.Factory extends Object implements MemberSubstitution.Substitution.Chain.Step.Factory
Modifier | Constructor and Description |
---|---|
protected |
Factory(MethodDescription.InDefinedShape delegate,
MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher dispatcher,
List<? extends MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<?>> factories)
Creates a new factory for a delegating step.
|
Modifier and Type | Method and Description |
---|---|
MemberSubstitution.Substitution.Chain.Step |
make(Assigner assigner,
Assigner.Typing typing,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Creates a substitution step for an instrumented method.
|
protected Factory(MethodDescription.InDefinedShape delegate, MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher dispatcher, List<? extends MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<?>> factories)
delegate
- A description of the method or constructor to delegate to.dispatcher
- The dispatcher to use for invoking the delegate.factories
- The dispatcher to use for invoking the delegate.public MemberSubstitution.Substitution.Chain.Step make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod)
make
in interface MemberSubstitution.Substitution.Chain.Step.Factory
assigner
- The assigner to use.typing
- The typing to use.instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.Copyright © 2014–2023. All rights reserved.