Clients should follow the following guidelines regarding disabled code actions:
reason in the editor.
Since 3.16.0
| Modifier and Type | Field and Description |
|---|---|
| private String | reason
Human readable description of why the code action is currently disabled. |
| Access | Constructor and Description |
|---|---|
| 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 String | |
| public int | |
| public void | |
| public String |
| reason | back to summary |
|---|---|
| private String reason Human readable description of why the code action is currently disabled. This is displayed in the code actions UI. | |
| CodeActionDisabled | back to summary |
|---|---|
| public CodeActionDisabled() | |
| CodeActionDisabled | back to summary |
|---|---|
| public CodeActionDisabled(final String reason) | |
| 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.
| |
| getReason | back to summary |
|---|---|
| public String getReason() Human readable description of why the code action is currently disabled. This is displayed in the code actions UI.
| |
| 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
| |
| setReason | back to summary |
|---|---|
| public void setReason(final String reason) Human readable description of why the code action is currently disabled. This is displayed in the code actions UI. | |
| 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-
| |