Package net.bytebuddy.asm
Interface MemberSubstitution.Replacement.Factory
-
- All Known Implementing Classes:
MemberSubstitution.Replacement.Factory.Compound
,MemberSubstitution.Replacement.ForElementMatchers.Factory
,MemberSubstitution.Replacement.NoOp
- Enclosing interface:
- MemberSubstitution.Replacement
public static interface MemberSubstitution.Replacement.Factory
A factory for creating a replacement for an instrumented method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MemberSubstitution.Replacement.Factory.Compound
A compound factory.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MemberSubstitution.Replacement
make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
Creates a replacement for an instrumented method.
-
-
-
Method Detail
-
make
MemberSubstitution.Replacement make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool)
Creates a replacement for an instrumented method.- Parameters:
instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.typePool
- The type pool being used within the member substitution being applied.- Returns:
- A replacement to use within the supplied instrumented method.
-
-