notnullification

This commit is contained in:
nik
2013-09-09 13:59:06 +04:00
parent 0aa3d9d805
commit 2e3c259805
4 changed files with 5 additions and 2 deletions
@@ -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();
@@ -13,6 +13,7 @@ public enum DeploymentStatus {
myPresentableText = presentableText;
}
@NotNull
public String getPresentableText() {
return myPresentableText;
}
@@ -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;
}
@@ -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);
}