Interface NewInputFileEdit


  • public interface NewInputFileEdit
    Describe a file edit for a NewQuickFix as a collection of NewTextEdits on a given InputFile. Text edits are applied in the order they are added, insofar that their ranges do not overlap.
    Since:
    9.13
    • Method Detail

      • on

        NewInputFileEdit on​(InputFile inputFile)
        Parameters:
        inputFile - the input file on which to apply this edit
        Returns:
        the modified edit
      • newTextEdit

        NewTextEdit newTextEdit()
        Create a new text edit
        Returns:
        a new uninitialized instance of a text edit for a given file edit
      • addTextEdit

        NewInputFileEdit addTextEdit​(NewTextEdit newTextEdit)
        Add a text edit to this input file edit
        Parameters:
        newTextEdit - the text edit to add
        Returns:
        this instance