changes or documentChanges.
If documentChanges are present they are preferred over changes
if the client can handle versioned document edits.
| Modifier and Type | Field and Description |
|---|---|
| private Map | changeAnnotations
A map of change annotations that can be referenced in
|
| private Map | changes
Holds changes to existing resources. |
| private List | documentChanges
Depending on the client capability
|
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| 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 Map | getChangeAnnotations()
A map of change annotations that can be referenced in
|
| public Map | |
| public List | getDocumentChanges()
Depending on the client capability
|
| public int | |
| public void | setChangeAnnotations(final Map<String, ChangeAnnotation> changeAnnotations)
A map of change annotations that can be referenced in
|
| public void | |
| public void | setDocumentChanges(final List<Either<TextDocumentEdit, ResourceOperation>> documentChanges)
Depending on the client capability
|
| public String |
| changeAnnotations | back to summary |
|---|---|
| private Map<String, ChangeAnnotation> changeAnnotations A map of change annotations that can be referenced in
Client support depends on Since 3.16.0 | |
| changes | back to summary |
|---|---|
| private Map<String, List<TextEdit>> changes Holds changes to existing resources. | |
| documentChanges | back to summary |
|---|---|
| private List<Either<TextDocumentEdit, ResourceOperation>> documentChanges Depending on the client capability
Whether a client supports versioned document edits is expressed via
If a client neither supports | |
| WorkspaceEdit | back to summary |
|---|---|
| public WorkspaceEdit() | |
| WorkspaceEdit | back to summary |
|---|---|
| public WorkspaceEdit(final Map<String, List<TextEdit>> changes) | |
| WorkspaceEdit | back to summary |
|---|---|
| public WorkspaceEdit(final List<Either<TextDocumentEdit, ResourceOperation>> documentChanges) | |
| 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.
| |
| getChangeAnnotations | back to summary |
|---|---|
| public Map A map of change annotations that can be referenced in
Client support depends on Since 3.16.0 | |
| getChanges | back to summary |
|---|---|
| public Map Holds changes to existing resources. | |
| getDocumentChanges | back to summary |
|---|---|
| public List Depending on the client capability
Whether a client supports versioned document edits is expressed via
If a client neither supports | |
| 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
| |
| setChangeAnnotations | back to summary |
|---|---|
| public void setChangeAnnotations(final Map<String, ChangeAnnotation> changeAnnotations) A map of change annotations that can be referenced in
Client support depends on Since 3.16.0 | |
| setChanges | back to summary |
|---|---|
| public void setChanges(final Map<String, List<TextEdit>> changes) Holds changes to existing resources. | |
| setDocumentChanges | back to summary |
|---|---|
| public void setDocumentChanges(final List<Either<TextDocumentEdit, ResourceOperation>> documentChanges) Depending on the client capability
Whether a client supports versioned document edits is expressed via
If a client neither supports | |
| 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-
| |