Class MemberSubstitution.Substitution.ForValue

    • Field Detail

      • stackManipulation

        private final StackManipulation stackManipulation
        The stack manipulation to load the value that represents the substitution.
      • typeDescription

        private final TypeDescription.Generic typeDescription
        The type of the represented stack manipulation.
    • Constructor Detail

      • ForValue

        public ForValue​(StackManipulation stackManipulation,
                        TypeDescription.Generic typeDescription)
        Creates a new substitution for loading a constant value.
        Parameters:
        stackManipulation - The stack manipulation to load the value that represents the substitution.
        typeDescription - The type of the represented stack manipulation.