Interface NewInputFileEdit
-
public interface NewInputFileEdit
Describe a file edit for aNewQuickFix
as a collection ofNewTextEdit
s on a givenInputFile
. Text edits are applied in the order they are added, insofar that their ranges do not overlap.- Since:
- 9.13
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NewInputFileEdit
addTextEdit(NewTextEdit newTextEdit)
Add a text edit to this input file editNewTextEdit
newTextEdit()
Create a new text editNewInputFileEdit
on(InputFile inputFile)
-
-
-
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
-
-