mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 00:22:50 -06:00
446 lines
10 KiB
Smali
446 lines
10 KiB
Smali
.class public final Lkotlin/KotlinVersion;
|
|
.super Ljava/lang/Object;
|
|
.source "KotlinVersion.kt"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Comparable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lkotlin/KotlinVersion$Companion;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Ljava/lang/Comparable<",
|
|
"Lkotlin/KotlinVersion;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u000f\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u000c\n\u0002\u0010\u000b\n\u0002\u0010\u0000\n\u0002\u0008\u0003\n\u0002\u0010\u000e\n\u0002\u0008\u0003\u0008\u0007\u0018\u0000 \u00172\u0008\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\u0017B\u0017\u0008\u0016\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0005B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003\u00a2\u0006\u0002\u0010\u0007J\u0011\u0010\r\u001a\u00020\u00032\u0006\u0010\u000e\u001a\u00020\u0000H\u0096\u0002J\u0013\u0010\u000f\u001a\u00020\u00102\u0008\u0010\u000e\u001a\u0004\u0018\u00010\u0011H\u0096\u0002J\u0008\u0010\u0012\u001a\u00020\u0003H\u0016J\u0016\u0010\u0013\u001a\u00020\u00102\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0003J\u001e\u0010\u0013\u001a\u00020\u00102\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0003J\u0008\u0010\u0014\u001a\u00020\u0015H\u0016J \u0010\u0016\u001a\u00020\u00032\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0003H\u0002R\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0008\u0010\tR\u0011\u0010\u0004\u001a\u00020\u0003\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\n\u0010\tR\u0011\u0010\u0006\u001a\u00020\u0003\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000b\u0010\tR\u000e\u0010\u000c\u001a\u00020\u0003X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u0018"
|
|
}
|
|
d2 = {
|
|
"Lkotlin/KotlinVersion;",
|
|
"",
|
|
"major",
|
|
"",
|
|
"minor",
|
|
"(II)V",
|
|
"patch",
|
|
"(III)V",
|
|
"getMajor",
|
|
"()I",
|
|
"getMinor",
|
|
"getPatch",
|
|
"version",
|
|
"compareTo",
|
|
"other",
|
|
"equals",
|
|
"",
|
|
"",
|
|
"hashCode",
|
|
"isAtLeast",
|
|
"toString",
|
|
"",
|
|
"versionOf",
|
|
"Companion",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x9,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final CURRENT:Lkotlin/KotlinVersion;
|
|
|
|
.field public static final Companion:Lkotlin/KotlinVersion$Companion;
|
|
|
|
.field public static final MAX_COMPONENT_VALUE:I = 0xff
|
|
|
|
|
|
# instance fields
|
|
.field private final major:I
|
|
|
|
.field private final minor:I
|
|
|
|
.field private final patch:I
|
|
|
|
.field private final version:I
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
new-instance v0, Lkotlin/KotlinVersion$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lkotlin/KotlinVersion$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
sput-object v0, Lkotlin/KotlinVersion;->Companion:Lkotlin/KotlinVersion$Companion;
|
|
|
|
.line 75
|
|
invoke-static {}, Lkotlin/KotlinVersionCurrentValue;->get()Lkotlin/KotlinVersion;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lkotlin/KotlinVersion;->CURRENT:Lkotlin/KotlinVersion;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(II)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 21
|
|
invoke-direct {p0, p1, p2, v0}, Lkotlin/KotlinVersion;-><init>(III)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(III)V
|
|
.locals 0
|
|
|
|
.line 16
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Lkotlin/KotlinVersion;->major:I
|
|
|
|
iput p2, p0, Lkotlin/KotlinVersion;->minor:I
|
|
|
|
iput p3, p0, Lkotlin/KotlinVersion;->patch:I
|
|
|
|
.line 23
|
|
invoke-direct {p0, p1, p2, p3}, Lkotlin/KotlinVersion;->versionOf(III)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lkotlin/KotlinVersion;->version:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final versionOf(III)I
|
|
.locals 2
|
|
|
|
.line 26
|
|
new-instance p0, Lkotlin/ranges/IntRange;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/16 v1, 0xff
|
|
|
|
invoke-direct {p0, v0, v1}, Lkotlin/ranges/IntRange;-><init>(II)V
|
|
|
|
invoke-virtual {p0, p1}, Lkotlin/ranges/IntRange;->contains(I)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
new-instance p0, Lkotlin/ranges/IntRange;
|
|
|
|
invoke-direct {p0, v0, v1}, Lkotlin/ranges/IntRange;-><init>(II)V
|
|
|
|
invoke-virtual {p0, p2}, Lkotlin/ranges/IntRange;->contains(I)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
new-instance p0, Lkotlin/ranges/IntRange;
|
|
|
|
invoke-direct {p0, v0, v1}, Lkotlin/ranges/IntRange;-><init>(II)V
|
|
|
|
invoke-virtual {p0, p3}, Lkotlin/ranges/IntRange;->contains(I)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
shl-int/lit8 p0, p1, 0x10
|
|
|
|
shl-int/lit8 p1, p2, 0x8
|
|
|
|
add-int/2addr p0, p1
|
|
|
|
add-int/2addr p0, p3
|
|
|
|
return p0
|
|
|
|
.line 27
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v0, "Version components are out of range: "
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
const/16 p1, 0x2e
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
.line 26
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic compareTo(Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
.line 16
|
|
check-cast p1, Lkotlin/KotlinVersion;
|
|
|
|
invoke-virtual {p0, p1}, Lkotlin/KotlinVersion;->compareTo(Lkotlin/KotlinVersion;)I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public compareTo(Lkotlin/KotlinVersion;)I
|
|
.locals 1
|
|
|
|
const-string v0, "other"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget p0, p0, Lkotlin/KotlinVersion;->version:I
|
|
|
|
.line 45
|
|
iget p1, p1, Lkotlin/KotlinVersion;->version:I
|
|
|
|
sub-int/2addr p0, p1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p0, p1, :cond_0
|
|
|
|
return v0
|
|
|
|
.line 39
|
|
:cond_0
|
|
instance-of v1, p1, Lkotlin/KotlinVersion;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
check-cast p1, Lkotlin/KotlinVersion;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
const/4 v1, 0x0
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
return v1
|
|
|
|
:cond_2
|
|
iget p0, p0, Lkotlin/KotlinVersion;->version:I
|
|
|
|
.line 40
|
|
iget p1, p1, Lkotlin/KotlinVersion;->version:I
|
|
|
|
if-ne p0, p1, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
move v0, v1
|
|
|
|
:goto_1
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getMajor()I
|
|
.locals 0
|
|
|
|
iget p0, p0, Lkotlin/KotlinVersion;->major:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final getMinor()I
|
|
.locals 0
|
|
|
|
iget p0, p0, Lkotlin/KotlinVersion;->minor:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final getPatch()I
|
|
.locals 0
|
|
|
|
iget p0, p0, Lkotlin/KotlinVersion;->patch:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 0
|
|
|
|
iget p0, p0, Lkotlin/KotlinVersion;->version:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public final isAtLeast(II)Z
|
|
.locals 1
|
|
|
|
iget v0, p0, Lkotlin/KotlinVersion;->major:I
|
|
|
|
if-gt v0, p1, :cond_1
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
iget p0, p0, Lkotlin/KotlinVersion;->minor:I
|
|
|
|
if-lt p0, p2, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, 0x1
|
|
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method public final isAtLeast(III)Z
|
|
.locals 1
|
|
|
|
iget v0, p0, Lkotlin/KotlinVersion;->major:I
|
|
|
|
if-gt v0, p1, :cond_1
|
|
|
|
if-ne v0, p1, :cond_0
|
|
|
|
iget p1, p0, Lkotlin/KotlinVersion;->minor:I
|
|
|
|
if-gt p1, p2, :cond_1
|
|
|
|
if-ne p1, p2, :cond_0
|
|
|
|
iget p0, p0, Lkotlin/KotlinVersion;->patch:I
|
|
|
|
if-lt p0, p3, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, 0x1
|
|
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
.line 35
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
iget v1, p0, Lkotlin/KotlinVersion;->major:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
const/16 v1, 0x2e
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget v2, p0, Lkotlin/KotlinVersion;->minor:I
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v0
|
|
|
|
iget p0, p0, Lkotlin/KotlinVersion;->patch:I
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(I)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
|