apkfuckery/com.discord/smali_classes2/kotlin/ranges/e.smali

43 lines
1.1 KiB
Smali
Raw Normal View History

2019-07-31 00:08:31 +00:00
.class Lkotlin/ranges/e;
2019-07-24 11:27:29 +00:00
.super Lkotlin/ranges/d;
2019-07-31 00:08:31 +00:00
.source "Ranges.kt"
2019-10-09 23:16:36 +00:00
# direct methods
.method public static final checkStepIsPositive(ZLjava/lang/Number;)V
.locals 2
const-string v0, "step"
invoke-static {p1, v0}, Lkotlin/jvm/internal/l;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
if-eqz p0, :cond_0
return-void
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Step must be positive, was: "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 p1, 0x2e
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
check-cast p0, Ljava/lang/Throwable;
throw p0
.end method