@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForDynamicConstant extends Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForDynamicConstant.Factory
A factory to create an offset mapping for a dynamic constant.
|
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| Constructor and Description |
|---|
ForDynamicConstant(String name,
TypeDescription typeDescription,
JavaConstant.MethodHandle.HandleType bootstrapType,
TypeDescription bootstrapOwner,
String bootstrapName,
TypeDescription bootstrapReturnType,
List<? extends TypeDescription> bootstrapParameterTypes,
List<JavaConstant> arguments,
boolean invokedynamic)
Creates an offset mapping for a dynamic constant.
|
| 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 ForDynamicConstant(String name, TypeDescription typeDescription, JavaConstant.MethodHandle.HandleType bootstrapType, TypeDescription bootstrapOwner, String bootstrapName, TypeDescription bootstrapReturnType, List<? extends TypeDescription> bootstrapParameterTypes, List<JavaConstant> arguments, boolean invokedynamic)
name - The name of the dynamic constant.typeDescription - The type of the dynamic constant.bootstrapType - The type of the bootstrap method.bootstrapOwner - The type that declares the bootstrap method, or void if the instrumented type.bootstrapName - The name of the bootstrap method.bootstrapReturnType - The return type of the boostrap method.bootstrapParameterTypes - The parameter types of the boostrap method.arguments - The constant arguments to the bootstrap method.invokedynamic - true if invokedynamic should be used to bind the constant.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.