Uses of Class
org.sonar.python.quickfix.PythonTextEdit
-
Packages that use PythonTextEdit Package Description org.sonar.python.quickfix -
-
Uses of PythonTextEdit in org.sonar.python.quickfix
Methods in org.sonar.python.quickfix that return PythonTextEdit Modifier and Type Method Description static PythonTextEditPythonTextEdit. insertAfter(Tree tree, String textToInsert)static PythonTextEditPythonTextEdit. insertBefore(Tree tree, String textToInsert)static PythonTextEditPythonTextEdit. insertLineBefore(Tree tree, String textToInsert)Insert a line with the same offset as the given tree, before the given tree.static PythonTextEditPythonTextEdit. remove(Tree toRemove)static PythonTextEditPythonTextEdit. removeRange(int startLine, int startColumn, int endLine, int endColumn)static PythonTextEditPythonTextEdit. removeUntil(Tree start, Tree until)Remove range including the start token until the beginning of the end tree's first token.static PythonTextEditPythonTextEdit. replace(Tree toReplace, String replacementText)static PythonTextEditPythonTextEdit. replaceRange(Tree start, Tree end, String replacementText)Methods in org.sonar.python.quickfix that return types with arguments of type PythonTextEdit Modifier and Type Method Description List<PythonTextEdit>PythonQuickFix. getTextEdits()static List<PythonTextEdit>PythonTextEdit. shiftLeft(StatementList statementList)Shift body statements to be on same level as the parent statement Filter out text edits which apply on the same line which could show up with multiple statements on the same lineMethods in org.sonar.python.quickfix with parameters of type PythonTextEdit Modifier and Type Method Description PythonQuickFix.BuilderPythonQuickFix.Builder. addTextEdit(PythonTextEdit... textEdits)Method parameters in org.sonar.python.quickfix with type arguments of type PythonTextEdit Modifier and Type Method Description PythonQuickFix.BuilderPythonQuickFix.Builder. addTextEdit(List<PythonTextEdit> textEdits)
-