summaryrefslogtreecommitdiff
path: root/graphics/asymptote/LspCpp/include/LibLsp/lsp/extention/jdtls/findLinks.h
blob: 413fe1bded50ecdb3ff518b6db03a9be3a52e428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "LibLsp/JsonRpc/RequestInMessage.h"
#include "LibLsp/JsonRpc/lsResponseMessage.h"
#include <string>
#include "LibLsp/lsp/CodeActionParams.h"
#include "getRefactorEdit.h"
#include "LibLsp/lsp/lsTextDocumentPositionParams.h"

struct FindLinksParams
{
    // Supported link types: superImplementation
    std::string type;
    lsTextDocumentPositionParams position;

    MAKE_SWAP_METHOD(FindLinksParams, type, position)
};
MAKE_REFLECT_STRUCT(FindLinksParams, type, position)

DEFINE_REQUEST_RESPONSE_TYPE(java_findLinks, FindLinksParams, lsp::Any, "java/findLinks");