apkfuckery/com.discord/smali_classes2/t/o.smali

110 lines
2.3 KiB
Smali
Raw Normal View History

2019-12-18 07:41:41 +00:00
.class public final Lt/o;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
2019-12-20 07:00:35 +00:00
.source "Response.java"
2019-12-06 03:29:40 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
2019-12-20 07:00:35 +00:00
"Ljava/lang/Object;"
2019-12-06 03:29:40 +00:00
}
.end annotation
# instance fields
2019-12-20 07:00:35 +00:00
.field public final a:Lokhttp3/Response;
2019-12-06 03:29:40 +00:00
2019-12-20 07:00:35 +00:00
.field public final b:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-20 07:00:35 +00:00
"TT;"
2019-12-06 03:29:40 +00:00
}
.end annotation
.end field
2019-12-20 07:00:35 +00:00
.field public final c:Lq/z;
2019-12-06 03:29:40 +00:00
# direct methods
2019-12-20 07:00:35 +00:00
.method public constructor <init>(Lokhttp3/Response;Ljava/lang/Object;Lq/z;)V
2019-12-06 03:29:40 +00:00
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
2019-12-20 07:00:35 +00:00
"Lokhttp3/Response;",
"TT;",
"Lq/z;",
")V"
2019-12-06 03:29:40 +00:00
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-12-20 07:00:35 +00:00
iput-object p1, p0, Lt/o;->a:Lokhttp3/Response;
2019-12-06 03:29:40 +00:00
2019-12-20 07:00:35 +00:00
iput-object p2, p0, Lt/o;->b:Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2019-12-20 07:00:35 +00:00
iput-object p3, p0, Lt/o;->c:Lq/z;
2019-12-06 03:29:40 +00:00
return-void
.end method
2019-12-20 07:00:35 +00:00
.method public static a(Ljava/lang/Object;Lokhttp3/Response;)Lt/o;
2019-12-06 03:29:40 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
2019-12-20 07:00:35 +00:00
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Lokhttp3/Response;",
")",
"Lt/o<",
"TT;>;"
2019-12-06 03:29:40 +00:00
}
.end annotation
2019-12-20 07:00:35 +00:00
const-string v0, "rawResponse == null"
2019-12-06 03:29:40 +00:00
2019-12-20 07:00:35 +00:00
invoke-static {p1, v0}, Lt/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2019-12-06 03:29:40 +00:00
2019-12-20 07:00:35 +00:00
invoke-virtual {p1}, Lokhttp3/Response;->h()Z
2019-12-18 09:41:56 +00:00
2019-12-20 07:00:35 +00:00
move-result v0
2019-12-06 03:29:40 +00:00
if-eqz v0, :cond_0
2019-12-20 07:00:35 +00:00
new-instance v0, Lt/o;
2019-12-06 03:29:40 +00:00
2019-12-20 07:00:35 +00:00
const/4 v1, 0x0
2019-12-06 03:29:40 +00:00
2019-12-20 07:00:35 +00:00
invoke-direct {v0, p1, p0, v1}, Lt/o;-><init>(Lokhttp3/Response;Ljava/lang/Object;Lq/z;)V
2019-12-18 09:41:56 +00:00
2019-12-20 07:00:35 +00:00
return-object v0
2019-12-06 03:29:40 +00:00
:cond_0
2019-12-20 07:00:35 +00:00
new-instance p0, Ljava/lang/IllegalArgumentException;
2019-12-06 03:29:40 +00:00
2019-12-20 07:00:35 +00:00
const-string p1, "rawResponse must be successful response"
2019-12-06 03:29:40 +00:00
2019-12-20 07:00:35 +00:00
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
2019-12-20 07:00:35 +00:00
throw p0
2019-12-06 03:29:40 +00:00
.end method
2019-12-20 07:00:35 +00:00
# virtual methods
2019-12-06 03:29:40 +00:00
.method public toString()Ljava/lang/String;
.locals 1
2019-12-20 07:00:35 +00:00
iget-object v0, p0, Lt/o;->a:Lokhttp3/Response;
2019-12-06 03:29:40 +00:00
2019-12-20 07:00:35 +00:00
invoke-virtual {v0}, Lokhttp3/Response;->toString()Ljava/lang/String;
2019-12-06 03:29:40 +00:00
move-result-object v0
return-object v0
.end method