@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Replacement.Factory.Compound extends Object implements MemberSubstitution.Replacement.Factory
MemberSubstitution.Replacement.Factory.Compound
Modifier | Constructor and Description |
---|---|
protected |
Compound(List<? extends MemberSubstitution.Replacement.Factory> factories)
Creates a new compound factory.
|
protected |
Compound(MemberSubstitution.Replacement.Factory... factory)
Creates a new compound factory.
|
Modifier and Type | Method and Description |
---|---|
MemberSubstitution.Replacement |
make(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
TypePool typePool)
Creates a replacement for an instrumented method.
|
protected Compound(MemberSubstitution.Replacement.Factory... factory)
factory
- A list of represented factories.protected Compound(List<? extends MemberSubstitution.Replacement.Factory> factories)
factories
- A list of represented factories.public MemberSubstitution.Replacement make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
make
in interface MemberSubstitution.Replacement.Factory
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.typePool
- The type pool being used within the member substitution being applied.Copyright © 2014–2025. All rights reserved.