| 1 |
#pragma once |
| 2 |
|
| 3 |
#include "LibLsp/JsonRpc/RequestInMessage.h" |
| 4 |
#include "LibLsp/JsonRpc/lsResponseMessage.h" |
| 5 |
#include "LibLsp/lsp/CodeActionParams.h" |
| 6 |
#include "checkHashCodeEqualsStatus.h" |
| 7 |
|
| 8 |
struct LspMethodBinding |
| 9 |
{ |
| 10 |
std::string bindingKey; |
| 11 |
std::string name; |
| 12 |
std::vector<std::string> parameters; |
| 13 |
|
| 14 |
MAKE_SWAP_METHOD(LspMethodBinding, bindingKey, name, parameters); |
| 15 |
}; |
| 16 |
MAKE_REFLECT_STRUCT(LspMethodBinding, bindingKey, name, parameters); |
| 17 |
|
| 18 |
struct CheckConstructorsResponse |
| 19 |
{ |
| 20 |
std::vector<LspMethodBinding> constructors; |
| 21 |
std::vector<LspVariableBinding> fields; |
| 22 |
MAKE_SWAP_METHOD(CheckConstructorsResponse, constructors, fields) |
| 23 |
}; |
| 24 |
MAKE_REFLECT_STRUCT(CheckConstructorsResponse, constructors, fields) |
| 25 |
|
| 26 |
DEFINE_REQUEST_RESPONSE_TYPE( |
| 27 |
java_checkConstructorsStatus, lsCodeActionParams, CheckConstructorsResponse, "java/checkConstructorsStatus" |
| 28 |
) |