apkfuckery/com.discord/smali_classes2/y/u/c$b$b.smali
2020-05-08 01:11:04 +02:00

96 lines
1.6 KiB
Smali

.class public final Ly/u/c$b$b;
.super Ly/u/c$c;
.source "FileTreeWalk.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Ly/u/c$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>(Ly/u/c$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}, Ly/u/c$c;-><init>(Ljava/io/File;)V
sget-boolean p1, Ly/p;->a:Z
if-eqz p1, :cond_1
invoke-virtual {p2}, Ljava/io/File;->isFile()Z
move-result p1
sget-boolean p2, Ly/p;->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}, Ly/v/b/j;->a(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, Ly/u/c$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, Ly/u/c$b$b;->b:Z
iget-object v0, p0, Ly/u/c$c;->a:Ljava/io/File;
return-object v0
.end method