content: package kotlinx.coroutines.debug.internal;
  
  import java.io.Serializable;
  import java.lang.Thread;
  import java.util.List;
  import kotlin.Metadata;
  import kotlin.coroutines.ContinuationInterceptor;
  import kotlin.coroutines.CoroutineContext;
  import kotlinx.coroutines.CoroutineId;
  import kotlinx.coroutines.CoroutineName;
  
  @Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u000e\b\u0001\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006R\u0015\u0010\u0007\u001a\u0004\u0018\u00010\b¢\u0006\n\n\u0002\u0010\u000b\u001a\u0004\b\t\u0010\nR\u0013\u0010\f\u001a\u0004\u0018\u00010\r¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0017\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\u00120\u0011¢\u0006\b\n\u0000\u001a\u0004\b\u0013\u0010\u0014R\u0013\u0010\u0015\u001a\u0004\u0018\u00010\r¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u000fR\u0013\u0010\u0017\u001a\u0004\u0018\u00010\r¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u000fR\u0013\u0010\u0019\u001a\u0004\u0018\u00010\r¢\u0006\b\n\u0000\u001a\u0004\b\u001a\u0010\u000fR\u0011\u0010\u001b\u001a\u00020\b¢\u0006\b\n\u0000\u001a\u0004\b\u001c\u0010\u001dR\u0011\u0010\u001e\u001a\u00020\r¢\u0006\b\n\u0000\u001a\u0004\b\u001f\u0010\u000f¨\u0006 "}, d2 = {"Lkotlinx/coroutines/debug/internal/DebuggerInfo;", "Ljava/io/Serializable;", "source", "Lkotlinx/coroutines/debug/internal/DebugCoroutineInfoImpl;", "context", "Lkotlin/coroutines/CoroutineContext;", "(Lkotlinx/coroutines/debug/internal/DebugCoroutineInfoImpl;Lkotlin/coroutines/CoroutineContext;)V", "coroutineId", "", "getCoroutineId", "()Ljava/lang/Long;", "Ljava/lang/Long;", "dispatcher", "", "getDispatcher", "()Ljava/lang/String;", "lastObservedStackTrace", "", "Ljava/lang/StackTraceElement;", "getLastObservedStackTrace", "()Ljava/util/List;", "lastObservedThreadName", "getLastObservedThreadName", "lastObservedThreadState", "getLastObservedThreadState", "name", "getName", "sequenceNumber", "getSequenceNumber", "()J", "state", "getState", "kotlinx-coroutines-core"}, k = 1, mv = {1, 6, 0}, xi = 48)
  /* compiled from: DebuggerInfo.kt */
  public final class DebuggerInfo implements Serializable {
      private final Long coroutineId;
      private final String dispatcher;
      private final List<StackTraceElement> lastObservedStackTrace;
      private final String lastObservedThreadName;
      private final String lastObservedThreadState;
      private final String name;
      private final long sequenceNumber;
      private final String state;
  
      public DebuggerInfo(DebugCoroutineInfoImpl source, CoroutineContext context) {
          Thread.State state2;
          CoroutineId coroutineId2 = (CoroutineId) context.get(CoroutineId.Key);
          String str = null;
          this.coroutineId = coroutineId2 == null ? null : Long.valueOf(coroutineId2.getId());
          ContinuationInterceptor continuationInterceptor = (ContinuationInterceptor) context.get(ContinuationInterceptor.Key);
          this.dispatcher = continuationInterceptor == null ? null : continuationInterceptor.toString();
          CoroutineName coroutineName = (CoroutineName) context.get(CoroutineName.Key);
          this.name = coroutineName == null ? null : coroutineName.getName();
          this.state = source.getState();
          Thread thread = source.lastObservedThread;
          this.lastObservedThreadState = (thread == null || (state2 = thread.getState()) == null) ? null : state2.toString();
          Thread thread2 = source.lastObservedThread;
          this.lastObservedThreadName = thread2 != null ? thread2.getName() : str;
          this.lastObservedStackTrace = source.lastObservedStackTrace();
          this.sequenceNumber = source.sequenceNumber;
      }
  
      public final Long getCoroutineId() {
          return this.coroutineId;
      }
  
      public final String getDispatcher() {
          return this.dispatcher;
      }
  
      public final List<StackTraceElement> getLastObservedStackTrace() {
          return this.lastObservedStackTrace;
      }
  
      public final String getLastObservedThreadName() {
          return this.lastObservedThreadName;
      }
  
      public final String getLastObservedThreadState() {
          return this.lastObservedThreadState;
      }
  
      public final String getName() {
          return this.name;
      }
  
      public final long getSequenceNumber() {
          return this.sequenceNumber;
      }
  
      public final String getState() {
          return this.state;
      }
  }
  