#include <spdlog/spdlog.h>
#include "./incoming_calls.hpp"
#include "../../protocol/transform/facade.hpp"

namespace lsp::provider::call_hierarchy
{
    std::string IncomingCalls::GetMethod() const
    {
        return "callHierarchy/incomingCalls";
    }

    std::string IncomingCalls::GetProviderName() const
    {
        return "CallHierarchyIncomingCalls";
    }

    std::string IncomingCalls::ProvideResponse(const protocol::RequestMessage& request, ExecutionContext& context)
    {
        static_cast<void>(context);
        spdlog::debug("IncomingCallsProvider: Providing response for method {}", request.method);

        // TODO: Implement the actual request handling logic
        // 1. Parse request parameters
        // 2. Process the request using appropriate services
        // 3. Return formatted response
        return "{}"; // Placeholder response
    }
}
