Interface MemberSubstitution.Substitution<T extends MemberSubstitution.Target>

    • Method Detail

      • resolve

        StackManipulation resolve​(T target,
                                  TypeList.Generic parameters,
                                  TypeDescription.Generic result,
                                  JavaConstant.MethodHandle methodHandle,
                                  StackManipulation stackManipulation,
                                  int freeOffset)
        Resolves this substitution into a stack manipulation.
        Parameters:
        target - The targeted member that is substituted.
        parameters - All parameters that serve as input to this access.
        result - The result that is expected from the interaction or void if no result is expected.
        methodHandle - A method handle describing the substituted expression.
        stackManipulation - The original byte code expression that is being executed.
        freeOffset - The first free offset of the local variable array that can be used for storing values.
        Returns:
        A stack manipulation that represents the access.