Package org.eclipse.lsp4j
Class DidChangeTextDocumentParams
- java.lang.Object
-
- org.eclipse.lsp4j.DidChangeTextDocumentParams
-
public class DidChangeTextDocumentParams extends java.lang.ObjectThe document change notification is sent from the client to the server to signal changes to a text document.
-
-
Constructor Summary
Constructors Constructor Description DidChangeTextDocumentParams()DidChangeTextDocumentParams(VersionedTextDocumentIdentifier textDocument, java.util.List<TextDocumentContentChangeEvent> contentChanges)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<TextDocumentContentChangeEvent>getContentChanges()The actual content changes.VersionedTextDocumentIdentifiergetTextDocument()The document that did change.inthashCode()voidsetContentChanges(java.util.List<TextDocumentContentChangeEvent> contentChanges)The actual content changes.voidsetTextDocument(VersionedTextDocumentIdentifier textDocument)The document that did change.java.lang.StringtoString()
-
-
-
Constructor Detail
-
DidChangeTextDocumentParams
public DidChangeTextDocumentParams()
-
DidChangeTextDocumentParams
public DidChangeTextDocumentParams(VersionedTextDocumentIdentifier textDocument, java.util.List<TextDocumentContentChangeEvent> contentChanges)
-
-
Method Detail
-
getTextDocument
public VersionedTextDocumentIdentifier getTextDocument()
The document that did change. The version number points to the version after all provided content changes have been applied.
-
setTextDocument
public void setTextDocument(VersionedTextDocumentIdentifier textDocument)
The document that did change. The version number points to the version after all provided content changes have been applied.
-
getContentChanges
public java.util.List<TextDocumentContentChangeEvent> getContentChanges()
The actual content changes.
-
setContentChanges
public void setContentChanges(java.util.List<TextDocumentContentChangeEvent> contentChanges)
The actual content changes.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-