apkfuckery/com.discord/smali_classes2/q0/r$c.smali

277 lines
5.2 KiB
Smali
Raw Normal View History

2020-07-23 01:06:17 +00:00
.class public final Lq0/r$c;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
.source "Utils.java"
# interfaces
.implements Ljava/lang/reflect/WildcardType;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-07-23 01:06:17 +00:00
value = Lq0/r;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "c"
.end annotation
# instance fields
.field public final d:Ljava/lang/reflect/Type;
.field public final e:Ljava/lang/reflect/Type;
# direct methods
.method public constructor <init>([Ljava/lang/reflect/Type;[Ljava/lang/reflect/Type;)V
2020-07-08 16:44:49 +00:00
.locals 5
2020-05-17 12:40:10 +00:00
const-class v0, Ljava/lang/Object;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
array-length v1, p2
const/4 v2, 0x1
if-gt v1, v2, :cond_5
array-length v1, p1
if-ne v1, v2, :cond_4
array-length v1, p2
const/4 v3, 0x0
2020-07-08 16:44:49 +00:00
const/4 v4, 0x0
2020-05-17 12:40:10 +00:00
if-ne v1, v2, :cond_2
2020-07-08 16:44:49 +00:00
aget-object v1, p2, v4
2020-05-17 12:40:10 +00:00
if-eqz v1, :cond_1
2020-07-08 16:44:49 +00:00
aget-object v1, p2, v4
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v1}, Lq0/r;->c(Ljava/lang/reflect/Type;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
aget-object p1, p1, v4
2020-05-17 12:40:10 +00:00
if-ne p1, v0, :cond_0
2020-07-08 16:44:49 +00:00
aget-object p1, p2, v4
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object p1, p0, Lq0/r$c;->e:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object v0, p0, Lq0/r$c;->d:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
goto :goto_0
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p1
:cond_1
2020-07-08 16:44:49 +00:00
throw v3
2020-05-17 12:40:10 +00:00
:cond_2
2020-07-08 16:44:49 +00:00
aget-object p2, p1, v4
2020-05-17 12:40:10 +00:00
if-eqz p2, :cond_3
2020-07-08 16:44:49 +00:00
aget-object p2, p1, v4
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {p2}, Lq0/r;->c(Ljava/lang/reflect/Type;)V
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object v3, p0, Lq0/r$c;->e:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
aget-object p1, p1, v4
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object p1, p0, Lq0/r$c;->d:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
:goto_0
return-void
:cond_3
2020-07-08 16:44:49 +00:00
throw v3
2020-05-17 12:40:10 +00:00
:cond_4
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p1
:cond_5
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p1
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 1
instance-of v0, p1, Ljava/lang/reflect/WildcardType;
if-eqz v0, :cond_0
check-cast p1, Ljava/lang/reflect/WildcardType;
2020-07-23 01:06:17 +00:00
invoke-static {p0, p1}, Lq0/r;->d(Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;)Z
2020-05-17 12:40:10 +00:00
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return p1
.end method
.method public getLowerBounds()[Ljava/lang/reflect/Type;
.locals 3
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lq0/r$c;->e:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +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
goto :goto_0
:cond_0
2020-07-23 01:06:17 +00:00
sget-object v1, Lq0/r;->a:[Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
:goto_0
return-object v1
.end method
.method public getUpperBounds()[Ljava/lang/reflect/Type;
.locals 3
const/4 v0, 0x1
new-array v0, v0, [Ljava/lang/reflect/Type;
2020-07-23 01:06:17 +00:00
iget-object v1, p0, Lq0/r$c;->d:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
const/4 v2, 0x0
aput-object v1, v0, v2
return-object v0
.end method
.method public hashCode()I
.locals 2
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lq0/r$c;->e:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +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-07-23 01:06:17 +00:00
iget-object v1, p0, Lq0/r$c;->d:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +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
.method public toString()Ljava/lang/String;
.locals 2
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lq0/r$c;->e:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
if-eqz v0, :cond_0
const-string v0, "? super "
2020-07-14 22:43:59 +00:00
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-17 12:40:10 +00:00
move-result-object v0
2020-07-23 01:06:17 +00:00
iget-object v1, p0, Lq0/r$c;->e:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v1}, Lq0/r;->l(Ljava/lang/reflect/Type;)Ljava/lang/String;
2020-05-17 12:40:10 +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-07-23 01:06:17 +00:00
iget-object v0, p0, Lq0/r$c;->d:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
const-class v1, Ljava/lang/Object;
if-ne v0, v1, :cond_1
const-string v0, "?"
return-object v0
:cond_1
const-string v0, "? extends "
2020-07-14 22:43:59 +00:00
invoke-static {v0}, Lf/e/b/a/a;->D(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-05-17 12:40:10 +00:00
move-result-object v0
2020-07-23 01:06:17 +00:00
iget-object v1, p0, Lq0/r$c;->d:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v1}, Lq0/r;->l(Ljava/lang/reflect/Type;)Ljava/lang/String;
2020-05-17 12:40:10 +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