File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ function Runner:new()
1717end
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
2222function Runner :run_by_config (config , report )
2323 log .debug (' running dap with config: ' , config )
2424
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
4141function Runner :before (conf , report )
4242 log .debug (' running "before" callback' )
4343
Original file line number Diff line number Diff line change 11local adapters = require (' java-dap.data.adapters' )
2-
32local log = require (' java-core.utils.log' )
43local class = require (' java-core.utils.class' )
5-
64local 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
1412function Setup :_init (client )
1513 self .client = client
16-
1714 self .java_debug = JavaDebug (client )
1815end
1916
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
4844function Setup :enrich_config (config )
Original file line number Diff line number Diff line change 11local M = {}
22
33--- Returns the dap config record
4- --- @param main JavaDebugResolveMainClassRecord
4+ --- @param main java-dap. JavaDebugResolveMainClassRecord
55--- @return java-dap.DapLauncherConfig
66function M .main_to_dap_launch_config (main )
77 local project_name = main .projectName
You can’t perform that action at this time.
0 commit comments