/*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
myVotesToVote = 1000000000;
}
- public boolean isExplicitlyResumed(ThreadReferenceProxyImpl thread) {
+ public boolean isExplicitlyResumed(@Nullable ThreadReferenceProxyImpl thread) {
return myResumedThreads != null && myResumedThreads.contains(thread);
}
import com.sun.jdi.event.EventQueue;
import com.sun.jdi.request.EventRequestManager;
import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
myVirtualMachine.setDebugTraceMode(i);
}
- public ThreadReferenceProxyImpl getThreadReferenceProxy(ThreadReference thread) {
+ @Nullable
+ public ThreadReferenceProxyImpl getThreadReferenceProxy(@Nullable ThreadReference thread) {
DebuggerManagerThreadImpl.assertIsManagerThread();
if(thread == null) {
return null;