.class public abstract Lkotlin/jvm/internal/PropertyReference; .super Lkotlin/jvm/internal/CallableReference; .source "PropertyReference.java" # interfaces .implements Lkotlin/reflect/KProperty; # instance fields .field private final syntheticJavaProperty:Z # direct methods .method public constructor ()V .locals 1 .line 17 invoke-direct {p0}, Lkotlin/jvm/internal/CallableReference;->()V const/4 v0, 0x0 iput-boolean v0, p0, Lkotlin/jvm/internal/PropertyReference;->syntheticJavaProperty:Z return-void .end method .method public constructor (Ljava/lang/Object;)V .locals 0 .line 24 invoke-direct {p0, p1}, Lkotlin/jvm/internal/CallableReference;->(Ljava/lang/Object;)V const/4 p1, 0x0 iput-boolean p1, p0, Lkotlin/jvm/internal/PropertyReference;->syntheticJavaProperty:Z return-void .end method .method public constructor (Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;I)V .locals 9 and-int/lit8 v0, p5, 0x1 const/4 v1, 0x0 const/4 v2, 0x1 if-ne v0, v2, :cond_0 move v8, v2 goto :goto_0 :cond_0 move v8, v1 :goto_0 move-object v3, p0 move-object v4, p1 move-object v5, p2 move-object v6, p3 move-object v7, p4 .line 31 invoke-direct/range {v3 .. v8}, Lkotlin/jvm/internal/CallableReference;->(Ljava/lang/Object;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Z)V const/4 p1, 0x2 and-int/lit8 p2, p5, 0x2 if-ne p2, p1, :cond_1 move v1, v2 :cond_1 iput-boolean v1, p0, Lkotlin/jvm/internal/PropertyReference;->syntheticJavaProperty:Z return-void .end method # virtual methods .method public compute()Lkotlin/reflect/KCallable; .locals 1 iget-boolean v0, p0, Lkotlin/jvm/internal/PropertyReference;->syntheticJavaProperty:Z if-eqz v0, :cond_0 goto :goto_0 .line 47 :cond_0 invoke-super {p0}, Lkotlin/jvm/internal/CallableReference;->compute()Lkotlin/reflect/KCallable; move-result-object p0 :goto_0 return-object p0 .end method .method public equals(Ljava/lang/Object;)Z .locals 4 const/4 v0, 0x1 if-ne p1, p0, :cond_0 return v0 .line 65 :cond_0 instance-of v1, p1, Lkotlin/jvm/internal/PropertyReference; const/4 v2, 0x0 if-eqz v1, :cond_2 .line 66 check-cast p1, Lkotlin/jvm/internal/PropertyReference; .line 67 invoke-virtual {p0}, Lkotlin/jvm/internal/PropertyReference;->getOwner()Lkotlin/reflect/KDeclarationContainer; move-result-object v1 invoke-virtual {p1}, Lkotlin/jvm/internal/PropertyReference;->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 .line 68 invoke-virtual {p0}, Lkotlin/jvm/internal/PropertyReference;->getName()Ljava/lang/String; move-result-object v1 invoke-virtual {p1}, Lkotlin/jvm/internal/PropertyReference;->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 .line 69 invoke-virtual {p0}, Lkotlin/jvm/internal/PropertyReference;->getSignature()Ljava/lang/String; move-result-object v1 invoke-virtual {p1}, Lkotlin/jvm/internal/PropertyReference;->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 .line 70 invoke-virtual {p0}, Lkotlin/jvm/internal/PropertyReference;->getBoundReceiver()Ljava/lang/Object; move-result-object p0 invoke-virtual {p1}, Lkotlin/jvm/internal/PropertyReference;->getBoundReceiver()Ljava/lang/Object; move-result-object p1 invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result p0 if-eqz p0, :cond_1 goto :goto_0 :cond_1 move v0, v2 :goto_0 return v0 .line 72 :cond_2 instance-of v0, p1, Lkotlin/reflect/KProperty; if-eqz v0, :cond_3 .line 73 invoke-virtual {p0}, Lkotlin/jvm/internal/PropertyReference;->compute()Lkotlin/reflect/KCallable; move-result-object p0 invoke-virtual {p1, p0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z move-result p0 return p0 :cond_3 return v2 .end method .method protected bridge synthetic getReflected()Lkotlin/reflect/KCallable; .locals 0 .line 12 invoke-virtual {p0}, Lkotlin/jvm/internal/PropertyReference;->getReflected()Lkotlin/reflect/KProperty; move-result-object p0 return-object p0 .end method .method protected getReflected()Lkotlin/reflect/KProperty; .locals 1 iget-boolean v0, p0, Lkotlin/jvm/internal/PropertyReference;->syntheticJavaProperty:Z if-nez v0, :cond_0 .line 42 invoke-super {p0}, Lkotlin/jvm/internal/CallableReference;->getReflected()Lkotlin/reflect/KCallable; move-result-object p0 check-cast p0, Lkotlin/reflect/KProperty; return-object p0 .line 40 :cond_0 new-instance p0, Ljava/lang/UnsupportedOperationException; const-string v0, "Kotlin reflection is not yet supported for synthetic Java properties" invoke-direct {p0, v0}, Ljava/lang/UnsupportedOperationException;->(Ljava/lang/String;)V throw p0 .end method .method public hashCode()I .locals 2 .line 80 invoke-virtual {p0}, Lkotlin/jvm/internal/PropertyReference;->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/PropertyReference;->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/PropertyReference;->getSignature()Ljava/lang/String; move-result-object p0 invoke-virtual {p0}, Ljava/lang/String;->hashCode()I move-result p0 add-int/2addr v0, p0 return v0 .end method .method public isConst()Z .locals 0 .line 59 invoke-virtual {p0}, Lkotlin/jvm/internal/PropertyReference;->getReflected()Lkotlin/reflect/KProperty; move-result-object p0 invoke-interface {p0}, Lkotlin/reflect/KProperty;->isConst()Z move-result p0 return p0 .end method .method public isLateinit()Z .locals 0 .line 53 invoke-virtual {p0}, Lkotlin/jvm/internal/PropertyReference;->getReflected()Lkotlin/reflect/KProperty; move-result-object p0 invoke-interface {p0}, Lkotlin/reflect/KProperty;->isLateinit()Z move-result p0 return p0 .end method .method public toString()Ljava/lang/String; .locals 2 .line 85 invoke-virtual {p0}, Lkotlin/jvm/internal/PropertyReference;->compute()Lkotlin/reflect/KCallable; move-result-object v0 if-eq v0, p0, :cond_0 .line 87 invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p0 return-object p0 .line 90 :cond_0 new-instance v0, Ljava/lang/StringBuilder; const-string v1, "property " invoke-direct {v0, v1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {p0}, Lkotlin/jvm/internal/PropertyReference;->getName()Ljava/lang/String; move-result-object p0 invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 const-string v0, " (Kotlin reflection is not available)" invoke-virtual {p0, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 return-object p0 .end method