Class TextDocumentEdit


  • public class TextDocumentEdit
    extends java.lang.Object
    Describes textual changes on a single text document. The text document is referred to as a VersionedTextDocumentIdentifier to allow clients to check the text document version before an edit is applied.
    • Method Detail

      • getEdits

        public java.util.List<TextEdit> getEdits()
        The edits to be applied
      • setEdits

        public void setEdits​(java.util.List<TextEdit> edits)
        The edits to be applied
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object