apkfuckery/com.discord/smali/b/j$f.smali

128 lines
2.8 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class final Lb/j$f;
.super Lb/j;
2019-02-04 20:29:01 +00:00
.source "ParameterHandler.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb/j;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "f"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lb/j<",
"TT;>;"
}
.end annotation
# instance fields
2019-02-27 21:13:14 +00:00
.field private final bmV:Lokhttp3/Headers;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
.field private final bzL:Lb/e;
2019-02-04 20:08:30 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Lb/e<",
"TT;",
"Lokhttp3/RequestBody;",
">;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Lokhttp3/Headers;Lb/e;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lokhttp3/Headers;",
"Lb/e<",
"TT;",
"Lokhttp3/RequestBody;",
">;)V"
}
.end annotation
invoke-direct {p0}, Lb/j;-><init>()V
2019-02-27 21:13:14 +00:00
iput-object p1, p0, Lb/j$f;->bmV:Lokhttp3/Headers;
2019-02-04 20:08:30 +00:00
2019-02-27 21:13:14 +00:00
iput-object p2, p0, Lb/j$f;->bzL:Lb/e;
2019-02-04 20:08:30 +00:00
return-void
.end method
# virtual methods
.method final a(Lb/l;Ljava/lang/Object;)V
.locals 3
.param p2 # Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lb/l;",
"TT;)V"
}
.end annotation
if-nez p2, :cond_0
return-void
:cond_0
:try_start_0
2019-02-27 21:13:14 +00:00
iget-object v0, p0, Lb/j$f;->bzL:Lb/e;
2019-02-04 20:08:30 +00:00
invoke-interface {v0, p2}, Lb/e;->convert(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lokhttp3/RequestBody;
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
2019-02-27 21:13:14 +00:00
iget-object p2, p0, Lb/j$f;->bmV:Lokhttp3/Headers;
2019-02-04 20:08:30 +00:00
invoke-virtual {p1, p2, v0}, Lb/l;->c(Lokhttp3/Headers;Lokhttp3/RequestBody;)V
return-void
:catch_0
move-exception p1
new-instance v0, Ljava/lang/RuntimeException;
new-instance v1, Ljava/lang/StringBuilder;
const-string v2, "Unable to convert "
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string p2, " to RequestBody"
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {v0, p2, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v0
.end method