Package net.bytebuddy.asm
Class MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.ForDefaultValues.Resolved
java.lang.Object
net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.ForDefaultValues.Resolved
- All Implemented Interfaces:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Resolved
- Enclosing class:
MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.ForDefaultValues
@Enhance
protected static class MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.ForDefaultValues.Resolved
extends Object
implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Resolved
A resolved default bootstrap argument resolver.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MethodDescription.InDefinedShape
The delegation target.private final MethodDescription
The instrumented method.private final TypeDescription
The instrumented type. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Resolved
(MethodDescription.InDefinedShape delegate, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a resolved version of a bootstrap argument resolver. -
Method Summary
Modifier and TypeMethodDescriptionmake
(MemberSubstitution.Target target, JavaConstant.MethodHandle methodHandle) Returns the constant values to supply to the bootstrap method.
-
Field Details
-
delegate
The delegation target. -
instrumentedType
The instrumented type. -
instrumentedMethod
The instrumented method.
-
-
Constructor Details
-
Resolved
protected Resolved(MethodDescription.InDefinedShape delegate, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a resolved version of a bootstrap argument resolver.- Parameters:
delegate
- The delegation target.instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.
-
-
Method Details
-
make
public List<JavaConstant> make(MemberSubstitution.Target target, JavaConstant.MethodHandle methodHandle) Returns the constant values to supply to the bootstrap method.- Specified by:
make
in interfaceMemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Resolved
- Parameters:
target
- The target member of invokedynamic invocation.methodHandle
- A method handle that represents the substituted element.- Returns:
- A list of constant values to supply to the bootstrap method.
-