public static interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
Modifier and Type | Interface and Description |
---|---|
static interface |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Factory<T extends Annotation>
A factory for creating an offset mapping based on an annotation on a parameter, method or constructor.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments
An offset mapping that assigns an array containing all arguments to the annotated parameter.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument
An offset mapping that assigns an argument of either the instrumented
method or the substituted expression.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent
An offset mapping that assigns the value of the previous chain instruction.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField
An offset mapping for a field value.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle
An offset mapping for a method handle representing a field getter or setter.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin
An offset mapping for describing a representation of the substituted element or the instrumented method.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle
An offset mapping resolving a method handle to invoke the original expression or the instrumented method.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation
An offset mapping that resolves a given stack manipulation.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue
An offset mapping that assigns a stub value.
|
static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference
An offset mapping that assigns the
this reference. |
static interface |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved
An offset mapping that was resolved for a given instrumented type and method.
|
Modifier and Type | Method and Description |
---|---|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved |
resolve(Assigner assigner,
Assigner.Typing typing,
TypeDescription instrumentedType,
MethodDescription instrumentedMethod)
Resolves an offset mapping for a given instrumented method.
|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod)
assigner
- The assigner to use.typing
- The typing to use if no explicit typing is specified.instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.Copyright © 2014–2023. All rights reserved.