apkfuckery/com.discord/smali_classes2/j0/m/a$b$b.smali
2020-07-25 00:57:58 +00:00

96 lines
1.6 KiB
Smali

.class public final Lj0/m/a$b$b;
.super Lj0/m/a$c;
.source "FileTreeWalk.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lj0/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>(Lj0/m/a$b;Ljava/io/File;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/io/File;",
")V"
}
.end annotation
if-eqz p2, :cond_2
invoke-direct {p0, p2}, Lj0/m/a$c;-><init>(Ljava/io/File;)V
sget-boolean p1, Lj0/h;->a:Z
if-eqz p1, :cond_1
invoke-virtual {p2}, Ljava/io/File;->isFile()Z
move-result p1
sget-boolean p2, Lj0/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
:cond_2
const-string p1, "rootFile"
invoke-static {p1}, Lj0/n/c/h;->c(Ljava/lang/String;)V
const/4 p1, 0x0
throw p1
.end method
# virtual methods
.method public step()Ljava/io/File;
.locals 1
iget-boolean v0, p0, Lj0/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, Lj0/m/a$b$b;->b:Z
iget-object v0, p0, Lj0/m/a$c;->a:Ljava/io/File;
return-object v0
.end method