apkfuckery/com.discord/smali_classes2/e0/s$c.smali

285 lines
5.4 KiB
Smali
Raw Normal View History

2020-04-27 20:53:11 +00:00
.class public final Le0/s$c;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "Utils.java"
# interfaces
.implements Ljava/lang/reflect/WildcardType;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-04-27 20:53:11 +00:00
value = Le0/s;
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x19
2019-07-24 11:27:29 +00:00
name = "c"
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final d:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
.field public final e:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>([Ljava/lang/reflect/Type;[Ljava/lang/reflect/Type;)V
.locals 4
const-class v0, Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-12-06 03:29:40 +00:00
array-length v1, p2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v2, 0x1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-gt v1, v2, :cond_5
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
array-length v1, p1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ne v1, v2, :cond_4
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
array-length v1, p2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const/4 v3, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ne v1, v2, :cond_2
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aget-object v1, p2, v3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-eqz v1, :cond_1
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aget-object v1, p2, v3
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v1}, Le0/s;->a(Ljava/lang/reflect/Type;)V
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aget-object p1, p1, v3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-ne p1, v0, :cond_0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aget-object p1, p2, v3
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
iput-object p1, p0, Le0/s$c;->e:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
iput-object v0, p0, Le0/s$c;->d:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p1
:cond_1
new-instance p1, Ljava/lang/NullPointerException;
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
throw p1
:cond_2
2019-12-06 03:29:40 +00:00
aget-object p2, p1, v3
2019-07-24 11:27:29 +00:00
if-eqz p2, :cond_3
2019-12-06 03:29:40 +00:00
aget-object p2, p1, v3
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {p2}, Le0/s;->a(Ljava/lang/reflect/Type;)V
2019-07-24 11:27:29 +00:00
const/4 p2, 0x0
2020-04-27 20:53:11 +00:00
iput-object p2, p0, Le0/s$c;->e:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
aget-object p1, p1, v3
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
iput-object p1, p0, Le0/s$c;->d:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return-void
:cond_3
new-instance p1, Ljava/lang/NullPointerException;
invoke-direct {p1}, Ljava/lang/NullPointerException;-><init>()V
throw p1
:cond_4
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p1
2019-12-06 03:29:40 +00:00
:cond_5
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p1
2019-07-24 11:27:29 +00:00
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public equals(Ljava/lang/Object;)Z
2019-07-24 11:27:29 +00:00
.locals 1
instance-of v0, p1, Ljava/lang/reflect/WildcardType;
if-eqz v0, :cond_0
check-cast p1, Ljava/lang/reflect/WildcardType;
2020-04-27 20:53:11 +00:00
invoke-static {p0, p1}, Le0/s;->a(Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;)Z
2019-07-24 11:27:29 +00:00
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x1
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
const/4 p1, 0x0
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return p1
.end method
2019-12-06 03:29:40 +00:00
.method public getLowerBounds()[Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
.locals 3
2020-04-27 20:53:11 +00:00
iget-object v0, p0, Le0/s$c;->e:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
const/4 v1, 0x1
new-array v1, v1, [Ljava/lang/reflect/Type;
const/4 v2, 0x0
aput-object v0, v1, v2
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
2020-04-27 20:53:11 +00:00
sget-object v1, Le0/s;->a:[Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
:goto_0
return-object v1
2019-07-24 11:27:29 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public getUpperBounds()[Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
.locals 3
const/4 v0, 0x1
new-array v0, v0, [Ljava/lang/reflect/Type;
2020-04-27 20:53:11 +00:00
iget-object v1, p0, Le0/s$c;->d:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
const/4 v2, 0x0
aput-object v1, v0, v2
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public hashCode()I
2019-07-24 11:27:29 +00:00
.locals 2
2020-04-27 20:53:11 +00:00
iget-object v0, p0, Le0/s$c;->e:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
add-int/lit8 v0, v0, 0x1f
goto :goto_0
:cond_0
const/4 v0, 0x1
:goto_0
2020-04-27 20:53:11 +00:00
iget-object v1, p0, Le0/s$c;->d:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
add-int/lit8 v1, v1, 0x1f
xor-int/2addr v0, v1
return v0
.end method
2019-12-06 03:29:40 +00:00
.method public toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
.locals 2
2020-04-27 20:53:11 +00:00
iget-object v0, p0, Le0/s$c;->e:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
if-eqz v0, :cond_0
2019-12-06 03:29:40 +00:00
const-string v0, "? super "
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
iget-object v1, p0, Le0/s$c;->e:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v1}, Le0/s;->e(Ljava/lang/reflect/Type;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
:cond_0
2020-04-27 20:53:11 +00:00
iget-object v0, p0, Le0/s$c;->d:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
const-class v1, Ljava/lang/Object;
if-ne v0, v1, :cond_1
const-string v0, "?"
return-object v0
:cond_1
2019-12-06 03:29:40 +00:00
const-string v0, "? extends "
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
move-result-object v0
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
iget-object v1, p0, Le0/s$c;->d:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
2020-04-27 20:53:11 +00:00
invoke-static {v1}, Le0/s;->e(Ljava/lang/reflect/Type;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method