FunctionReference.smali
.class public Lkotlin/jvm/internal/FunctionReference;
.super Lkotlin/jvm/internal/CallableReference;
# interfaces
.implements Lkotlin/jvm/internal/FunctionBase;
.implements Lkotlin/reflect/KFunction;
# instance fields
.field private final i:I
# direct methods
.method public constructor <init>(ILjava/lang/Object;)V
.registers 3
invoke-direct {p0, p2}, Lkotlin/jvm/internal/CallableReference;-><init>(Ljava/lang/Object;)V
iput p1, p0, Lkotlin/jvm/internal/FunctionReference;->i:I
return-void
.end method
# virtual methods
.method public e()I
.registers 2
iget v0, p0, Lkotlin/jvm/internal/FunctionReference;->i:I
return v0
.end method
.method public equals(Ljava/lang/Object;)Z
.registers 6
const/4 v0, 0x1
if-ne p1, p0, :cond_4
return v0
:cond_4
instance-of v1, p1, Lkotlin/jvm/internal/FunctionReference;
const/4 v2, 0x0
if-eqz v1, :cond_53
check-cast p1, Lkotlin/jvm/internal/FunctionReference;
invoke-virtual {p0}, Lkotlin/jvm/internal/CallableReference;->j()Lkotlin/reflect/KDeclarationContainer;
move-result-object v1
if-nez v1, :cond_18
invoke-virtual {p1}, Lkotlin/jvm/internal/CallableReference;->j()Lkotlin/reflect/KDeclarationContainer;
move-result-object v1
if-nez v1, :cond_51
goto :goto_26
:cond_18
invoke-virtual {p0}, Lkotlin/jvm/internal/CallableReference;->j()Lkotlin/reflect/KDeclarationContainer;
move-result-object v1
invoke-virtual {p1}, Lkotlin/jvm/internal/CallableReference;->j()Lkotlin/reflect/KDeclarationContainer;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_51
:goto_26
invoke-virtual {p0}, Lkotlin/jvm/internal/CallableReference;->i()Ljava/lang/String;
move-result-object v1
invoke-virtual {p1}, Lkotlin/jvm/internal/CallableReference;->i()Ljava/lang/String;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_51
invoke-virtual {p0}, Lkotlin/jvm/internal/CallableReference;->l()Ljava/lang/String;
move-result-object v1
invoke-virtual {p1}, Lkotlin/jvm/internal/CallableReference;->l()Ljava/lang/String;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_51
invoke-virtual {p0}, Lkotlin/jvm/internal/CallableReference;->g()Ljava/lang/Object;
move-result-object v1
invoke-virtual {p1}, Lkotlin/jvm/internal/CallableReference;->g()Ljava/lang/Object;
move-result-object p1
invoke-static {v1, p1}, Lkotlin/jvm/internal/Intrinsics;->a(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_51
goto :goto_52
:cond_51
const/4 v0, 0x0
:goto_52
return v0
:cond_53
instance-of v0, p1, Lkotlin/reflect/KFunction;
if-eqz v0, :cond_60
invoke-virtual {p0}, Lkotlin/jvm/internal/CallableReference;->d()Lkotlin/reflect/KCallable;
move-result-object v0
invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result p1
return p1
:cond_60
return v2
.end method
.method protected f()Lkotlin/reflect/KCallable;
.registers 1
invoke-static {p0}, Lkotlin/jvm/internal/Reflection;->a(Lkotlin/jvm/internal/FunctionReference;)Lkotlin/reflect/KFunction;
return-object p0
.end method
.method public hashCode()I
.registers 3
invoke-virtual {p0}, Lkotlin/jvm/internal/CallableReference;->j()Lkotlin/reflect/KDeclarationContainer;
move-result-object v0
if-nez v0, :cond_8
const/4 v0, 0x0
goto :goto_12
:cond_8
invoke-virtual {p0}, Lkotlin/jvm/internal/CallableReference;->j()Lkotlin/reflect/KDeclarationContainer;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
move-result v0
mul-int/lit8 v0, v0, 0x1f
:goto_12
invoke-virtual {p0}, Lkotlin/jvm/internal/CallableReference;->i()Ljava/lang/String;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
move-result v1
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x1f
invoke-virtual {p0}, Lkotlin/jvm/internal/CallableReference;->l()Ljava/lang/String;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/String;->hashCode()I
move-result v1
add-int/2addr v0, v1
return v0
.end method
.method protected bridge synthetic k()Lkotlin/reflect/KCallable;
.registers 2
invoke-virtual {p0}, Lkotlin/jvm/internal/FunctionReference;->n()Lkotlin/reflect/KFunction;
move-result-object v0
return-object v0
.end method
.method protected n()Lkotlin/reflect/KFunction;
.registers 2
invoke-super {p0}, Lkotlin/jvm/internal/CallableReference;->k()Lkotlin/reflect/KCallable;
move-result-object v0
check-cast v0, Lkotlin/reflect/KFunction;
return-object v0
.end method
.method public toString()Ljava/lang/String;
.registers 3
invoke-virtual {p0}, Lkotlin/jvm/internal/CallableReference;->d()Lkotlin/reflect/KCallable;
move-result-object v0
if-eq v0, p0, :cond_b
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
:cond_b
invoke-virtual {p0}, Lkotlin/jvm/internal/CallableReference;->i()Ljava/lang/String;
move-result-object v0
const-string v1, "<init>"
invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1a
const-string v0, "constructor (Kotlin reflection is not available)"
goto :goto_34
:cond_1a
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "function "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Lkotlin/jvm/internal/CallableReference;->i()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
:goto_34
return-object v0
.end method