apkfuckery/com.discord/smali/kotlin/jvm/internal/j.smali

366 lines
7.6 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public Lkotlin/jvm/internal/j;
2019-05-22 23:20:16 +00:00
.super Lkotlin/jvm/internal/c;
.source "FunctionReference.java"
# interfaces
.implements Lkotlin/jvm/internal/i;
.implements Lkotlin/reflect/KFunction;
# instance fields
.field private final arity:I
2019-02-04 20:08:30 +00:00
# direct methods
2019-05-22 23:20:16 +00:00
.method public constructor <init>(I)V
.locals 0
invoke-direct {p0}, Lkotlin/jvm/internal/c;-><init>()V
iput p1, p0, Lkotlin/jvm/internal/j;->arity:I
return-void
.end method
.method public constructor <init>(ILjava/lang/Object;)V
2019-02-04 20:08:30 +00:00
.locals 0
2019-05-22 23:20:16 +00:00
invoke-direct {p0, p2}, Lkotlin/jvm/internal/c;-><init>(Ljava/lang/Object;)V
iput p1, p0, Lkotlin/jvm/internal/j;->arity:I
2019-02-04 20:08:30 +00:00
return-void
.end method
2019-05-22 23:20:16 +00:00
# virtual methods
.method protected computeReflected()Lkotlin/reflect/KCallable;
.locals 1
invoke-static {p0}, Lkotlin/jvm/internal/w;->a(Lkotlin/jvm/internal/j;)Lkotlin/reflect/KFunction;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-05-22 23:20:16 +00:00
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 4
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
const/4 v0, 0x1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
if-ne p1, p0, :cond_0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
return v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
:cond_0
instance-of v1, p1, Lkotlin/jvm/internal/j;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
const/4 v2, 0x0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
if-eqz v1, :cond_3
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
check-cast p1, Lkotlin/jvm/internal/j;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getOwner()Lkotlin/reflect/KDeclarationContainer;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
if-nez v1, :cond_1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p1}, Lkotlin/jvm/internal/j;->getOwner()Lkotlin/reflect/KDeclarationContainer;
move-result-object v1
if-nez v1, :cond_2
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_1
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getOwner()Lkotlin/reflect/KDeclarationContainer;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p1}, Lkotlin/jvm/internal/j;->getOwner()Lkotlin/reflect/KDeclarationContainer;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v3
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {v1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
if-eqz v1, :cond_2
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
:goto_0
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getName()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p1}, Lkotlin/jvm/internal/j;->getName()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v3
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
if-eqz v1, :cond_2
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getSignature()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p1}, Lkotlin/jvm/internal/j;->getSignature()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v3
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
if-eqz v1, :cond_2
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getBoundReceiver()Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p1}, Lkotlin/jvm/internal/j;->getBoundReceiver()Ljava/lang/Object;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object p1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-static {v1, p1}, Lkotlin/jvm/internal/k;->n(Ljava/lang/Object;Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result p1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
if-eqz p1, :cond_2
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
return v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
:cond_2
return v2
:cond_3
instance-of v0, p1, Lkotlin/reflect/KFunction;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
if-eqz v0, :cond_4
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->compute()Lkotlin/reflect/KCallable;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result p1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
return p1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
:cond_4
return v2
2019-02-04 20:08:30 +00:00
.end method
2019-05-22 23:20:16 +00:00
.method public getArity()I
2019-02-04 20:08:30 +00:00
.locals 1
2019-05-22 23:20:16 +00:00
iget v0, p0, Lkotlin/jvm/internal/j;->arity:I
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
return v0
.end method
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
.method protected bridge synthetic getReflected()Lkotlin/reflect/KCallable;
.locals 1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getReflected()Lkotlin/reflect/KFunction;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
return-object v0
.end method
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
.method protected getReflected()Lkotlin/reflect/KFunction;
.locals 1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-super {p0}, Lkotlin/jvm/internal/c;->getReflected()Lkotlin/reflect/KCallable;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
check-cast v0, Lkotlin/reflect/KFunction;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
return-object v0
.end method
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
.method public hashCode()I
.locals 2
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getOwner()Lkotlin/reflect/KDeclarationContainer;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
if-nez v0, :cond_0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
const/4 v0, 0x0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
goto :goto_0
2019-02-04 20:08:30 +00:00
:cond_0
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getOwner()Lkotlin/reflect/KDeclarationContainer;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
mul-int/lit8 v0, v0, 0x1f
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
:goto_0
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getName()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
move-result v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
add-int/2addr v0, v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
mul-int/lit8 v0, v0, 0x1f
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getSignature()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
add-int/2addr v0, v1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
return v0
.end method
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
.method public isExternal()Z
.locals 1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getReflected()Lkotlin/reflect/KFunction;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-interface {v0}, Lkotlin/reflect/KFunction;->isExternal()Z
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
return v0
.end method
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
.method public isInfix()Z
.locals 1
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getReflected()Lkotlin/reflect/KFunction;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-interface {v0}, Lkotlin/reflect/KFunction;->isInfix()Z
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
return v0
2019-02-04 20:08:30 +00:00
.end method
2019-05-22 23:20:16 +00:00
.method public isInline()Z
.locals 1
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getReflected()Lkotlin/reflect/KFunction;
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v0
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
invoke-interface {v0}, Lkotlin/reflect/KFunction;->isInline()Z
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
move-result v0
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
return v0
.end method
.method public isOperator()Z
.locals 1
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getReflected()Lkotlin/reflect/KFunction;
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v0
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
invoke-interface {v0}, Lkotlin/reflect/KFunction;->isOperator()Z
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
move-result v0
return v0
2019-02-04 20:32:01 +00:00
.end method
2019-05-22 23:20:16 +00:00
.method public isSuspend()Z
2019-02-04 20:08:30 +00:00
.locals 1
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getReflected()Lkotlin/reflect/KFunction;
2019-02-04 20:08:30 +00:00
move-result-object v0
2019-05-22 23:20:16 +00:00
invoke-interface {v0}, Lkotlin/reflect/KFunction;->isSuspend()Z
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
return v0
2019-02-04 20:08:30 +00:00
.end method
2019-05-22 23:20:16 +00:00
.method public toString()Ljava/lang/String;
.locals 2
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->compute()Lkotlin/reflect/KCallable;
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
if-eq v0, p0, :cond_0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-02-04 20:32:01 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
return-object v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
:cond_0
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getName()Ljava/lang/String;
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
move-result-object v0
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
const-string v1, "<init>"
2019-02-04 20:08:30 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
move-result v0
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
if-eqz v0, :cond_1
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
const-string v0, "constructor (Kotlin reflection is not available)"
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
return-object v0
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
:cond_1
new-instance v0, Ljava/lang/StringBuilder;
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
const-string v1, "function "
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
2019-02-04 20:32:01 +00:00
2019-05-22 23:20:16 +00:00
invoke-virtual {p0}, Lkotlin/jvm/internal/j;->getName()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, " (Kotlin reflection is not available)"
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
2019-02-04 20:08:30 +00:00
.end method