mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
1200 lines
28 KiB
Smali
1200 lines
28 KiB
Smali
.class public Lkotlin/jvm/internal/Intrinsics;
|
|
.super Ljava/lang/Object;
|
|
.source "Intrinsics.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lkotlin/jvm/internal/Intrinsics$Kotlin;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 16
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static areEqual(DLjava/lang/Double;)Z
|
|
.locals 2
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 184
|
|
invoke-virtual {p2}, Ljava/lang/Double;->doubleValue()D
|
|
|
|
move-result-wide v0
|
|
|
|
cmpl-double p0, p0, v0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static areEqual(FLjava/lang/Float;)Z
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 199
|
|
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
|
|
|
|
move-result p1
|
|
|
|
cmpl-float p0, p0, p1
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static areEqual(Ljava/lang/Double;D)Z
|
|
.locals 2
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 179
|
|
invoke-virtual {p0}, Ljava/lang/Double;->doubleValue()D
|
|
|
|
move-result-wide v0
|
|
|
|
cmpl-double p0, v0, p1
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static areEqual(Ljava/lang/Double;Ljava/lang/Double;)Z
|
|
.locals 4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 174
|
|
invoke-virtual {p0}, Ljava/lang/Double;->doubleValue()D
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Double;->doubleValue()D
|
|
|
|
move-result-wide p0
|
|
|
|
cmpl-double p0, v2, p0
|
|
|
|
if-nez p0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
move v0, v1
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public static areEqual(Ljava/lang/Float;F)Z
|
|
.locals 0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 194
|
|
invoke-virtual {p0}, Ljava/lang/Float;->floatValue()F
|
|
|
|
move-result p0
|
|
|
|
cmpl-float p0, p0, p1
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static areEqual(Ljava/lang/Float;Ljava/lang/Float;)Z
|
|
.locals 2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 189
|
|
invoke-virtual {p0}, Ljava/lang/Float;->floatValue()F
|
|
|
|
move-result p0
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Float;->floatValue()F
|
|
|
|
move-result p1
|
|
|
|
cmpl-float p0, p0, p1
|
|
|
|
if-nez p0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
move v0, v1
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public static areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
if-nez p0, :cond_1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
.line 169
|
|
:cond_1
|
|
invoke-virtual {p0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 87
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, " must not be null"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/IllegalStateException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static checkFieldIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 119
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/IllegalStateException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static checkFieldIsNotNull(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 113
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "Field specified as non-null is null: "
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "."
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/IllegalStateException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static checkHasClass(Ljava/lang/String;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/ClassNotFoundException;
|
|
}
|
|
.end annotation
|
|
|
|
const/16 v0, 0x2f
|
|
|
|
const/16 v1, 0x2e
|
|
|
|
.line 229
|
|
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
.line 231
|
|
:try_start_0
|
|
invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
:try_end_0
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 234
|
|
new-instance v1, Ljava/lang/ClassNotFoundException;
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
const-string v3, "Class "
|
|
|
|
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v2, " is not found. Please update the Kotlin runtime to the latest version"
|
|
|
|
invoke-virtual {p0, v2}, 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
|
|
|
|
invoke-direct {v1, p0, v0}, Ljava/lang/ClassNotFoundException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/ClassNotFoundException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static checkHasClass(Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/ClassNotFoundException;
|
|
}
|
|
.end annotation
|
|
|
|
const/16 v0, 0x2f
|
|
|
|
const/16 v1, 0x2e
|
|
|
|
.line 241
|
|
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(CC)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
.line 243
|
|
:try_start_0
|
|
invoke-static {p0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
|
|
:try_end_0
|
|
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 246
|
|
new-instance v1, Ljava/lang/ClassNotFoundException;
|
|
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
const-string v3, "Class "
|
|
|
|
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v2, " is not found: this code requires the Kotlin runtime of version at least "
|
|
|
|
invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0, p1}, 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
|
|
|
|
invoke-direct {v1, p0, v0}, Ljava/lang/ClassNotFoundException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
invoke-static {v1}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/ClassNotFoundException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static checkNotNull(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
.line 25
|
|
invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->throwJavaNpe()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
.line 31
|
|
invoke-static {p1}, Lkotlin/jvm/internal/Intrinsics;->throwJavaNpe(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 93
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/NullPointerException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, " must not be null"
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/NullPointerException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
.line 131
|
|
invoke-static {p1}, Lkotlin/jvm/internal/Intrinsics;->throwParameterIsNullNPE(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
.line 125
|
|
invoke-static {p1}, Lkotlin/jvm/internal/Intrinsics;->throwParameterIsNullIAE(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static checkReturnedValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 107
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/IllegalStateException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static checkReturnedValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 99
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "Method specified as non-null returned null: "
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "."
|
|
|
|
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/IllegalStateException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static compare(II)I
|
|
.locals 0
|
|
|
|
if-ge p0, p1, :cond_0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-ne p0, p1, :cond_1
|
|
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p0, 0x1
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static compare(JJ)I
|
|
.locals 0
|
|
|
|
cmp-long p0, p0, p2
|
|
|
|
if-gez p0, :cond_0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-nez p0, :cond_1
|
|
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p0, 0x1
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method private static createParameterIsNullExceptionMessage(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 4
|
|
|
|
.line 144
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Thread;->getStackTrace()[Ljava/lang/StackTraceElement;
|
|
|
|
move-result-object v0
|
|
|
|
const-class v1, Lkotlin/jvm/internal/Intrinsics;
|
|
|
|
.line 146
|
|
invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 149
|
|
:goto_0
|
|
aget-object v3, v0, v2
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StackTraceElement;->getClassName()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_0
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 151
|
|
:cond_0
|
|
:goto_1
|
|
aget-object v3, v0, v2
|
|
|
|
invoke-virtual {v3}, Ljava/lang/StackTraceElement;->getClassName()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 153
|
|
:cond_1
|
|
aget-object v0, v0, v2
|
|
|
|
.line 154
|
|
invoke-virtual {v0}, Ljava/lang/StackTraceElement;->getClassName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
.line 155
|
|
invoke-virtual {v0}, Ljava/lang/StackTraceElement;->getMethodName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 157
|
|
new-instance v2, Ljava/lang/StringBuilder;
|
|
|
|
const-string v3, "Parameter specified as non-null is null: method "
|
|
|
|
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "."
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, ", parameter "
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p0}, 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
|
|
|
|
.method public static needClassReification()V
|
|
.locals 0
|
|
|
|
.line 221
|
|
invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->throwUndefinedForReified()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static needClassReification(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 225
|
|
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->throwUndefinedForReified(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static reifiedOperationMarker(ILjava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 213
|
|
invoke-static {}, Lkotlin/jvm/internal/Intrinsics;->throwUndefinedForReified()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static reifiedOperationMarker(ILjava/lang/String;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 217
|
|
invoke-static {p2}, Lkotlin/jvm/internal/Intrinsics;->throwUndefinedForReified(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Throwable;",
|
|
">(TT;)TT;"
|
|
}
|
|
.end annotation
|
|
|
|
const-class v0, Lkotlin/jvm/internal/Intrinsics;
|
|
|
|
.line 253
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;Ljava/lang/String;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static sanitizeStackTrace(Ljava/lang/Throwable;Ljava/lang/String;)Ljava/lang/Throwable;
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Throwable;",
|
|
">(TT;",
|
|
"Ljava/lang/String;",
|
|
")TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 257
|
|
invoke-virtual {p0}, Ljava/lang/Throwable;->getStackTrace()[Ljava/lang/StackTraceElement;
|
|
|
|
move-result-object v0
|
|
|
|
.line 258
|
|
array-length v1, v0
|
|
|
|
const/4 v2, -0x1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
:goto_0
|
|
if-ge v3, v1, :cond_1
|
|
|
|
.line 262
|
|
aget-object v4, v0, v3
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StackTraceElement;->getClassName()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {p1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
move v2, v3
|
|
|
|
:cond_0
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
.line 267
|
|
invoke-static {v0, v2, v1}, Ljava/util/Arrays;->copyOfRange([Ljava/lang/Object;II)[Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, [Ljava/lang/StackTraceElement;
|
|
|
|
.line 268
|
|
invoke-virtual {p0, p1}, Ljava/lang/Throwable;->setStackTrace([Ljava/lang/StackTraceElement;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static stringPlus(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 20
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)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
|
|
|
|
.method public static throwAssert()V
|
|
.locals 1
|
|
|
|
.line 62
|
|
new-instance v0, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/AssertionError;
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static throwAssert(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 66
|
|
new-instance v0, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {v0, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/AssertionError;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static throwIllegalArgument()V
|
|
.locals 1
|
|
|
|
.line 70
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static throwIllegalArgument(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 74
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static throwIllegalState()V
|
|
.locals 1
|
|
|
|
.line 78
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-direct {v0}, Ljava/lang/IllegalStateException;-><init>()V
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/IllegalStateException;
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static throwIllegalState(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 82
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/IllegalStateException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static throwJavaNpe()V
|
|
.locals 1
|
|
|
|
.line 45
|
|
new-instance v0, Ljava/lang/NullPointerException;
|
|
|
|
invoke-direct {v0}, Ljava/lang/NullPointerException;-><init>()V
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/NullPointerException;
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static throwJavaNpe(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 50
|
|
new-instance v0, Ljava/lang/NullPointerException;
|
|
|
|
invoke-direct {v0, p0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/NullPointerException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static throwNpe()V
|
|
.locals 1
|
|
|
|
.line 36
|
|
new-instance v0, Lkotlin/KotlinNullPointerException;
|
|
|
|
invoke-direct {v0}, Lkotlin/KotlinNullPointerException;-><init>()V
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lkotlin/KotlinNullPointerException;
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static throwNpe(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 40
|
|
new-instance v0, Lkotlin/KotlinNullPointerException;
|
|
|
|
invoke-direct {v0, p0}, Lkotlin/KotlinNullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lkotlin/KotlinNullPointerException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method private static throwParameterIsNullIAE(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 136
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->createParameterIsNullExceptionMessage(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method private static throwParameterIsNullNPE(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 140
|
|
new-instance v0, Ljava/lang/NullPointerException;
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->createParameterIsNullExceptionMessage(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {v0, p0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/NullPointerException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static throwUndefinedForReified()V
|
|
.locals 1
|
|
|
|
const-string v0, "This function has a reified type parameter and thus can only be inlined at compilation time, not called directly."
|
|
|
|
.line 203
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->throwUndefinedForReified(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static throwUndefinedForReified(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 209
|
|
new-instance v0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
invoke-direct {v0, p0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public static throwUninitializedProperty(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 54
|
|
new-instance v0, Lkotlin/UninitializedPropertyAccessException;
|
|
|
|
invoke-direct {v0, p0}, Lkotlin/UninitializedPropertyAccessException;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->sanitizeStackTrace(Ljava/lang/Throwable;)Ljava/lang/Throwable;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lkotlin/UninitializedPropertyAccessException;
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
.line 58
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "lateinit property "
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, " has not been initialized"
|
|
|
|
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
|
|
|
|
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->throwUninitializedProperty(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|