diff --git a/java/testFramework/src/com/intellij/debugger/ExecutionWithDebuggerToolsTestCase.java b/java/testFramework/src/com/intellij/debugger/ExecutionWithDebuggerToolsTestCase.java index 7ee70e7581b9..8d1b7960874a 100644 --- a/java/testFramework/src/com/intellij/debugger/ExecutionWithDebuggerToolsTestCase.java +++ b/java/testFramework/src/com/intellij/debugger/ExecutionWithDebuggerToolsTestCase.java @@ -48,6 +48,7 @@ import com.intellij.util.lang.CompoundRuntimeException; import com.intellij.util.ui.UIUtil; import com.sun.jdi.Method; import com.sun.jdi.ThreadReference; +import org.jetbrains.annotations.NotNull; import org.jetbrains.java.debugger.breakpoints.properties.JavaMethodBreakpointProperties; import javax.swing.*; @@ -222,7 +223,7 @@ public abstract class ExecutionWithDebuggerToolsTestCase extends ExecutionTestCa if (pausedContext != null) { debugProcess.getManagerThread().schedule(new SuspendContextCommandImpl(pausedContext) { @Override - public void contextAction() throws Exception { + public void contextAction(@NotNull SuspendContextImpl suspendContext) throws Exception { paused(pausedContext); } }); @@ -284,7 +285,7 @@ public abstract class ExecutionWithDebuggerToolsTestCase extends ExecutionTestCa protected void invokeRatherLater(SuspendContextImpl context, final Runnable runnable) { invokeRatherLater(new SuspendContextCommandImpl(context) { @Override - public void contextAction() throws Exception { + public void contextAction(@NotNull SuspendContextImpl suspendContext) throws Exception { DebuggerInvocationUtil.invokeLater(myProject, runnable); } }); @@ -305,7 +306,7 @@ public abstract class ExecutionWithDebuggerToolsTestCase extends ExecutionTestCa request.myDebugProcess.getManagerThread().schedule(new SuspendContextCommandImpl( ((SuspendContextCommandImpl)request.myDebuggerCommand).getSuspendContext()) { @Override - public void contextAction() throws Exception { + public void contextAction(@NotNull SuspendContextImpl suspendContext) throws Exception { pumpDebuggerThread(request); }