Rabbit-R1/switch port/smali/smali_classes3/kotlin/jvm/JvmClassMappingKt.smali
2024-05-21 17:08:36 -04:00

747 lines
20 KiB
Smali

.class public final Lkotlin/jvm/JvmClassMappingKt;
.super Ljava/lang/Object;
.source "JvmClassMapping.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u00002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u001b\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0010\n\u0002\u0008\n\n\u0002\u0010\u0000\n\u0002\u0008\u000b\n\u0002\u0010\u000b\n\u0002\u0010\u0011\n\u0002\u0008\u0002\u001a\u001f\u0010\u001f\u001a\u00020 \"\n\u0008\u0000\u0010\u0002\u0018\u0001*\u00020\u0014*\u0006\u0012\u0002\u0008\u00030!\u00a2\u0006\u0002\u0010\"\"\'\u0010\u0000\u001a\n\u0012\u0006\u0008\u0001\u0012\u0002H\u00020\u0001\"\u0008\u0008\u0000\u0010\u0002*\u00020\u0003*\u0002H\u00028F\u00a2\u0006\u0006\u001a\u0004\u0008\u0004\u0010\u0005\";\u0010\u0006\u001a\u0008\u0012\u0004\u0012\u0002H\u00080\u0007\"\u000e\u0008\u0000\u0010\u0008*\u0008\u0012\u0004\u0012\u0002H\u00080\t*\u0008\u0012\u0004\u0012\u0002H\u00080\t8\u00c6\u0002X\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\n\u0010\u000b\u001a\u0004\u0008\u000c\u0010\r\"-\u0010\u000e\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0007\"\u0004\u0008\u0000\u0010\u0002*\u0008\u0012\u0004\u0012\u0002H\u00020\u00018G\u00a2\u0006\u000c\u0012\u0004\u0008\u000f\u0010\u0010\u001a\u0004\u0008\u0011\u0010\u0012\"&\u0010\u0013\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0007\"\u0008\u0008\u0000\u0010\u0002*\u00020\u0014*\u0002H\u00028\u00c6\u0002\u00a2\u0006\u0006\u001a\u0004\u0008\u0011\u0010\u0015\";\u0010\u0013\u001a\u000e\u0012\n\u0012\u0008\u0012\u0004\u0012\u0002H\u00020\u00010\u0007\"\u0008\u0008\u0000\u0010\u0002*\u00020\u0014*\u0008\u0012\u0004\u0012\u0002H\u00020\u00018\u00c7\u0002X\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0016\u0010\u0010\u001a\u0004\u0008\u0017\u0010\u0012\"+\u0010\u0018\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0007\"\u0008\u0008\u0000\u0010\u0002*\u00020\u0014*\u0008\u0012\u0004\u0012\u0002H\u00020\u00018F\u00a2\u0006\u0006\u001a\u0004\u0008\u0019\u0010\u0012\"-\u0010\u001a\u001a\n\u0012\u0004\u0012\u0002H\u0002\u0018\u00010\u0007\"\u0008\u0008\u0000\u0010\u0002*\u00020\u0014*\u0008\u0012\u0004\u0012\u0002H\u00020\u00018F\u00a2\u0006\u0006\u001a\u0004\u0008\u001b\u0010\u0012\"+\u0010\u001c\u001a\u0008\u0012\u0004\u0012\u0002H\u00020\u0001\"\u0008\u0008\u0000\u0010\u0002*\u00020\u0014*\u0008\u0012\u0004\u0012\u0002H\u00020\u00078G\u00a2\u0006\u0006\u001a\u0004\u0008\u001d\u0010\u001e\u00a8\u0006#"
}
d2 = {
"annotationClass",
"Lkotlin/reflect/KClass;",
"T",
"",
"getAnnotationClass",
"(Ljava/lang/annotation/Annotation;)Lkotlin/reflect/KClass;",
"declaringJavaClass",
"Ljava/lang/Class;",
"E",
"",
"getDeclaringJavaClass$annotations",
"(Ljava/lang/Enum;)V",
"getDeclaringJavaClass",
"(Ljava/lang/Enum;)Ljava/lang/Class;",
"java",
"getJavaClass$annotations",
"(Lkotlin/reflect/KClass;)V",
"getJavaClass",
"(Lkotlin/reflect/KClass;)Ljava/lang/Class;",
"javaClass",
"",
"(Ljava/lang/Object;)Ljava/lang/Class;",
"getRuntimeClassOfKClassInstance$annotations",
"getRuntimeClassOfKClassInstance",
"javaObjectType",
"getJavaObjectType",
"javaPrimitiveType",
"getJavaPrimitiveType",
"kotlin",
"getKotlinClass",
"(Ljava/lang/Class;)Lkotlin/reflect/KClass;",
"isArrayOf",
"",
"",
"([Ljava/lang/Object;)Z",
"kotlin-stdlib"
}
k = 0x2
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# direct methods
.method public static final getAnnotationClass(Ljava/lang/annotation/Annotation;)Lkotlin/reflect/KClass;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Ljava/lang/annotation/Annotation;",
">(TT;)",
"Lkotlin/reflect/KClass<",
"+TT;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 108
invoke-interface {p0}, Ljava/lang/annotation/Annotation;->annotationType()Ljava/lang/Class;
move-result-object p0
const-string v0, "annotationType(...)"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
invoke-static {p0}, Lkotlin/jvm/JvmClassMappingKt;->getKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/KClass;
move-result-object p0
const-string v0, "null cannot be cast to non-null type kotlin.reflect.KClass<out T of kotlin.jvm.JvmClassMappingKt.<get-annotationClass>>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method private static final getDeclaringJavaClass(Ljava/lang/Enum;)Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<E:",
"Ljava/lang/Enum<",
"TE;>;>(",
"Ljava/lang/Enum<",
"TE;>;)",
"Ljava/lang/Class<",
"TE;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 118
invoke-virtual {p0}, Ljava/lang/Enum;->getDeclaringClass()Ljava/lang/Class;
move-result-object p0
const-string v0, "getDeclaringClass(...)"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static synthetic getDeclaringJavaClass$annotations(Ljava/lang/Enum;)V
.locals 0
return-void
.end method
.method public static final getJavaClass(Ljava/lang/Object;)Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(TT;)",
"Ljava/lang/Class<",
"TT;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 89
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p0
const-string v0, "null cannot be cast to non-null type java.lang.Class<T of kotlin.jvm.JvmClassMappingKt.<get-javaClass>>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static final getJavaClass(Lkotlin/reflect/KClass;)Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lkotlin/reflect/KClass<",
"TT;>;)",
"Ljava/lang/Class<",
"TT;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 29
check-cast p0, Lkotlin/jvm/internal/ClassBasedDeclarationContainer;
invoke-interface {p0}, Lkotlin/jvm/internal/ClassBasedDeclarationContainer;->getJClass()Ljava/lang/Class;
move-result-object p0
const-string v0, "null cannot be cast to non-null type java.lang.Class<T of kotlin.jvm.JvmClassMappingKt.<get-java>>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static synthetic getJavaClass$annotations(Lkotlin/reflect/KClass;)V
.locals 0
return-void
.end method
.method public static final getJavaObjectType(Lkotlin/reflect/KClass;)Ljava/lang/Class;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lkotlin/reflect/KClass<",
"TT;>;)",
"Ljava/lang/Class<",
"TT;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 59
check-cast p0, Lkotlin/jvm/internal/ClassBasedDeclarationContainer;
invoke-interface {p0}, Lkotlin/jvm/internal/ClassBasedDeclarationContainer;->getJClass()Ljava/lang/Class;
move-result-object p0
.line 60
invoke-virtual {p0}, Ljava/lang/Class;->isPrimitive()Z
move-result v0
const-string v1, "null cannot be cast to non-null type java.lang.Class<T of kotlin.jvm.JvmClassMappingKt.<get-javaObjectType>>"
if-nez v0, :cond_0
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.line 62
:cond_0
invoke-virtual {p0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
if-eqz v0, :cond_a
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v2
sparse-switch v2, :sswitch_data_0
goto/16 :goto_0
:sswitch_0
const-string v2, "short"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_1
goto/16 :goto_0
:cond_1
const-class p0, Ljava/lang/Short;
goto/16 :goto_0
:sswitch_1
const-string v2, "float"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_2
goto :goto_0
:cond_2
const-class p0, Ljava/lang/Float;
goto :goto_0
:sswitch_2
const-string v2, "boolean"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_3
goto :goto_0
:cond_3
const-class p0, Ljava/lang/Boolean;
goto :goto_0
:sswitch_3
const-string v2, "void"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_4
goto :goto_0
:cond_4
const-class p0, Ljava/lang/Void;
goto :goto_0
:sswitch_4
const-string v2, "long"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_5
goto :goto_0
:cond_5
const-class p0, Ljava/lang/Long;
goto :goto_0
:sswitch_5
const-string v2, "char"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_6
goto :goto_0
:cond_6
const-class p0, Ljava/lang/Character;
goto :goto_0
:sswitch_6
const-string v2, "byte"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_7
goto :goto_0
:cond_7
const-class p0, Ljava/lang/Byte;
goto :goto_0
:sswitch_7
const-string v2, "int"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_8
goto :goto_0
:cond_8
const-class p0, Ljava/lang/Integer;
goto :goto_0
:sswitch_8
const-string v2, "double"
invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_9
goto :goto_0
:cond_9
const-class p0, Ljava/lang/Double;
:cond_a
:goto_0
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
nop
:sswitch_data_0
.sparse-switch
-0x4f08842f -> :sswitch_8
0x197ef -> :sswitch_7
0x2e6108 -> :sswitch_6
0x2e9356 -> :sswitch_5
0x32c67c -> :sswitch_4
0x375194 -> :sswitch_3
0x3db6c28 -> :sswitch_2
0x5d0225c -> :sswitch_1
0x685847c -> :sswitch_0
.end sparse-switch
.end method
.method public static final getJavaPrimitiveType(Lkotlin/reflect/KClass;)Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lkotlin/reflect/KClass<",
"TT;>;)",
"Ljava/lang/Class<",
"TT;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 36
check-cast p0, Lkotlin/jvm/internal/ClassBasedDeclarationContainer;
invoke-interface {p0}, Lkotlin/jvm/internal/ClassBasedDeclarationContainer;->getJClass()Ljava/lang/Class;
move-result-object p0
.line 37
invoke-virtual {p0}, Ljava/lang/Class;->isPrimitive()Z
move-result v0
if-eqz v0, :cond_0
const-string v0, "null cannot be cast to non-null type java.lang.Class<T of kotlin.jvm.JvmClassMappingKt.<get-javaPrimitiveType>>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.line 39
:cond_0
invoke-virtual {p0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object p0
if-eqz p0, :cond_a
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
move-result v0
sparse-switch v0, :sswitch_data_0
goto/16 :goto_0
:sswitch_0
const-string v0, "java.lang.Double"
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-nez p0, :cond_1
goto/16 :goto_0
:cond_1
sget-object p0, Ljava/lang/Double;->TYPE:Ljava/lang/Class;
goto/16 :goto_1
:sswitch_1
const-string v0, "java.lang.Void"
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-nez p0, :cond_2
goto :goto_0
.line 48
:cond_2
sget-object p0, Ljava/lang/Void;->TYPE:Ljava/lang/Class;
goto :goto_1
:sswitch_2
const-string v0, "java.lang.Long"
.line 39
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-nez p0, :cond_3
goto :goto_0
:cond_3
sget-object p0, Ljava/lang/Long;->TYPE:Ljava/lang/Class;
goto :goto_1
:sswitch_3
const-string v0, "java.lang.Byte"
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-nez p0, :cond_4
goto :goto_0
:cond_4
sget-object p0, Ljava/lang/Byte;->TYPE:Ljava/lang/Class;
goto :goto_1
:sswitch_4
const-string v0, "java.lang.Boolean"
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-nez p0, :cond_5
goto :goto_0
:cond_5
sget-object p0, Ljava/lang/Boolean;->TYPE:Ljava/lang/Class;
goto :goto_1
:sswitch_5
const-string v0, "java.lang.Character"
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-nez p0, :cond_6
goto :goto_0
:cond_6
sget-object p0, Ljava/lang/Character;->TYPE:Ljava/lang/Class;
goto :goto_1
:sswitch_6
const-string v0, "java.lang.Short"
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-nez p0, :cond_7
goto :goto_0
:cond_7
sget-object p0, Ljava/lang/Short;->TYPE:Ljava/lang/Class;
goto :goto_1
:sswitch_7
const-string v0, "java.lang.Float"
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-nez p0, :cond_8
goto :goto_0
:cond_8
sget-object p0, Ljava/lang/Float;->TYPE:Ljava/lang/Class;
goto :goto_1
:sswitch_8
const-string v0, "java.lang.Integer"
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p0
if-nez p0, :cond_9
goto :goto_0
:cond_9
sget-object p0, Ljava/lang/Integer;->TYPE:Ljava/lang/Class;
goto :goto_1
:cond_a
:goto_0
const/4 p0, 0x0
:goto_1
return-object p0
:sswitch_data_0
.sparse-switch
-0x7a988a96 -> :sswitch_8
-0x1f76ce78 -> :sswitch_7
-0x1ec16c58 -> :sswitch_6
0x9415455 -> :sswitch_5
0x148d6054 -> :sswitch_4
0x17c0bc5c -> :sswitch_3
0x17c521d0 -> :sswitch_2
0x17c9ace8 -> :sswitch_1
0x2d605225 -> :sswitch_0
.end sparse-switch
.end method
.method public static final getKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/KClass;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Class<",
"TT;>;)",
"Lkotlin/reflect/KClass<",
"TT;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 81
invoke-static {p0}, Lkotlin/jvm/internal/Reflection;->getOrCreateKotlinClass(Ljava/lang/Class;)Lkotlin/reflect/KClass;
move-result-object p0
return-object p0
.end method
.method public static final getRuntimeClassOfKClassInstance(Lkotlin/reflect/KClass;)Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lkotlin/reflect/KClass<",
"TT;>;)",
"Ljava/lang/Class<",
"Lkotlin/reflect/KClass<",
"TT;>;>;"
}
.end annotation
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 95
check-cast p0, Ljava/lang/Object;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p0
const-string v0, "null cannot be cast to non-null type java.lang.Class<kotlin.reflect.KClass<T of kotlin.jvm.JvmClassMappingKt.<get-javaClass>>>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
return-object p0
.end method
.method public static synthetic getRuntimeClassOfKClassInstance$annotations(Lkotlin/reflect/KClass;)V
.locals 0
.annotation runtime Lkotlin/Deprecated;
level = .enum Lkotlin/DeprecationLevel;->ERROR:Lkotlin/DeprecationLevel;
message = "Use \'java\' property to get Java class corresponding to this Kotlin class or cast this instance to Any if you really want to get the runtime Java class of this implementation of KClass."
replaceWith = .subannotation Lkotlin/ReplaceWith;
expression = "(this as Any).javaClass"
imports = {}
.end subannotation
.end annotation
return-void
.end method
.method public static final synthetic isArrayOf([Ljava/lang/Object;)Z
.locals 2
const-string v0, "<this>"
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const/4 v0, 0x4
const-string v1, "T"
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->reifiedOperationMarker(ILjava/lang/String;)V
const-class v0, Ljava/lang/Object;
move-object v1, v0
check-cast v1, Ljava/lang/Class;
.line 102
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p0
move-object v1, p0
check-cast v1, Ljava/lang/Class;
invoke-virtual {p0}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
move-result-object p0
invoke-virtual {v0, p0}, Ljava/lang/Class;->isAssignableFrom(Ljava/lang/Class;)Z
move-result p0
return p0
.end method