public static enum MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression extends Enum<MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression> implements MemberSubstitution.Substitution.Chain.Step<MemberSubstitution.Target>, MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
MemberSubstitution.Substitution.Chain.Step.Factory<V extends MemberSubstitution.Target>, MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading, MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution, MemberSubstitution.Substitution.Chain.Step.ForAssignment, MemberSubstitution.Substitution.Chain.Step.ForDelegation, MemberSubstitution.Substitution.Chain.Step.ForField, MemberSubstitution.Substitution.Chain.Step.ForInvocation, MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression, MemberSubstitution.Substitution.Chain.Step.Resolution, MemberSubstitution.Substitution.Chain.Step.Simple
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
public static final MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression INSTANCE
public static MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression[] values()
for (MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression c : MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression.values()) System.out.println(c);
public static MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic MemberSubstitution.Substitution.Chain.Step.Resolution resolve(MemberSubstitution.Target target, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer,Integer> offsets, int freeOffset)
resolve
in interface MemberSubstitution.Substitution.Chain.Step<MemberSubstitution.Target>
target
- The target member of invokedynamic invocation.parameters
- The parameters of the substituted element.result
- The resulting type of the substituted element.methodHandle
- A method handle of the stackManipulation invocation that is being substituted.stackManipulation
- The byte code instruction that is being substituted.current
- The current type of the applied substitution that is the top element on the operand stack.offsets
- The arguments of the substituted byte code element mapped to their local variable offsets.freeOffset
- The first free offset in the local variable array.public MemberSubstitution.Substitution.Chain.Step<MemberSubstitution.Target> make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod)
make
in interface MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target>
assigner
- The assigner to use.typing
- The typing to use.instrumentedType
- The instrumented type.instrumentedMethod
- The instrumented method.Copyright © 2014–2025. All rights reserved.