| 1 |
#pragma once |
| 2 |
|
| 3 |
#include "LibLsp/JsonRpc/RequestInMessage.h" |
| 4 |
#include "LibLsp/JsonRpc/lsResponseMessage.h" |
| 5 |
|
| 6 |
#include "LibLsp/lsp/CodeActionParams.h" |
| 7 |
#include "checkHashCodeEqualsStatus.h" |
| 8 |
struct CheckToStringResponse |
| 9 |
{ |
| 10 |
std::string type; |
| 11 |
std::vector<LspVariableBinding> fields; |
| 12 |
bool exists; |
| 13 |
void swap(CheckToStringResponse& arg) noexcept |
| 14 |
{ |
| 15 |
type.swap(arg.type); |
| 16 |
fields.swap(arg.fields); |
| 17 |
std::swap(exists, arg.exists); |
| 18 |
} |
| 19 |
}; |
| 20 |
MAKE_REFLECT_STRUCT(CheckToStringResponse, type, fields, exists) |
| 21 |
|
| 22 |
DEFINE_REQUEST_RESPONSE_TYPE( |
| 23 |
java_checkToStringStatus, lsCodeActionParams, CheckToStringResponse, "java/checkToStringStatus" |
| 24 |
) |