package kotlinx.coroutines; import kotlin.coroutines.AbstractCoroutineContextElement; import kotlin.coroutines.CoroutineContext; import kotlin.jvm.internal.DefaultConstructorMarker; import kotlin.jvm.internal.Intrinsics; /* loaded from: classes5.dex */ public final class CoroutineName extends AbstractCoroutineContextElement { public static final Key Key = new Key(null); public final String name; public boolean equals(Object obj) { if (this == obj) { return true; } return (obj instanceof CoroutineName) && Intrinsics.areEqual(this.name, ((CoroutineName) obj).name); } public final String getName() { return this.name; } public int hashCode() { return this.name.hashCode(); } public CoroutineName(String str) { super(Key); this.name = str; } public static final class Key implements CoroutineContext.Key { public /* synthetic */ Key(DefaultConstructorMarker defaultConstructorMarker) { this(); } public Key() { } } public String toString() { return "CoroutineName(" + this.name + ')'; } }