| 1 |
#pragma once |
| 2 |
|
| 3 |
#include "LibLsp/JsonRpc/RequestInMessage.h" |
| 4 |
#include "LibLsp/JsonRpc/lsResponseMessage.h" |
| 5 |
#include <string> |
| 6 |
#include "checkHashCodeEqualsStatus.h" |
| 7 |
#include "checkConstructorsStatus.h" |
| 8 |
|
| 9 |
struct GenerateConstructorsParams |
| 10 |
{ |
| 11 |
lsCodeActionParams context; |
| 12 |
std::vector<LspMethodBinding> constructors; |
| 13 |
std::vector<LspVariableBinding> fields; |
| 14 |
MAKE_SWAP_METHOD(GenerateConstructorsParams, context, fields) |
| 15 |
}; |
| 16 |
MAKE_REFLECT_STRUCT(GenerateConstructorsParams, context, fields) |
| 17 |
|
| 18 |
DEFINE_REQUEST_RESPONSE_TYPE( |
| 19 |
java_generateConstructors, GenerateConstructorsParams, lsWorkspaceEdit, "java/generateConstructors" |
| 20 |
); |