@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForHandle extends Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForHandle.Factory
A factory to create an offset mapping for a method handle.
|
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.ForDynamicConstant, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle, MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForHandle, 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| Modifier | Constructor and Description |
|---|---|
protected |
ForHandle(JavaConstant.MethodHandle.HandleType type,
TypeDescription owner,
String name,
TypeDescription returnType,
List<? extends TypeDescription> parameterTypes)
Creates an offset mapping for a method 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.
|
protected ForHandle(JavaConstant.MethodHandle.HandleType type, TypeDescription owner, String name, TypeDescription returnType, List<? extends TypeDescription> parameterTypes)
type - The type of the method handle.owner - The owner of the handle, or void for the instrumented type.name - The name of the method handle.returnType - The type that is returned from the handle.parameterTypes - The parameter types required by the handle.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.OffsetMappingassigner - 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–2025. All rights reserved.