apkfuckery/com.discord/smali/b/j$d.smali
2019-07-29 22:14:17 +02:00

118 lines
2.4 KiB
Smali

.class final Lb/j$d;
.super Lb/j;
.source "ParameterHandler.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lb/j;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = "d"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lb/j<",
"TT;>;"
}
.end annotation
# instance fields
.field private final bFm:Lb/e;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lb/e<",
"TT;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private final name:Ljava/lang/String;
# direct methods
.method constructor <init>(Ljava/lang/String;Lb/e;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Lb/e<",
"TT;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
invoke-direct {p0}, Lb/j;-><init>()V
const-string v0, "name == null"
invoke-static {p1, v0}, Lb/p;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/String;
iput-object p1, p0, Lb/j$d;->name:Ljava/lang/String;
iput-object p2, p0, Lb/j$d;->bFm:Lb/e;
return-void
.end method
# virtual methods
.method final a(Lb/l;Ljava/lang/Object;)V
.locals 1
.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
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
if-nez p2, :cond_0
return-void
:cond_0
iget-object v0, p0, Lb/j$d;->bFm:Lb/e;
invoke-interface {v0, p2}, Lb/e;->convert(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p2
check-cast p2, Ljava/lang/String;
if-nez p2, :cond_1
return-void
:cond_1
iget-object v0, p0, Lb/j$d;->name:Ljava/lang/String;
invoke-virtual {p1, v0, p2}, Lb/l;->addHeader(Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method