apkfuckery/com.discord/smali_classes2/g0/z.smali

118 lines
2.4 KiB
Smali
Raw Normal View History

2020-11-16 22:05:17 +00:00
.class public final Lg0/z;
2020-11-12 02:11:44 +00:00
.super Ljava/lang/Object;
2020-11-13 19:18:44 +00:00
.source "Response.java"
2020-11-12 02:11:44 +00:00
# annotations
2020-11-13 19:18:44 +00:00
.annotation system Ldalvik/annotation/Signature;
2020-11-12 02:11:44 +00:00
value = {
2020-11-13 19:18:44 +00:00
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
2020-11-12 02:11:44 +00:00
}
.end annotation
# instance fields
2020-11-13 19:18:44 +00:00
.field public final a:Lokhttp3/Response;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
.field public final b:Ljava/lang/Object;
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.end field
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
.field public final c:Lokhttp3/ResponseBody;
2020-11-12 02:11:44 +00:00
# direct methods
2020-11-13 19:18:44 +00:00
.method public constructor <init>(Lokhttp3/Response;Ljava/lang/Object;Lokhttp3/ResponseBody;)V
2020-11-12 02:11:44 +00:00
.locals 0
2020-11-13 19:18:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lokhttp3/Response;",
"TT;",
"Lokhttp3/ResponseBody;",
")V"
}
.end annotation
2020-11-12 02:11:44 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2020-11-16 22:05:17 +00:00
iput-object p1, p0, Lg0/z;->a:Lokhttp3/Response;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object p2, p0, Lg0/z;->b:Ljava/lang/Object;
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iput-object p3, p0, Lg0/z;->c:Lokhttp3/ResponseBody;
2020-11-12 02:11:44 +00:00
return-void
.end method
2020-11-16 22:05:17 +00:00
.method public static b(Ljava/lang/Object;Lokhttp3/Response;)Lg0/z;
2020-11-12 02:11:44 +00:00
.locals 2
2020-11-13 19:18:44 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Lokhttp3/Response;",
")",
2020-11-16 22:05:17 +00:00
"Lg0/z<",
2020-11-13 19:18:44 +00:00
"TT;>;"
}
.end annotation
invoke-virtual {p1}, Lokhttp3/Response;->b()Z
2020-11-12 02:11:44 +00:00
move-result v0
if-eqz v0, :cond_0
2020-11-16 22:05:17 +00:00
new-instance v0, Lg0/z;
2020-11-12 02:11:44 +00:00
const/4 v1, 0x0
2020-11-16 22:05:17 +00:00
invoke-direct {v0, p1, p0, v1}, Lg0/z;-><init>(Lokhttp3/Response;Ljava/lang/Object;Lokhttp3/ResponseBody;)V
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
return-object v0
2020-11-12 02:11:44 +00:00
:cond_0
2020-11-13 19:18:44 +00:00
new-instance p0, Ljava/lang/IllegalArgumentException;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
const-string p1, "rawResponse must be successful response"
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
throw p0
2020-11-12 02:11:44 +00:00
.end method
2020-11-13 19:18:44 +00:00
# virtual methods
.method public a()Z
.locals 1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iget-object v0, p0, Lg0/z;->a:Lokhttp3/Response;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v0}, Lokhttp3/Response;->b()Z
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result v0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
return v0
.end method
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
.method public toString()Ljava/lang/String;
.locals 1
2020-11-12 02:11:44 +00:00
2020-11-16 22:05:17 +00:00
iget-object v0, p0, Lg0/z;->a:Lokhttp3/Response;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
invoke-virtual {v0}, Lokhttp3/Response;->toString()Ljava/lang/String;
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
move-result-object v0
2020-11-12 02:11:44 +00:00
2020-11-13 19:18:44 +00:00
return-object v0
2020-11-12 02:11:44 +00:00
.end method