@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle extends Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
Modifier and Type | Class and Description |
---|---|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Bound
Resolves a bound self call handle for an offset mapping.
|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Factory
A factory for creating an offset mapping for binding a self call handle.
|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Unbound
Resolves an unbound self call handle for an offset mapping.
|
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved
Constructor and Description |
---|
ForSelfCallHandle(MemberSubstitution.Source source,
boolean bound)
Creates a new offset mapping for a self call handle.
|
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.
|
public ForSelfCallHandle(MemberSubstitution.Source source, boolean bound)
source
- The source providing the reference.bound
- true
if the handle should be bound to the original arguments.public MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod)
resolve
in interface MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
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.