Set<SuspendContextImpl> (@NotNull SuspendManager suspendManager, ThreadReferenceProxyImpl thread) { DebuggerManagerThreadImpl.assertIsManagerThread(); return suspendManager.getEventContexts().stream() .filter(suspendContext -> suspendContext.suspends(thread)) .collect(Collectors.toCollection(HashSet::new)); }