Changes of com.discord v1310
This commit is contained in:
parent
035b2cdcc3
commit
d70f53b4ee
12694 changed files with 705789 additions and 726053 deletions
|
@ -1,120 +1,99 @@
|
|||
.class public final Lg0/i;
|
||||
.super Lc0/n/c/k;
|
||||
.source "CertificatePinner.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lkotlin/jvm/functions/Function0;
|
||||
.super Lg0/e$a;
|
||||
.source "DefaultCallAdapterFactory.java"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
"Lc0/n/c/k;",
|
||||
"Lkotlin/jvm/functions/Function0<",
|
||||
"Ljava/util/List<",
|
||||
"+",
|
||||
"Ljava/security/cert/X509Certificate;",
|
||||
">;>;"
|
||||
Lg0/i$b;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic $hostname:Ljava/lang/String;
|
||||
|
||||
.field public final synthetic $peerCertificates:Ljava/util/List;
|
||||
|
||||
.field public final synthetic this$0:Lg0/h;
|
||||
.field public final a:Ljava/util/concurrent/Executor;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Lg0/h;Ljava/util/List;Ljava/lang/String;)V
|
||||
.method public constructor <init>(Ljava/util/concurrent/Executor;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Lg0/i;->this$0:Lg0/h;
|
||||
invoke-direct {p0}, Lg0/e$a;-><init>()V
|
||||
|
||||
iput-object p2, p0, Lg0/i;->$peerCertificates:Ljava/util/List;
|
||||
|
||||
iput-object p3, p0, Lg0/i;->$hostname:Ljava/lang/String;
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
invoke-direct {p0, p1}, Lc0/n/c/k;-><init>(I)V
|
||||
iput-object p1, p0, Lg0/i;->a:Ljava/util/concurrent/Executor;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public invoke()Ljava/lang/Object;
|
||||
.locals 3
|
||||
.method public a(Ljava/lang/reflect/Type;[Ljava/lang/annotation/Annotation;Lg0/d0;)Lg0/e;
|
||||
.locals 2
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"(",
|
||||
"Ljava/lang/reflect/Type;",
|
||||
"[",
|
||||
"Ljava/lang/annotation/Annotation;",
|
||||
"Lg0/d0;",
|
||||
")",
|
||||
"Lg0/e<",
|
||||
"**>;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
iget-object v0, p0, Lg0/i;->this$0:Lg0/h;
|
||||
invoke-static {p1}, Lg0/h0;->f(Ljava/lang/reflect/Type;)Ljava/lang/Class;
|
||||
|
||||
iget-object v0, v0, Lg0/h;->b:Lg0/h0/m/c;
|
||||
move-result-object p3
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
const-class v0, Lg0/d;
|
||||
|
||||
iget-object v1, p0, Lg0/i;->$peerCertificates:Ljava/util/List;
|
||||
const/4 v1, 0x0
|
||||
|
||||
iget-object v2, p0, Lg0/i;->$hostname:Ljava/lang/String;
|
||||
if-eq p3, v0, :cond_0
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lg0/h0/m/c;->a(Ljava/util/List;Ljava/lang/String;)Ljava/util/List;
|
||||
return-object v1
|
||||
|
||||
move-result-object v0
|
||||
:cond_0
|
||||
instance-of p3, p1, Ljava/lang/reflect/ParameterizedType;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
if-eqz p3, :cond_2
|
||||
|
||||
const/4 p3, 0x0
|
||||
|
||||
check-cast p1, Ljava/lang/reflect/ParameterizedType;
|
||||
|
||||
invoke-static {p3, p1}, Lg0/h0;->e(ILjava/lang/reflect/ParameterizedType;)Ljava/lang/reflect/Type;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
const-class p3, Lg0/f0;
|
||||
|
||||
invoke-static {p2, p3}, Lg0/h0;->i([Ljava/lang/annotation/Annotation;Ljava/lang/Class;)Z
|
||||
|
||||
move-result p2
|
||||
|
||||
if-eqz p2, :cond_1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
iget-object v0, p0, Lg0/i;->$peerCertificates:Ljava/util/List;
|
||||
:cond_1
|
||||
iget-object v1, p0, Lg0/i;->a:Ljava/util/concurrent/Executor;
|
||||
|
||||
:goto_0
|
||||
new-instance v1, Ljava/util/ArrayList;
|
||||
new-instance p2, Lg0/i$a;
|
||||
|
||||
const/16 v2, 0xa
|
||||
invoke-direct {p2, p0, p1, v1}, Lg0/i$a;-><init>(Lg0/i;Ljava/lang/reflect/Type;Ljava/util/concurrent/Executor;)V
|
||||
|
||||
invoke-static {v0, v2}, Lf/h/a/f/f/n/f;->collectionSizeOrDefault(Ljava/lang/Iterable;I)I
|
||||
|
||||
move-result v2
|
||||
|
||||
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
|
||||
|
||||
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:goto_1
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
||||
|
||||
move-result v2
|
||||
|
||||
if-eqz v2, :cond_2
|
||||
|
||||
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
check-cast v2, Ljava/security/cert/Certificate;
|
||||
|
||||
if-eqz v2, :cond_1
|
||||
|
||||
check-cast v2, Ljava/security/cert/X509Certificate;
|
||||
|
||||
invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_1
|
||||
new-instance v0, Lkotlin/TypeCastException;
|
||||
|
||||
const-string v1, "null cannot be cast to non-null type java.security.cert.X509Certificate"
|
||||
|
||||
invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
return-object p2
|
||||
|
||||
:cond_2
|
||||
return-object v1
|
||||
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||||
|
||||
const-string p2, "Call return type must be parameterized as Call<Foo> or Call<? extends Foo>"
|
||||
|
||||
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue