apkfuckery/com.discord/smali_classes2/y/s$c.smali
2019-12-06 04:29:40 +01:00

284 lines
5.4 KiB
Smali

.class public final Ly/s$c;
.super Ljava/lang/Object;
.source "Utils.java"
# interfaces
.implements Ljava/lang/reflect/WildcardType;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Ly/s;
.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
.locals 4
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
if-ne v1, v2, :cond_2
aget-object v1, p2, v3
if-eqz v1, :cond_1
aget-object v1, p2, v3
invoke-static {v1}, Ly/s;->a(Ljava/lang/reflect/Type;)V
aget-object p1, p1, v3
if-ne p1, v0, :cond_0
aget-object p1, p2, v3
iput-object p1, p0, Ly/s$c;->e:Ljava/lang/reflect/Type;
iput-object v0, p0, Ly/s$c;->d:Ljava/lang/reflect/Type;
goto :goto_0
: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
aget-object p2, p1, v3
if-eqz p2, :cond_3
aget-object p2, p1, v3
invoke-static {p2}, Ly/s;->a(Ljava/lang/reflect/Type;)V
const/4 p2, 0x0
iput-object p2, p0, Ly/s$c;->e:Ljava/lang/reflect/Type;
aget-object p1, p1, v3
iput-object p1, p0, Ly/s$c;->d:Ljava/lang/reflect/Type;
:goto_0
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
: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;
invoke-static {p0, p1}, Ly/s;->a(Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;)Z
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
iget-object v0, p0, Ly/s$c;->e:Ljava/lang/reflect/Type;
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
sget-object v1, Ly/s;->a:[Ljava/lang/reflect/Type;
: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;
iget-object v1, p0, Ly/s$c;->d:Ljava/lang/reflect/Type;
const/4 v2, 0x0
aput-object v1, v0, v2
return-object v0
.end method
.method public hashCode()I
.locals 2
iget-object v0, p0, Ly/s$c;->e:Ljava/lang/reflect/Type;
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
iget-object v1, p0, Ly/s$c;->d:Ljava/lang/reflect/Type;
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
iget-object v0, p0, Ly/s$c;->e:Ljava/lang/reflect/Type;
if-eqz v0, :cond_0
const-string v0, "? super "
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Ly/s$c;->e:Ljava/lang/reflect/Type;
invoke-static {v1}, Ly/s;->e(Ljava/lang/reflect/Type;)Ljava/lang/String;
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
iget-object v0, p0, Ly/s$c;->d:Ljava/lang/reflect/Type;
const-class v1, Ljava/lang/Object;
if-ne v0, v1, :cond_1
const-string v0, "?"
return-object v0
:cond_1
const-string v0, "? extends "
invoke-static {v0}, Le/e/b/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object v1, p0, Ly/s$c;->d:Ljava/lang/reflect/Type;
invoke-static {v1}, Ly/s;->e(Ljava/lang/reflect/Type;)Ljava/lang/String;
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