| Modifier and Type | Field and Description |
|---|---|
| private FormattingOptions | options
The format options |
| private TextDocumentIdentifier | textDocument
The document to format. |
| private Either | workDoneToken
An optional token that a server can use to report work done progress. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DocumentFormattingParams(final TextDocumentIdentifier textDocument, final FormattingOptions options)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public FormattingOptions | |
| public TextDocumentIdentifier | |
| public Either | getWorkDoneToken()
Implements org. An optional token that a server can use to report work done progress. |
| public int | |
| public void | |
| public void | |
| public void | setWorkDoneToken(final Either<String, Integer> workDoneToken)
Implements org. An optional token that a server can use to report work done progress. |
| public void | |
| public void | |
| public String |
| options | back to summary |
|---|---|
| private FormattingOptions options The format options | |
| textDocument | back to summary |
|---|---|
| private TextDocumentIdentifier textDocument The document to format. | |
| workDoneToken | back to summary |
|---|---|
| private Either<String, Integer> workDoneToken An optional token that a server can use to report work done progress. | |
| DocumentFormattingParams | back to summary |
|---|---|
| public DocumentFormattingParams() | |
| DocumentFormattingParams | back to summary |
|---|---|
| public DocumentFormattingParams(final TextDocumentIdentifier textDocument, final FormattingOptions options) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getOptions | back to summary |
|---|---|
| public FormattingOptions getOptions() The format options
| |
| getTextDocument | back to summary |
|---|---|
| public TextDocumentIdentifier getTextDocument() The document to format.
| |
| getWorkDoneToken | back to summary |
|---|---|
| public Either Implements org. An optional token that a server can use to report work done progress.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setOptions | back to summary |
|---|---|
| public void setOptions(final FormattingOptions options) The format options | |
| setTextDocument | back to summary |
|---|---|
| public void setTextDocument(final TextDocumentIdentifier textDocument) The document to format. | |
| setWorkDoneToken | back to summary |
|---|---|
| public void setWorkDoneToken(final Either<String, Integer> workDoneToken) Implements org. An optional token that a server can use to report work done progress. | |
| setWorkDoneToken | back to summary |
|---|---|
| public void setWorkDoneToken(final String workDoneToken) | |
| setWorkDoneToken | back to summary |
|---|---|
| public void setWorkDoneToken(final Integer workDoneToken) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |