apkfuckery/com.discord/smali/b/o.smali

410 lines
8.5 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class final Lb/o;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "ServiceMethod.java"
2019-02-04 20:08:30 +00:00
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lb/o$a;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<R:",
"Ljava/lang/Object;",
"T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# static fields
2019-07-10 21:18:28 +00:00
.field static final bEi:Ljava/util/regex/Pattern;
2019-02-22 00:19:04 +00:00
2019-07-10 21:18:28 +00:00
.field static final bEj:Ljava/util/regex/Pattern;
2019-05-22 23:20:16 +00:00
2019-02-04 20:08:30 +00:00
# instance fields
2019-07-10 21:18:28 +00:00
.field private final bDQ:Lokhttp3/s;
2019-06-25 01:04:50 +00:00
2019-07-10 21:18:28 +00:00
.field private final bDR:Ljava/lang/String;
2019-06-25 01:04:50 +00:00
2019-07-10 21:18:28 +00:00
.field private final bDU:Z
2019-06-25 01:04:50 +00:00
2019-07-10 21:18:28 +00:00
.field final bEb:Lokhttp3/e$a;
2019-06-25 01:04:50 +00:00
2019-07-10 21:18:28 +00:00
.field final bEk:Lb/c;
2019-05-04 02:59:52 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-05-14 21:53:09 +00:00
"Lb/c<",
"TR;TT;>;"
2019-05-04 02:59:52 +00:00
}
.end annotation
.end field
2019-07-10 21:18:28 +00:00
.field final bEl:Lb/e;
2019-05-03 18:53:54 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-05-14 21:53:09 +00:00
"Lb/e<",
"Lokhttp3/x;",
"TR;>;"
2019-05-03 18:53:54 +00:00
}
.end annotation
.end field
2019-07-10 21:18:28 +00:00
.field private final bEm:Ljava/lang/String;
2019-05-14 21:53:09 +00:00
2019-07-10 21:18:28 +00:00
.field private final bEn:Z
2019-05-14 21:53:09 +00:00
2019-07-10 21:18:28 +00:00
.field private final bEo:Z
2019-05-22 23:20:16 +00:00
2019-07-10 21:18:28 +00:00
.field private final bEp:[Lb/j;
2019-05-01 06:16:59 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
2019-05-14 21:53:09 +00:00
"[",
"Lb/j<",
"*>;"
2019-05-01 06:16:59 +00:00
}
.end annotation
.end field
2019-07-10 21:18:28 +00:00
.field private final bqS:Lokhttp3/MediaType;
2019-05-08 22:54:48 +00:00
2019-07-10 21:18:28 +00:00
.field private final bqV:Lokhttp3/Headers;
2019-02-04 20:42:43 +00:00
2019-02-04 20:08:30 +00:00
# direct methods
.method static constructor <clinit>()V
.locals 1
const-string v0, "\\{([a-zA-Z][a-zA-Z0-9_-]*)\\}"
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
move-result-object v0
2019-07-10 21:18:28 +00:00
sput-object v0, Lb/o;->bEi:Ljava/util/regex/Pattern;
2019-02-04 20:08:30 +00:00
const-string v0, "[a-zA-Z][a-zA-Z0-9_-]*"
invoke-static {v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;)Ljava/util/regex/Pattern;
move-result-object v0
2019-07-10 21:18:28 +00:00
sput-object v0, Lb/o;->bEj:Ljava/util/regex/Pattern;
2019-02-04 20:08:30 +00:00
return-void
.end method
.method constructor <init>(Lb/o$a;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lb/o$a<",
"TR;TT;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-07-10 21:18:28 +00:00
iget-object v0, p1, Lb/o$a;->bEq:Lb/n;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object v0, v0, Lb/n;->bEb:Lokhttp3/e$a;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iput-object v0, p0, Lb/o;->bEb:Lokhttp3/e$a;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object v0, p1, Lb/o$a;->bEk:Lb/c;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iput-object v0, p0, Lb/o;->bEk:Lb/c;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object v0, p1, Lb/o$a;->bEq:Lb/n;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object v0, v0, Lb/n;->bDQ:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iput-object v0, p0, Lb/o;->bDQ:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object v0, p1, Lb/o$a;->bEl:Lb/e;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iput-object v0, p0, Lb/o;->bEl:Lb/e;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object v0, p1, Lb/o$a;->bEm:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iput-object v0, p0, Lb/o;->bEm:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object v0, p1, Lb/o$a;->bDR:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iput-object v0, p0, Lb/o;->bDR:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object v0, p1, Lb/o$a;->bqV:Lokhttp3/Headers;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iput-object v0, p0, Lb/o;->bqV:Lokhttp3/Headers;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object v0, p1, Lb/o$a;->bqS:Lokhttp3/MediaType;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iput-object v0, p0, Lb/o;->bqS:Lokhttp3/MediaType;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-boolean v0, p1, Lb/o$a;->bDU:Z
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iput-boolean v0, p0, Lb/o;->bDU:Z
2019-05-04 02:59:52 +00:00
2019-07-10 21:18:28 +00:00
iget-boolean v0, p1, Lb/o$a;->bEn:Z
2019-02-22 00:19:04 +00:00
2019-07-10 21:18:28 +00:00
iput-boolean v0, p0, Lb/o;->bEn:Z
2019-02-22 00:19:04 +00:00
2019-07-10 21:18:28 +00:00
iget-boolean v0, p1, Lb/o$a;->bEo:Z
2019-05-22 23:20:16 +00:00
2019-07-10 21:18:28 +00:00
iput-boolean v0, p0, Lb/o;->bEo:Z
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object p1, p1, Lb/o$a;->bEp:[Lb/j;
2019-05-22 23:20:16 +00:00
2019-07-10 21:18:28 +00:00
iput-object p1, p0, Lb/o;->bEp:[Lb/j;
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-05-03 18:53:54 +00:00
.method static Y(Ljava/lang/Class;)Ljava/lang/Class;
2019-02-04 20:08:30 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;)",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
sget-object v0, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;
if-ne v0, p0, :cond_0
const-class p0, Ljava/lang/Boolean;
return-object p0
:cond_0
sget-object v0, Ljava/lang/Byte;->TYPE:Ljava/lang/Class;
if-ne v0, p0, :cond_1
const-class p0, Ljava/lang/Byte;
return-object p0
:cond_1
sget-object v0, Ljava/lang/Character;->TYPE:Ljava/lang/Class;
if-ne v0, p0, :cond_2
const-class p0, Ljava/lang/Character;
return-object p0
:cond_2
sget-object v0, Ljava/lang/Double;->TYPE:Ljava/lang/Class;
if-ne v0, p0, :cond_3
const-class p0, Ljava/lang/Double;
return-object p0
:cond_3
sget-object v0, Ljava/lang/Float;->TYPE:Ljava/lang/Class;
if-ne v0, p0, :cond_4
const-class p0, Ljava/lang/Float;
return-object p0
:cond_4
sget-object v0, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
if-ne v0, p0, :cond_5
const-class p0, Ljava/lang/Integer;
return-object p0
:cond_5
sget-object v0, Ljava/lang/Long;->TYPE:Ljava/lang/Class;
if-ne v0, p0, :cond_6
const-class p0, Ljava/lang/Long;
return-object p0
:cond_6
sget-object v0, Ljava/lang/Short;->TYPE:Ljava/lang/Class;
if-ne v0, p0, :cond_7
const-class p0, Ljava/lang/Short;
:cond_7
return-object p0
.end method
2019-07-10 21:18:28 +00:00
.method static fc(Ljava/lang/String;)Ljava/util/Set;
2019-02-04 20:08:30 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
")",
"Ljava/util/Set<",
"Ljava/lang/String;",
">;"
}
.end annotation
2019-07-10 21:18:28 +00:00
sget-object v0, Lb/o;->bEi:Ljava/util/regex/Pattern;
2019-02-04 20:08:30 +00:00
invoke-virtual {v0, p0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
move-result-object p0
new-instance v0, Ljava/util/LinkedHashSet;
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
:goto_0
invoke-virtual {p0}, Ljava/util/regex/Matcher;->find()Z
move-result v1
if-eqz v1, :cond_0
const/4 v1, 0x1
invoke-virtual {p0, v1}, Ljava/util/regex/Matcher;->group(I)Ljava/lang/String;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
return-object v0
.end method
# virtual methods
2019-06-01 02:00:00 +00:00
.method final varargs q([Ljava/lang/Object;)Lokhttp3/w;
2019-02-04 20:08:30 +00:00
.locals 10
.param p1 # [Ljava/lang/Object;
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
new-instance v9, Lb/l;
2019-07-10 21:18:28 +00:00
iget-object v1, p0, Lb/o;->bEm:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object v2, p0, Lb/o;->bDQ:Lokhttp3/s;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object v3, p0, Lb/o;->bDR:Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object v4, p0, Lb/o;->bqV:Lokhttp3/Headers;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-object v5, p0, Lb/o;->bqS:Lokhttp3/MediaType;
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-boolean v6, p0, Lb/o;->bDU:Z
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-boolean v7, p0, Lb/o;->bEn:Z
2019-02-04 20:08:30 +00:00
2019-07-10 21:18:28 +00:00
iget-boolean v8, p0, Lb/o;->bEo:Z
2019-02-04 20:08:30 +00:00
move-object v0, v9
invoke-direct/range {v0 .. v8}, Lb/l;-><init>(Ljava/lang/String;Lokhttp3/s;Ljava/lang/String;Lokhttp3/Headers;Lokhttp3/MediaType;ZZZ)V
2019-07-10 21:18:28 +00:00
iget-object v0, p0, Lb/o;->bEp:[Lb/j;
2019-02-04 20:08:30 +00:00
const/4 v1, 0x0
if-eqz p1, :cond_0
array-length v2, p1
goto :goto_0
:cond_0
const/4 v2, 0x0
:goto_0
array-length v3, v0
if-ne v2, v3, :cond_2
:goto_1
if-ge v1, v2, :cond_1
aget-object v3, v0, v1
aget-object v4, p1, v1
invoke-virtual {v3, v9, v4}, Lb/j;->a(Lb/l;Ljava/lang/Object;)V
add-int/lit8 v1, v1, 0x1
goto :goto_1
:cond_1
2019-07-10 21:18:28 +00:00
invoke-virtual {v9}, Lb/l;->GG()Lokhttp3/w;
2019-02-04 20:08:30 +00:00
move-result-object p1
return-object p1
:cond_2
new-instance p1, Ljava/lang/IllegalArgumentException;
new-instance v1, Ljava/lang/StringBuilder;
const-string v3, "Argument count ("
invoke-direct {v1, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v2, ") doesn\'t match expected count ("
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
array-length v0, v0
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v0, ")"
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
2019-05-22 23:20:16 +00:00
goto :goto_3
:goto_2
2019-02-04 20:08:30 +00:00
throw p1
2019-02-04 20:29:01 +00:00
2019-05-22 23:20:16 +00:00
:goto_3
goto :goto_2
2019-02-04 20:08:30 +00:00
.end method