private static CompletableFuture<Icon> calcThreadIconAsync(ThreadReferenceImpl threadReference, boolean current) {
    return threadReference.isSuspendedAsync().thenApply(suspended -> {
      if (suspended) {
        if (current) {
          return AllIcons.Debugger.ThreadCurrent;
        }
        else {
          return AllIcons.Debugger.ThreadSuspended;
        }
      }
      return AllIcons.Debugger.ThreadRunning;
    });
  }
private static CompletableFuture<Icon> calcThreadIconAsync(ThreadReferenceImpl threadReference, boolean current)