| 1 |
#pragma once |
| 2 |
|
| 3 |
#include "LibLsp/JsonRpc/RequestInMessage.h" |
| 4 |
#include "LibLsp/JsonRpc/lsResponseMessage.h" |
| 5 |
#include <string> |
| 6 |
#include "LibLsp/lsp/CodeActionParams.h" |
| 7 |
#include "getRefactorEdit.h" |
| 8 |
#include "LibLsp/lsp/lsTextDocumentPositionParams.h" |
| 9 |
|
| 10 |
struct FindLinksParams |
| 11 |
{ |
| 12 |
// Supported link types: superImplementation |
| 13 |
std::string type; |
| 14 |
lsTextDocumentPositionParams position; |
| 15 |
|
| 16 |
MAKE_SWAP_METHOD(FindLinksParams, type, position) |
| 17 |
}; |
| 18 |
MAKE_REFLECT_STRUCT(FindLinksParams, type, position) |
| 19 |
|
| 20 |
DEFINE_REQUEST_RESPONSE_TYPE(java_findLinks, FindLinksParams, lsp::Any, "java/findLinks"); |