2020-09-22 07:09:10 +00:00
.class public final L d0/a/m1 ;
.super L d0/a/v ;
2020-09-16 23:45:23 +00:00
.source "Unconfined.kt"
2020-07-08 16:44:49 +00:00
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
# static fields
2020-09-22 07:09:10 +00:00
.field public static final d : L d0/a/m1 ;
2020-07-20 19:00:44 +00:00
2020-09-16 23:45:23 +00:00
# direct methods
.method public static constructor <clinit> ( ) V
.locals 1
2020-09-22 07:09:10 +00:00
new-instance v0 , L d0/a/m1 ;
2020-09-16 23:45:23 +00:00
2020-09-22 07:09:10 +00:00
invoke-direct { v0 } , L d0/a/m1 ;-> <init> ( ) V
2020-09-16 23:45:23 +00:00
2020-09-22 07:09:10 +00:00
sput-object v0 , L d0/a/m1 ;-> d : L d0/a/m1 ;
2020-09-16 23:45:23 +00:00
return-void
.end method
.method public constructor <init> ( ) V
.locals 0
2020-09-22 07:09:10 +00:00
invoke-direct { p0 } , L d0/a/v ;-> <init> ( ) V
2020-09-16 23:45:23 +00:00
return-void
.end method
2020-07-08 16:44:49 +00:00
# virtual methods
2020-09-16 23:45:23 +00:00
.method public dispatch ( L kotlin/coroutines/CoroutineContext ;L java/lang/Runnable ;) V
.locals 0
2020-09-22 07:09:10 +00:00
sget-object p2 , L d0/a/o1 ;-> d : L d0/a/o1$a ;
2020-09-16 23:45:23 +00:00
invoke-interface { p1 , p2 } , L kotlin/coroutines/CoroutineContext ;-> get ( L kotlin/coroutines/CoroutineContext$b ;) L kotlin/coroutines/CoroutineContext$a ;
move-result-object p1
2020-09-22 07:09:10 +00:00
check-cast p1 , L d0/a/o1 ;
2020-09-16 23:45:23 +00:00
if-eqz p1 , :cond_0
return-void
:cond_0
new-instance p1 , L java/lang/UnsupportedOperationException ;
const-string p2 , "Dispatchers.Unconfined.dispatch function can only be used by the yield function. If you wrap Unconfined dispatcher in your code, make sure you properly delegate isDispatchNeeded and dispatch calls."
invoke-direct { p1 , p2 } , L java/lang/UnsupportedOperationException ;-> <init> ( L java/lang/String ;) V
throw p1
2020-07-20 19:00:44 +00:00
.end method
2020-09-16 23:45:23 +00:00
.method public isDispatchNeeded ( L kotlin/coroutines/CoroutineContext ;) Z
.locals 0
const/4 p1 , 0x0
return p1
.end method
.method public toString ( ) L java/lang/String ;
.locals 1
const-string v0 , "Dispatchers.Unconfined"
return-object v0
2020-07-08 16:44:49 +00:00
.end method