.class public Lb0/n/c/w; .super Ljava/lang/Object; .source "TypeIntrinsics.java" # direct methods .method public constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static asMutableCollection(Ljava/lang/Object;)Ljava/util/Collection; .locals 2 instance-of v0, p0, Lb0/n/c/x/a; const/4 v1, 0x0 if-eqz v0, :cond_1 instance-of v0, p0, Lb0/n/c/x/b; if-eqz v0, :cond_0 goto :goto_0 :cond_0 const-string v0, "kotlin.collections.MutableCollection" invoke-static {p0, v0}, Lb0/n/c/w;->throwCce(Ljava/lang/Object;Ljava/lang/String;)V throw v1 :cond_1 :goto_0 :try_start_0 check-cast p0, Ljava/util/Collection; :try_end_0 .catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_0 return-object p0 :catch_0 move-exception p0 invoke-static {p0}, Lb0/n/c/w;->throwCce(Ljava/lang/ClassCastException;)Ljava/lang/ClassCastException; throw v1 .end method .method public static asMutableMap(Ljava/lang/Object;)Ljava/util/Map; .locals 2 instance-of v0, p0, Lb0/n/c/x/a; const/4 v1, 0x0 if-eqz v0, :cond_1 instance-of v0, p0, Lb0/n/c/x/d; if-eqz v0, :cond_0 goto :goto_0 :cond_0 const-string v0, "kotlin.collections.MutableMap" invoke-static {p0, v0}, Lb0/n/c/w;->throwCce(Ljava/lang/Object;Ljava/lang/String;)V throw v1 :cond_1 :goto_0 :try_start_0 check-cast p0, Ljava/util/Map; :try_end_0 .catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_0 return-object p0 :catch_0 move-exception p0 invoke-static {p0}, Lb0/n/c/w;->throwCce(Ljava/lang/ClassCastException;)Ljava/lang/ClassCastException; throw v1 .end method .method public static beforeCheckcastToFunctionOfArity(Ljava/lang/Object;I)Ljava/lang/Object; .locals 3 instance-of v0, p0, Lb0/n/c/g; const/4 v1, 0x1 const/4 v2, 0x0 if-eqz v0, :cond_0 move-object v0, p0 check-cast v0, Lb0/n/c/g; invoke-interface {v0}, Lb0/n/c/g;->getArity()I move-result v0 goto :goto_0 :cond_0 instance-of v0, p0, Lkotlin/jvm/functions/Function0; if-eqz v0, :cond_1 const/4 v0, 0x0 goto :goto_0 :cond_1 instance-of v0, p0, Lkotlin/jvm/functions/Function1; if-eqz v0, :cond_2 const/4 v0, 0x1 goto :goto_0 :cond_2 const/4 v0, 0x2 :goto_0 if-ne v0, p1, :cond_3 goto :goto_1 :cond_3 const/4 v1, 0x0 :goto_1 if-eqz v1, :cond_4 return-object p0 :cond_4 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const-string v1, "kotlin.jvm.functions.Function" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 invoke-static {p0, p1}, Lb0/n/c/w;->throwCce(Ljava/lang/Object;Ljava/lang/String;)V const/4 p0, 0x0 throw p0 .end method .method public static throwCce(Ljava/lang/ClassCastException;)Ljava/lang/ClassCastException; .locals 1 const-class v0, Lb0/n/c/w; invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object v0 invoke-static {p0, v0}, Lb0/n/c/j;->c(Ljava/lang/Throwable;Ljava/lang/String;)Ljava/lang/Throwable; throw p0 .end method .method public static throwCce(Ljava/lang/Object;Ljava/lang/String;)V .locals 1 if-nez p0, :cond_0 const-string p0, "null" goto :goto_0 :cond_0 invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object p0 invoke-virtual {p0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object p0 :goto_0 const-string v0, " cannot be cast to " invoke-static {p0, v0, p1}, Lf/e/c/a/a;->r(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; move-result-object p0 new-instance p1, Ljava/lang/ClassCastException; invoke-direct {p1, p0}, Ljava/lang/ClassCastException;->(Ljava/lang/String;)V invoke-static {p1}, Lb0/n/c/w;->throwCce(Ljava/lang/ClassCastException;)Ljava/lang/ClassCastException; const/4 p0, 0x0 throw p0 .end method