apkfuckery/com.discord/smali_classes2/c0/m/a$b$b.smali
2020-09-18 17:51:47 +00:00

89 lines
1.6 KiB
Smali

.class public final Lc0/m/a$b$b;
.super Lc0/m/a$c;
.source "FileTreeWalk.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lc0/m/a$b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "b"
.end annotation
# instance fields
.field public b:Z
# direct methods
.method public constructor <init>(Lc0/m/a$b;Ljava/io/File;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/io/File;",
")V"
}
.end annotation
const-string p1, "rootFile"
invoke-static {p2, p1}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
invoke-direct {p0, p2}, Lc0/m/a$c;-><init>(Ljava/io/File;)V
sget-boolean p1, Lc0/h;->a:Z
if-eqz p1, :cond_1
invoke-virtual {p2}, Ljava/io/File;->isFile()Z
move-result p1
sget-boolean p2, Lc0/h;->a:Z
if-eqz p2, :cond_1
if-eqz p1, :cond_0
goto :goto_0
:cond_0
new-instance p1, Ljava/lang/AssertionError;
const-string p2, "rootFile must be verified to be file beforehand."
invoke-direct {p1, p2}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
throw p1
:cond_1
:goto_0
return-void
.end method
# virtual methods
.method public step()Ljava/io/File;
.locals 1
iget-boolean v0, p0, Lc0/m/a$b$b;->b:Z
if-eqz v0, :cond_0
const/4 v0, 0x0
return-object v0
:cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Lc0/m/a$b$b;->b:Z
iget-object v0, p0, Lc0/m/a$c;->a:Ljava/io/File;
return-object v0
.end method