mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
notnullification
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ public class JavaDebuggerLauncherImpl extends JavaDebuggerLauncher {
|
||||
private static final Logger LOG = Logger.getInstance(JavaDebuggerLauncherImpl.class);
|
||||
|
||||
@Override
|
||||
public void startDebugSession(@NotNull JavaDebugConnectionData info, @NotNull ExecutionEnvironment executionEnvironment, RemoteServer<?> server)
|
||||
public void startDebugSession(@NotNull JavaDebugConnectionData info, @NotNull ExecutionEnvironment executionEnvironment, @NotNull RemoteServer<?> server)
|
||||
throws ExecutionException {
|
||||
final Project project = executionEnvironment.getProject();
|
||||
Executor executor = DefaultDebugExecutor.getDebugExecutorInstance();
|
||||
|
||||
+1
@@ -13,6 +13,7 @@ public enum DeploymentStatus {
|
||||
myPresentableText = presentableText;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getPresentableText() {
|
||||
return myPresentableText;
|
||||
}
|
||||
|
||||
+1
-1
@@ -9,5 +9,5 @@ import org.jetbrains.annotations.NotNull;
|
||||
* @author nik
|
||||
*/
|
||||
public interface DebuggerLauncher<D extends DebugConnectionData> {
|
||||
void startDebugSession(@NotNull D info, @NotNull ExecutionEnvironment executionEnvironment, RemoteServer<?> server) throws ExecutionException;
|
||||
void startDebugSession(@NotNull D info, @NotNull ExecutionEnvironment executionEnvironment, @NotNull RemoteServer<?> server) throws ExecutionException;
|
||||
}
|
||||
|
||||
+2
@@ -1,11 +1,13 @@
|
||||
package com.intellij.remoteServer.runtime.deployment.debug;
|
||||
|
||||
import com.intellij.openapi.components.ServiceManager;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* @author nik
|
||||
*/
|
||||
public abstract class JavaDebuggerLauncher implements DebuggerLauncher<JavaDebugConnectionData> {
|
||||
@NotNull
|
||||
public static JavaDebuggerLauncher getInstance() {
|
||||
return ServiceManager.getService(JavaDebuggerLauncher.class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user