Class PythonTextEdit


  • public class PythonTextEdit
    extends Object
    For internal use only. Can not be used outside SonarPython analyzer.
    • Constructor Detail

      • PythonTextEdit

        public PythonTextEdit​(String message,
                              int startLine,
                              int startLineOffset,
                              int endLine,
                              int endLineOffset)
    • Method Detail

      • insertLineBefore

        public static PythonTextEdit insertLineBefore​(Tree tree,
                                                      String textToInsert)
        Insert a line with the same offset as the given tree, before the given tree. Offset is applied to multiline insertions.
      • replacementText

        public String replacementText()
      • startLine

        public int startLine()
      • startLineOffset

        public int startLineOffset()
      • endLine

        public int endLine()
      • endLineOffset

        public int endLineOffset()