| Modifier and Type | Field and Description |
|---|---|
| private List | diagnostics
An array of diagnostics. |
| private List | only
Requested kind of actions to return. |
| private CodeActionTriggerKind | triggerKind
The reason why code actions were requested. |
| 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 List | |
| public List | |
| public CodeActionTriggerKind | |
| public int | |
| public void | |
| public void | |
| public void | |
| public String |
| diagnostics | back to summary |
|---|---|
| private List<Diagnostic> diagnostics An array of diagnostics. | |
| only | back to summary |
|---|---|
| private List<String> only Requested kind of actions to return. Actions not of this kind are filtered out by the client before being shown. So servers can omit computing them.
See | |
| triggerKind | back to summary |
|---|---|
| private CodeActionTriggerKind triggerKind The reason why code actions were requested. Since 3.17.0 | |
| CodeActionContext | back to summary |
|---|---|
| public CodeActionContext() | |
| CodeActionContext | back to summary |
|---|---|
| public CodeActionContext(final List<Diagnostic> diagnostics) | |
| CodeActionContext | back to summary |
|---|---|
| public CodeActionContext(final List<Diagnostic> diagnostics, final List<String> only) | |
| 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.
| |
| getDiagnostics | back to summary |
|---|---|
| public List An array of diagnostics.
| |
| getOnly | back to summary |
|---|---|
| public List Requested kind of actions to return. Actions not of this kind are filtered out by the client before being shown. So servers can omit computing them.
See | |
| getTriggerKind | back to summary |
|---|---|
| public CodeActionTriggerKind getTriggerKind() The reason why code actions were requested. Since 3.17.0 | |
| 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
| |
| setDiagnostics | back to summary |
|---|---|
| public void setDiagnostics(final List<Diagnostic> diagnostics) An array of diagnostics. | |
| setOnly | back to summary |
|---|---|
| public void setOnly(final List<String> only) Requested kind of actions to return. Actions not of this kind are filtered out by the client before being shown. So servers can omit computing them.
See | |
| setTriggerKind | back to summary |
|---|---|
| public void setTriggerKind(final CodeActionTriggerKind triggerKind) The reason why code actions were requested. Since 3.17.0 | |
| 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-
| |