Skip to content

Commit 55f2395

Browse files
committed
chore: type changes
1 parent 55c90c5 commit 55f2395

3 files changed

Lines changed: 6 additions & 10 deletions

File tree

lua/java-dap/api/runner.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ function Runner:new()
1717
end
1818

1919
---Dap run with given config
20-
---@param config java-core.DapLauncherConfig
21-
---@param report java_test.JUnitTestReport
20+
---@param config java-dap.DapLauncherConfig
21+
---@param report java-test.JUnitTestReport
2222
function Runner:run_by_config(config, report)
2323
log.debug('running dap with config: ', config)
2424

@@ -35,9 +35,9 @@ end
3535

3636
---Runs before the dap run
3737
---@private
38-
---@param conf java-core.DapLauncherConfig
39-
---@param report java_test.JUnitTestReport
40-
---@return java-core.DapLauncherConfig
38+
---@param conf java-dap.DapLauncherConfig
39+
---@param report java-test.JUnitTestReport
40+
---@return java-dap.DapLauncherConfig
4141
function Runner:before(conf, report)
4242
log.debug('running "before" callback')
4343

lua/java-dap/api/setup.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
local adapters = require('java-dap.data.adapters')
2-
32
local log = require('java-core.utils.log')
43
local class = require('java-core.utils.class')
5-
64
local JavaDebug = require('java-core.ls.clients.java-debug-client')
75

86
---@class java-dap.Setup
@@ -13,7 +11,6 @@ local Setup = class()
1311
---@param client any
1412
function Setup:_init(client)
1513
self.client = client
16-
1714
self.java_debug = JavaDebug(client)
1815
end
1916

@@ -42,7 +39,6 @@ end
4239

4340
---Returns the launch config filled with required data if missing in the passed
4441
--config
45-
---@private
4642
---@param config java-dap.DapLauncherConfigOverridable
4743
---@return java-dap.DapLauncherConfigOverridable
4844
function Setup:enrich_config(config)

lua/java-dap/data/adapters.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
local M = {}
22

33
---Returns the dap config record
4-
---@param main JavaDebugResolveMainClassRecord
4+
---@param main java-dap.JavaDebugResolveMainClassRecord
55
---@return java-dap.DapLauncherConfig
66
function M.main_to_dap_launch_config(main)
77
local project_name = main.projectName

0 commit comments

Comments
 (0)