Package net.bytebuddy.asm
Interface MemberSubstitution.Substitution.Factory
-
- All Known Implementing Classes:
MemberSubstitution.Substitution.Chain.Factory
,MemberSubstitution.Substitution.ForFieldAccess.OfGivenField
,MemberSubstitution.Substitution.ForFieldAccess.OfMatchedField
,MemberSubstitution.Substitution.ForMethodInvocation.OfGivenMethod
,MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod
,MemberSubstitution.Substitution.ForMethodInvocation.OfMatchedMethod
,MemberSubstitution.Substitution.Stubbing
- Enclosing interface:
- MemberSubstitution.Substitution
public static interface MemberSubstitution.Substitution.Factory
A factory for creating a substitution for an instrumented method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MemberSubstitution.Substitution
make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
Creates a substitution for an instrumented method.
-
-
-
Method Detail
-
make
MemberSubstitution.Substitution make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
Creates a substitution for an instrumented method.- Parameters:
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.typePool
- The type pool being used.- Returns:
- The substitution to apply within the instrumented method.
-
-