@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Replacement.Factory.Compound extends java.lang.Object implements MemberSubstitution.Replacement.Factory
MemberSubstitution.Replacement.Factory.Compound| Modifier and Type | Field and Description |
|---|---|
private java.util.List<MemberSubstitution.Replacement.Factory> |
factories
A list of represented factories.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Compound(java.util.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.
|
private final java.util.List<MemberSubstitution.Replacement.Factory> factories
protected Compound(MemberSubstitution.Replacement.Factory... factory)
factory - A list of represented factories.protected Compound(java.util.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.FactoryinstrumentedType - The instrumented type.instrumentedMethod - The instrumented method.typePool - The type pool being used within the member substitution being applied.