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 java.lang.Object implements MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Resolved
A resolved default bootstrap argument resolver.
-
-
Field Summary
Fields Modifier and Type Field Description private MethodDescription.InDefinedShape
delegate
The delegation target.private MethodDescription
instrumentedMethod
The instrumented method.private TypeDescription
instrumentedType
The instrumented type.
-
Constructor Summary
Constructors Modifier Constructor Description protected
Resolved(MethodDescription.InDefinedShape delegate, TypeDescription instrumentedType, MethodDescription instrumentedMethod)
Creates a resolved version of a bootstrap argument resolver.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<JavaConstant>
make(MemberSubstitution.Target target, JavaConstant.MethodHandle methodHandle)
Returns the constant values to supply to the bootstrap method.
-
-
-
Field Detail
-
delegate
private final MethodDescription.InDefinedShape delegate
The delegation target.
-
instrumentedType
private final TypeDescription instrumentedType
The instrumented type.
-
instrumentedMethod
private final MethodDescription instrumentedMethod
The instrumented method.
-
-
Constructor Detail
-
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 Detail
-
make
public java.util.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.
-
-