@HashCodeAndEqualsPlugin.Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForAssignment extends Object implements MemberSubstitution.Substitution.Chain.Step<MemberSubstitution.Target>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MemberSubstitution.Substitution.Chain.Step.ForAssignment.Factory
A factory for creating a step for a dynamic type assignment.
|
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| Modifier | Constructor and Description |
|---|---|
protected |
ForAssignment(TypeDescription.Generic result,
Assigner assigner)
Creates a step for a type assignment.
|
protected ForAssignment(@MaybeNull TypeDescription.Generic result, Assigner assigner)
result - The result type or null if the type of the substitution result should be targeted.assigner - The assigner to use.public static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target> castTo(Type type)
type - The type that should be cast to.public static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target> castTo(TypeDescription.Generic typeDescription)
typeDescription - The description of the type that should be cast to.public static MemberSubstitution.Substitution.Chain.Step.Factory<MemberSubstitution.Target> castToSubstitutionResult()
public 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.Copyright © 2014–2025. All rights reserved.