package kotlin.coroutines; import kotlin.coroutines.CoroutineContext; import kotlin.jvm.functions.Function2; import kotlin.jvm.internal.Intrinsics; /* loaded from: classes5.dex */ public abstract class AbstractCoroutineContextElement implements CoroutineContext.Element { private final CoroutineContext.Key key; @Override // kotlin.coroutines.CoroutineContext.Element public CoroutineContext.Key getKey() { return this.key; } public AbstractCoroutineContextElement(CoroutineContext.Key key) { Intrinsics.checkNotNullParameter(key, "key"); this.key = key; } @Override // kotlin.coroutines.CoroutineContext public R fold(R r, Function2 function2) { return (R) CoroutineContext.Element.DefaultImpls.fold(this, r, function2); } @Override // kotlin.coroutines.CoroutineContext.Element, kotlin.coroutines.CoroutineContext public E get(CoroutineContext.Key key) { return (E) CoroutineContext.Element.DefaultImpls.get(this, key); } @Override // kotlin.coroutines.CoroutineContext public CoroutineContext minusKey(CoroutineContext.Key key) { return CoroutineContext.Element.DefaultImpls.minusKey(this, key); } @Override // kotlin.coroutines.CoroutineContext public CoroutineContext plus(CoroutineContext coroutineContext) { return CoroutineContext.Element.DefaultImpls.plus(this, coroutineContext); } }