Class ResolveMainClassHandler
java.lang.Object
com.microsoft.java.debug.plugin.internal.ResolveMainClassHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveMainClass(List<Object> arguments) resolve main class and project name.validateLaunchConfig(List<Object> arguments) Validate whether the mainClass and projectName is correctly configured or not.
-
Constructor Details
-
ResolveMainClassHandler
public ResolveMainClassHandler()
-
-
Method Details
-
resolveMainClass
resolve main class and project name.- Returns:
- an array of main class and project name
-
validateLaunchConfig
Validate whether the mainClass and projectName is correctly configured or not. If not, report the validation error and provide the quick fix proposal.- Parameters:
arguments- the mainClass and projectName configs.- Returns:
- the validation response.
- Throws:
Exception- when there are any errors during validating the mainClass and projectName.
-