251 lines
5.3 KiB
Smali
251 lines
5.3 KiB
Smali
.class public abstract Lkotlin/jvm/internal/q;
|
|
.super Lkotlin/jvm/internal/c;
|
|
.source "PropertyReference.java"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/reflect/KProperty;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lkotlin/jvm/internal/c;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0, p1}, Lkotlin/jvm/internal/c;-><init>(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p1, p0, :cond_0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
instance-of v1, p1, Lkotlin/jvm/internal/q;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
check-cast p1, Lkotlin/jvm/internal/q;
|
|
|
|
invoke-virtual {p0}, Lkotlin/jvm/internal/q;->getOwner()Lkotlin/reflect/KDeclarationContainer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1}, Lkotlin/jvm/internal/q;->getOwner()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_1
|
|
|
|
invoke-virtual {p0}, Lkotlin/jvm/internal/q;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1}, Lkotlin/jvm/internal/q;->getName()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_1
|
|
|
|
invoke-virtual {p0}, Lkotlin/jvm/internal/q;->getSignature()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1}, Lkotlin/jvm/internal/q;->getSignature()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_1
|
|
|
|
invoke-virtual {p0}, Lkotlin/jvm/internal/q;->getBoundReceiver()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1}, Lkotlin/jvm/internal/q;->getBoundReceiver()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v1, p1}, Lkotlin/jvm/internal/j;->n(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
return v2
|
|
|
|
:cond_2
|
|
instance-of v0, p1, Lkotlin/reflect/KProperty;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
invoke-virtual {p0}, Lkotlin/jvm/internal/q;->compute()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_3
|
|
return v2
|
|
.end method
|
|
|
|
.method protected bridge synthetic getReflected()Lkotlin/reflect/KCallable;
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lkotlin/jvm/internal/q;->getReflected()Lkotlin/reflect/KProperty;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method protected getReflected()Lkotlin/reflect/KProperty;
|
|
.locals 1
|
|
|
|
invoke-super {p0}, Lkotlin/jvm/internal/c;->getReflected()Lkotlin/reflect/KCallable;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lkotlin/reflect/KProperty;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 2
|
|
|
|
invoke-virtual {p0}, Lkotlin/jvm/internal/q;->getOwner()Lkotlin/reflect/KDeclarationContainer;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I
|
|
|
|
move-result v0
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
invoke-virtual {p0}, Lkotlin/jvm/internal/q;->getName()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/q;->getSignature()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 public isConst()Z
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lkotlin/jvm/internal/q;->getReflected()Lkotlin/reflect/KProperty;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Lkotlin/reflect/KProperty;->isConst()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public isLateinit()Z
|
|
.locals 1
|
|
|
|
invoke-virtual {p0}, Lkotlin/jvm/internal/q;->getReflected()Lkotlin/reflect/KProperty;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Lkotlin/reflect/KProperty;->isLateinit()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
invoke-virtual {p0}, Lkotlin/jvm/internal/q;->compute()Lkotlin/reflect/KCallable;
|
|
|
|
move-result-object v0
|
|
|
|
if-eq v0, p0, :cond_0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "property "
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0}, Lkotlin/jvm/internal/q;->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
|
|
.end method
|