apkfuckery/com.discord/smali/b/m.smali

183 lines
4.2 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lb/m;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "Response.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# instance fields
2019-05-08 22:54:48 +00:00
.field public final bCj:Lokhttp3/Response;
2019-03-02 23:27:57 +00:00
2019-05-08 22:54:48 +00:00
.field public final bCk:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"TT;"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
2019-05-08 22:54:48 +00:00
.field public final bCl:Lokhttp3/x;
2019-02-04 20:08:30 +00:00
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end field
# direct methods
.method private constructor <init>(Lokhttp3/Response;Ljava/lang/Object;Lokhttp3/x;)V
.locals 0
.param p2 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.param p3 # Lokhttp3/x;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lokhttp3/Response;",
"TT;",
"Lokhttp3/x;",
")V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-05-08 22:54:48 +00:00
iput-object p1, p0, Lb/m;->bCj:Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iput-object p2, p0, Lb/m;->bCk:Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-08 22:54:48 +00:00
iput-object p3, p0, Lb/m;->bCl:Lokhttp3/x;
2019-02-04 20:08:30 +00:00
return-void
.end method
.method public static a(Ljava/lang/Object;Lokhttp3/Response;)Lb/m;
.locals 2
.param p0 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;",
"Lokhttp3/Response;",
")",
"Lb/m<",
"TT;>;"
}
.end annotation
const-string v0, "rawResponse == null"
invoke-static {p1, v0}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2019-05-03 18:53:54 +00:00
invoke-virtual {p1}, Lokhttp3/Response;->vj()Z
2019-02-04 20:08:30 +00:00
move-result v0
if-eqz v0, :cond_0
new-instance v0, Lb/m;
const/4 v1, 0x0
invoke-direct {v0, p1, p0, v1}, Lb/m;-><init>(Lokhttp3/Response;Ljava/lang/Object;Lokhttp3/x;)V
return-object v0
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "rawResponse must be successful response"
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static a(Lokhttp3/x;Lokhttp3/Response;)Lb/m;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lokhttp3/x;",
"Lokhttp3/Response;",
")",
"Lb/m<",
"TT;>;"
}
.end annotation
const-string v0, "body == null"
invoke-static {p0, v0}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
const-string v0, "rawResponse == null"
invoke-static {p1, v0}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2019-05-03 18:53:54 +00:00
invoke-virtual {p1}, Lokhttp3/Response;->vj()Z
2019-02-04 20:08:30 +00:00
move-result v0
if-nez v0, :cond_0
new-instance v0, Lb/m;
const/4 v1, 0x0
invoke-direct {v0, p1, v1, p0}, Lb/m;-><init>(Lokhttp3/Response;Ljava/lang/Object;Lokhttp3/x;)V
return-object v0
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "rawResponse should not be successful response"
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
# virtual methods
2019-05-04 02:59:52 +00:00
.method public final EV()Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
.locals 1
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lb/m;->bCj:Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
return-object v0
.end method
.method public final toString()Ljava/lang/String;
.locals 1
2019-05-08 22:54:48 +00:00
iget-object v0, p0, Lb/m;->bCj:Lokhttp3/Response;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0}, Lokhttp3/Response;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method