apkfuckery/com.discord/smali_classes2/d0/s$b.smali

290 lines
5.9 KiB
Smali
Raw Normal View History

2020-03-26 23:31:08 +00:00
.class public final Ld0/s$b;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "Utils.java"
# interfaces
.implements Ljava/lang/reflect/ParameterizedType;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-03-26 23:31:08 +00:00
value = Ld0/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 = "b"
.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
2019-12-06 03:29:40 +00:00
.field public final f:[Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public varargs constructor <init>(Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;[Ljava/lang/reflect/Type;)V
2019-07-24 11:27:29 +00:00
.locals 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
instance-of v0, p2, Ljava/lang/Class;
const/4 v1, 0x0
if-eqz v0, :cond_3
const/4 v0, 0x1
if-nez p1, :cond_0
const/4 v2, 0x1
goto :goto_0
:cond_0
const/4 v2, 0x0
:goto_0
move-object v3, p2
check-cast v3, Ljava/lang/Class;
invoke-virtual {v3}, Ljava/lang/Class;->getEnclosingClass()Ljava/lang/Class;
move-result-object v3
if-nez v3, :cond_1
goto :goto_1
:cond_1
const/4 v0, 0x0
:goto_1
if-ne v2, v0, :cond_2
goto :goto_2
:cond_2
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p1
:cond_3
:goto_2
array-length v0, p3
:goto_3
if-ge v1, v0, :cond_4
aget-object v2, p3, v1
const-string v3, "typeArgument == null"
2020-03-26 23:31:08 +00:00
invoke-static {v2, v3}, Ld0/s;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2020-03-26 23:31:08 +00:00
invoke-static {v2}, Ld0/s;->a(Ljava/lang/reflect/Type;)V
2019-07-24 11:27:29 +00:00
add-int/lit8 v1, v1, 0x1
goto :goto_3
:cond_4
2020-03-26 23:31:08 +00:00
iput-object p1, p0, Ld0/s$b;->d:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
2020-03-26 23:31:08 +00:00
iput-object p2, p0, Ld0/s$b;->e:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
invoke-virtual {p3}, [Ljava/lang/reflect/Type;->clone()Ljava/lang/Object;
move-result-object p1
check-cast p1, [Ljava/lang/reflect/Type;
2020-03-26 23:31:08 +00:00
iput-object p1, p0, Ld0/s$b;->f:[Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
return-void
.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/ParameterizedType;
if-eqz v0, :cond_0
check-cast p1, Ljava/lang/reflect/ParameterizedType;
2020-03-26 23:31:08 +00:00
invoke-static {p0, p1}, Ld0/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 getActualTypeArguments()[Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
.locals 1
2020-03-26 23:31:08 +00:00
iget-object v0, p0, Ld0/s$b;->f:[Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, [Ljava/lang/reflect/Type;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Ljava/lang/reflect/Type;
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public getOwnerType()Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
.locals 1
2020-03-26 23:31:08 +00:00
iget-object v0, p0, Ld0/s$b;->d:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2019-12-06 03:29:40 +00:00
.method public getRawType()Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
.locals 1
2020-03-26 23:31:08 +00:00
iget-object v0, p0, Ld0/s$b;->e:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
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-03-26 23:31:08 +00:00
iget-object v0, p0, Ld0/s$b;->f:[Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
invoke-static {v0}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
move-result v0
2020-03-26 23:31:08 +00:00
iget-object v1, p0, Ld0/s$b;->e:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
xor-int/2addr v0, v1
2020-03-26 23:31:08 +00:00
iget-object v1, p0, Ld0/s$b;->d:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
2020-03-26 23:31:08 +00:00
invoke-static {v1}, Ld0/s;->a(Ljava/lang/Object;)I
2019-07-24 11:27:29 +00:00
move-result v1
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 4
2020-03-26 23:31:08 +00:00
iget-object v0, p0, Ld0/s$b;->f:[Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
array-length v1, v0
if-nez v1, :cond_0
2020-03-26 23:31:08 +00:00
iget-object v0, p0, Ld0/s$b;->e:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
2020-03-26 23:31:08 +00:00
invoke-static {v0}, Ld0/s;->e(Ljava/lang/reflect/Type;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v0
return-object v0
:cond_0
new-instance v1, Ljava/lang/StringBuilder;
array-length v0, v0
const/4 v2, 0x1
add-int/2addr v0, v2
mul-int/lit8 v0, v0, 0x1e
invoke-direct {v1, v0}, Ljava/lang/StringBuilder;-><init>(I)V
2020-03-26 23:31:08 +00:00
iget-object v0, p0, Ld0/s$b;->e:Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
2020-03-26 23:31:08 +00:00
invoke-static {v0}, Ld0/s;->e(Ljava/lang/reflect/Type;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v0
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, "<"
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-03-26 23:31:08 +00:00
iget-object v0, p0, Ld0/s$b;->f:[Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
const/4 v3, 0x0
aget-object v0, v0, v3
2020-03-26 23:31:08 +00:00
invoke-static {v0}, Ld0/s;->e(Ljava/lang/reflect/Type;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v0
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:goto_0
2020-03-26 23:31:08 +00:00
iget-object v0, p0, Ld0/s$b;->f:[Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
array-length v0, v0
if-ge v2, v0, :cond_1
const-string v0, ", "
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2020-03-26 23:31:08 +00:00
iget-object v0, p0, Ld0/s$b;->f:[Ljava/lang/reflect/Type;
2019-07-24 11:27:29 +00:00
aget-object v0, v0, v2
2020-03-26 23:31:08 +00:00
invoke-static {v0}, Ld0/s;->e(Ljava/lang/reflect/Type;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v0
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
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
return-object v0
.end method