public static interface MemberSubstitution.Substitution.Chain.Step
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MemberSubstitution.Substitution.Chain.Step.Factory
Resolves a substitution for an instrumented method.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading
A step that loads an argument to a method as the current chain value.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution
A step that substitutes an argument of a given index with a compatible type.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForField
Creates a step for a field access.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForInvocation
A step for invoking a method or constructor.
|
static class |
MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression
A step that executes the original method invocation or field access.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
MemberSubstitution.Substitution.Chain.Step.Resolution |
resolve(TypeDescription targetType,
ByteCodeElement target,
TypeList.Generic parameters,
StackManipulation original,
TypeDescription.Generic current,
Map<Integer,Integer> offsets,
int freeOffset)
Resolves this step of a substitution chain.
|
MemberSubstitution.Substitution.Chain.Step.Resolution resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, StackManipulation original, TypeDescription.Generic current, Map<Integer,Integer> offsets, int freeOffset)
targetType - The target result type of the substitution.target - The byte code element that is currently substituted.parameters - The parameters of the substituted element.original - The original byte code instruction that is being substituted.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.Copyright © 2014–2023. All rights reserved.