Package net.bytebuddy.asm
Interface MemberSubstitution.Substitution.Chain.Step
-
- All Known Implementing Classes:
MemberSubstitution.Substitution.Chain.Step.Simple
- Enclosing class:
- MemberSubstitution.Substitution.Chain
protected static interface MemberSubstitution.Substitution.Chain.Step
Represents a step of a substitution chain.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
MemberSubstitution.Substitution.Chain.Step.Factory
Resolves a substitution for an instrumented method.static interface
MemberSubstitution.Substitution.Chain.Step.Resolution
A resolved substitution step.static class
MemberSubstitution.Substitution.Chain.Step.Simple
A simple substitution step within a substitution chain.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MemberSubstitution.Substitution.Chain.Step.Resolution
resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic current, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int freeOffset)
Resolves this step of a substitution chain.
-
-
-
Method Detail
-
resolve
MemberSubstitution.Substitution.Chain.Step.Resolution resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic current, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int freeOffset)
Resolves this step of a substitution chain.- Parameters:
targetType
- The target result type of the substitution.target
- The byte code element that is currently substituted.parameters
- The parameters of the substituted element.current
- The current type of the applied substitution that is the top element on the operand stack.offsets
- The arguments of the substituted byte code element mapped to their local variable offsets.freeOffset
- The first free offset in the local variable array.- Returns:
- A resolved substitution step for the supplied inputs.
-
-