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

298 lines
6 KiB
Smali
Raw Normal View History

2020-07-23 01:06:17 +00:00
.class public final Lq0/r$b;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
.source "Utils.java"
# interfaces
.implements Ljava/lang/reflect/ParameterizedType;
# 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 = "b"
.end annotation
# instance fields
.field public final d:Ljava/lang/reflect/Type;
.field public final e:Ljava/lang/reflect/Type;
.field public final f:[Ljava/lang/reflect/Type;
# direct methods
.method public varargs constructor <init>(Ljava/lang/reflect/Type;Ljava/lang/reflect/Type;[Ljava/lang/reflect/Type;)V
.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-07-23 01:06:17 +00:00
invoke-static {v2, v3}, Lq0/r;->b(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v2}, Lq0/r;->c(Ljava/lang/reflect/Type;)V
2020-05-17 12:40:10 +00:00
add-int/lit8 v1, v1, 0x1
goto :goto_3
:cond_4
2020-07-23 01:06:17 +00:00
iput-object p1, p0, Lq0/r$b;->d:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
iput-object p2, p0, Lq0/r$b;->e:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +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-07-23 01:06:17 +00:00
iput-object p1, p0, Lq0/r$b;->f:[Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.locals 1
instance-of v0, p1, Ljava/lang/reflect/ParameterizedType;
if-eqz v0, :cond_0
check-cast p1, Ljava/lang/reflect/ParameterizedType;
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 getActualTypeArguments()[Ljava/lang/reflect/Type;
.locals 1
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lq0/r$b;->f:[Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +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
.method public getOwnerType()Ljava/lang/reflect/Type;
.locals 1
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lq0/r$b;->d:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
return-object v0
.end method
.method public getRawType()Ljava/lang/reflect/Type;
.locals 1
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lq0/r$b;->e:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
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$b;->f:[Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
invoke-static {v0}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
move-result v0
2020-07-23 01:06:17 +00:00
iget-object v1, p0, Lq0/r$b;->e:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
xor-int/2addr v0, v1
2020-07-23 01:06:17 +00:00
iget-object v1, p0, Lq0/r$b;->d:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
if-eqz v1, :cond_0
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
2020-05-17 12:40:10 +00:00
move-result v1
2020-07-08 16:44:49 +00:00
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
2020-05-17 12:40:10 +00:00
xor-int/2addr v0, v1
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 4
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lq0/r$b;->f:[Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
array-length v1, v0
if-nez v1, :cond_0
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lq0/r$b;->e:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v0}, Lq0/r;->l(Ljava/lang/reflect/Type;)Ljava/lang/String;
2020-05-17 12:40:10 +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-07-23 01:06:17 +00:00
iget-object v0, p0, Lq0/r$b;->e:Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
2020-07-23 01:06:17 +00:00
invoke-static {v0}, Lq0/r;->l(Ljava/lang/reflect/Type;)Ljava/lang/String;
2020-05-17 12:40:10 +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-07-23 01:06:17 +00:00
iget-object v0, p0, Lq0/r$b;->f:[Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
const/4 v3, 0x0
aget-object v0, v0, v3
2020-07-23 01:06:17 +00:00
invoke-static {v0}, Lq0/r;->l(Ljava/lang/reflect/Type;)Ljava/lang/String;
2020-05-17 12:40:10 +00:00
move-result-object v0
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:goto_0
2020-07-23 01:06:17 +00:00
iget-object v0, p0, Lq0/r$b;->f:[Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +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-07-23 01:06:17 +00:00
iget-object v0, p0, Lq0/r$b;->f:[Ljava/lang/reflect/Type;
2020-05-17 12:40:10 +00:00
aget-object v0, v0, v2
2020-07-23 01:06:17 +00:00
invoke-static {v0}, Lq0/r;->l(Ljava/lang/reflect/Type;)Ljava/lang/String;
2020-05-17 12:40:10 +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