164 lines
4.8 KiB
Smali
164 lines
4.8 KiB
Smali
.class public final Lretrofit2/KotlinExtensions$awaitResponse$2$2;
|
|
.super Ljava/lang/Object;
|
|
.source "KotlinExtensions.kt"
|
|
|
|
# interfaces
|
|
.implements Lretrofit2/Callback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lretrofit2/KotlinExtensions;->awaitResponse(Lretrofit2/Call;Lkotlin/coroutines/c;)Ljava/lang/Object;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lretrofit2/Callback<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nKotlinExtensions.kt\nKotlin\n*S Kotlin\n*F\n+ 1 KotlinExtensions.kt\nretrofit2/KotlinExtensions$awaitResponse$2$2\n*L\n1#1,120:1\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000#\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0003\n\u0002\u0008\u0003*\u0001\u0000\u0008\n\u0018\u00002\u0008\u0012\u0004\u0012\u00028\u00000\u0001J$\u0010\u0007\u001a\u00020\u00062\u000c\u0010\u0003\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u00022\u000c\u0010\u0005\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u0004H\u0016J\u001e\u0010\n\u001a\u00020\u00062\u000c\u0010\u0003\u001a\u0008\u0012\u0004\u0012\u00028\u00000\u00022\u0006\u0010\t\u001a\u00020\u0008H\u0016\u00a8\u0006\u000b"
|
|
}
|
|
d2 = {
|
|
"retrofit2/KotlinExtensions$awaitResponse$2$2",
|
|
"Lretrofit2/Callback;",
|
|
"Lretrofit2/Call;",
|
|
"call",
|
|
"Lretrofit2/Response;",
|
|
"response",
|
|
"Lkotlin/d1;",
|
|
"onResponse",
|
|
"",
|
|
"t",
|
|
"onFailure",
|
|
"retrofit"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x0
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $continuation:Lkotlinx/coroutines/n;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lkotlinx/coroutines/n;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lretrofit2/KotlinExtensions$awaitResponse$2$2;->$continuation:Lkotlinx/coroutines/n;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onFailure(Lretrofit2/Call;Ljava/lang/Throwable;)V
|
|
.locals 1
|
|
.param p1 # Lretrofit2/Call;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/lang/Throwable;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lretrofit2/Call<",
|
|
"TT;>;",
|
|
"Ljava/lang/Throwable;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "call"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string p1, "t"
|
|
|
|
invoke-static {p2, p1}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
iget-object p1, p0, Lretrofit2/KotlinExtensions$awaitResponse$2$2;->$continuation:Lkotlinx/coroutines/n;
|
|
|
|
sget-object v0, Lkotlin/Result;->Companion:Lkotlin/Result$a;
|
|
|
|
invoke-static {p2}, Lkotlin/d0;->a(Ljava/lang/Throwable;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p2}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-interface {p1, p2}, Lkotlin/coroutines/c;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onResponse(Lretrofit2/Call;Lretrofit2/Response;)V
|
|
.locals 1
|
|
.param p1 # Lretrofit2/Call;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Lretrofit2/Response;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lretrofit2/Call<",
|
|
"TT;>;",
|
|
"Lretrofit2/Response<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "call"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string p1, "response"
|
|
|
|
invoke-static {p2, p1}, Lkotlin/jvm/internal/f0;->q(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1
|
|
iget-object p1, p0, Lretrofit2/KotlinExtensions$awaitResponse$2$2;->$continuation:Lkotlinx/coroutines/n;
|
|
|
|
sget-object v0, Lkotlin/Result;->Companion:Lkotlin/Result$a;
|
|
|
|
invoke-static {p2}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-interface {p1, p2}, Lkotlin/coroutines/c;->resumeWith(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|