251 lines
4.8 KiB
Smali
251 lines
4.8 KiB
Smali
.class public final Ly/u/c$b;
|
|
.super Ly/q/c;
|
|
.source "FileTreeWalk.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Ly/u/c;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x11
|
|
name = "b"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Ly/u/c$b$a;,
|
|
Ly/u/c$b$c;,
|
|
Ly/u/c$b$b;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ly/q/c<",
|
|
"Ljava/io/File;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final f:Ljava/util/ArrayDeque;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/ArrayDeque<",
|
|
"Ly/u/c$c;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final synthetic g:Ly/u/c;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ly/u/c;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Ly/u/c$b;->g:Ly/u/c;
|
|
|
|
invoke-direct {p0}, Ly/q/c;-><init>()V
|
|
|
|
new-instance v0, Ljava/util/ArrayDeque;
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayDeque;-><init>()V
|
|
|
|
iput-object v0, p0, Ly/u/c$b;->f:Ljava/util/ArrayDeque;
|
|
|
|
iget-object v0, p1, Ly/u/c;->a:Ljava/io/File;
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->isDirectory()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Ly/u/c$b;->f:Ljava/util/ArrayDeque;
|
|
|
|
iget-object p1, p1, Ly/u/c;->a:Ljava/io/File;
|
|
|
|
invoke-virtual {p0, p1}, Ly/u/c$b;->a(Ljava/io/File;)Ly/u/c$a;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/ArrayDeque;->push(Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p1, Ly/u/c;->a:Ljava/io/File;
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->isFile()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Ly/u/c$b;->f:Ljava/util/ArrayDeque;
|
|
|
|
new-instance v1, Ly/u/c$b$b;
|
|
|
|
iget-object p1, p1, Ly/u/c;->a:Ljava/io/File;
|
|
|
|
invoke-direct {v1, p0, p1}, Ly/u/c$b$b;-><init>(Ly/u/c$b;Ljava/io/File;)V
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/ArrayDeque;->push(Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
sget-object p1, Ly/q/w;->f:Ly/q/w;
|
|
|
|
iput-object p1, p0, Ly/q/c;->d:Ly/q/w;
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Ljava/io/File;)Ly/u/c$a;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Ly/u/c$b;->g:Ly/u/c;
|
|
|
|
iget-object v0, v0, Ly/u/c;->b:Ly/u/e;
|
|
|
|
sget-object v1, Ly/u/d;->a:[I
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result v0
|
|
|
|
aget v0, v1, v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
const/4 v1, 0x2
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
new-instance v0, Ly/u/c$b$a;
|
|
|
|
invoke-direct {v0, p0, p1}, Ly/u/c$b$a;-><init>(Ly/u/c$b;Ljava/io/File;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
new-instance p1, Ly/g;
|
|
|
|
invoke-direct {p1}, Ly/g;-><init>()V
|
|
|
|
throw p1
|
|
|
|
:cond_1
|
|
new-instance v0, Ly/u/c$b$c;
|
|
|
|
invoke-direct {v0, p0, p1}, Ly/u/c$b$c;-><init>(Ly/u/c$b;Ljava/io/File;)V
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public a()V
|
|
.locals 3
|
|
|
|
:goto_0
|
|
iget-object v0, p0, Ly/u/c$b;->f:Ljava/util/ArrayDeque;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayDeque;->peek()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ly/u/c$c;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
invoke-virtual {v0}, Ly/u/c$c;->step()Ljava/io/File;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
iget-object v0, p0, Ly/u/c$b;->f:Ljava/util/ArrayDeque;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayDeque;->pop()Ljava/lang/Object;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, v0, Ly/u/c$c;->a:Ljava/io/File;
|
|
|
|
invoke-static {v1, v0}, Ly/v/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
invoke-virtual {v1}, Ljava/io/File;->isDirectory()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
iget-object v0, p0, Ly/u/c$b;->f:Ljava/util/ArrayDeque;
|
|
|
|
invoke-virtual {v0}, Ljava/util/ArrayDeque;->size()I
|
|
|
|
move-result v0
|
|
|
|
iget-object v2, p0, Ly/u/c$b;->g:Ly/u/c;
|
|
|
|
iget v2, v2, Ly/u/c;->f:I
|
|
|
|
if-lt v0, v2, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Ly/u/c$b;->f:Ljava/util/ArrayDeque;
|
|
|
|
invoke-virtual {p0, v1}, Ly/u/c$b;->a(Ljava/io/File;)Ly/u/c$a;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/ArrayDeque;->push(Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
const/4 v1, 0x0
|
|
|
|
:cond_3
|
|
:goto_1
|
|
if-eqz v1, :cond_4
|
|
|
|
iput-object v1, p0, Ly/q/c;->e:Ljava/lang/Object;
|
|
|
|
sget-object v0, Ly/q/w;->d:Ly/q/w;
|
|
|
|
iput-object v0, p0, Ly/q/c;->d:Ly/q/w;
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
sget-object v0, Ly/q/w;->f:Ly/q/w;
|
|
|
|
iput-object v0, p0, Ly/q/c;->d:Ly/q/w;
|
|
|
|
:goto_2
|
|
return-void
|
|
.end method
|