2020-11-13 01:15:36 +00:00
|
|
|
.class public final Ly/m/a$b$a;
|
|
|
|
.super Ly/m/a$a;
|
2020-11-12 02:11:44 +00:00
|
|
|
.source "FileTreeWalk.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
2020-11-13 01:15:36 +00:00
|
|
|
value = Ly/m/a$b;
|
2020-11-12 02:11:44 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x11
|
|
|
|
name = "a"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public b:Z
|
|
|
|
|
|
|
|
.field public c:[Ljava/io/File;
|
|
|
|
|
|
|
|
.field public d:I
|
|
|
|
|
|
|
|
.field public e:Z
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
.field public final synthetic f:Ly/m/a$b;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-11-13 01:15:36 +00:00
|
|
|
.method public constructor <init>(Ly/m/a$b;Ljava/io/File;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Ljava/io/File;",
|
|
|
|
")V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
const-string v0, "rootDir"
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-static {p2, v0}, Ly/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iput-object p1, p0, Ly/m/a$b$a;->f:Ly/m/a$b;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-direct {p0, p2}, Ly/m/a$a;-><init>(Ljava/io/File;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public step()Ljava/io/File;
|
|
|
|
.locals 8
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-boolean v0, p0, Ly/m/a$b$a;->e:Z
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, p0, Ly/m/a$b$a;->c:[Ljava/io/File;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, p0, Ly/m/a$b$a;->f:Ly/m/a$b;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, v0, Ly/m/a$b;->g:Ly/m/a;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, v0, Ly/m/a;->c:Lkotlin/jvm/functions/Function1;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v3, p0, Ly/m/a$c;->a:Ljava/io/File;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, v3}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Ljava/lang/Boolean;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return-object v2
|
|
|
|
|
|
|
|
:cond_0
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, p0, Ly/m/a$c;->a:Ljava/io/File;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/io/File;->listFiles()[Ljava/io/File;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iput-object v0, p0, Ly/m/a$b$a;->c:[Ljava/io/File;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, p0, Ly/m/a$b$a;->f:Ly/m/a$b;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, v0, Ly/m/a$b;->g:Ly/m/a;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, v0, Ly/m/a;->e:Lkotlin/jvm/functions/Function2;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v3, p0, Ly/m/a$c;->a:Ljava/io/File;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
new-instance v4, Lkotlin/io/AccessDeniedException;
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v5, p0, Ly/m/a$c;->a:Ljava/io/File;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
const/4 v6, 0x2
|
|
|
|
|
|
|
|
const-string v7, "Cannot list files in a directory"
|
|
|
|
|
|
|
|
invoke-direct {v4, v5, v2, v7, v6}, Lkotlin/io/AccessDeniedException;-><init>(Ljava/io/File;Ljava/io/File;Ljava/lang/String;I)V
|
|
|
|
|
|
|
|
invoke-interface {v0, v3, v4}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lkotlin/Unit;
|
|
|
|
|
|
|
|
:cond_1
|
2020-11-13 01:15:36 +00:00
|
|
|
iput-boolean v1, p0, Ly/m/a$b$a;->e:Z
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
:cond_2
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, p0, Ly/m/a$b$a;->c:[Ljava/io/File;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget v3, p0, Ly/m/a$b$a;->d:I
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-static {v0}, Ly/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
array-length v0, v0
|
|
|
|
|
|
|
|
if-ge v3, v0, :cond_3
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, p0, Ly/m/a$b$a;->c:[Ljava/io/File;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
invoke-static {v0}, Ly/n/c/j;->checkNotNull(Ljava/lang/Object;)V
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget v1, p0, Ly/m/a$b$a;->d:I
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iput v2, p0, Ly/m/a$b$a;->d:I
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
aget-object v0, v0, v1
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_3
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-boolean v0, p0, Ly/m/a$b$a;->b:Z
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iput-boolean v1, p0, Ly/m/a$b$a;->b:Z
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, p0, Ly/m/a$c;->a:Ljava/io/File;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_4
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, p0, Ly/m/a$b$a;->f:Ly/m/a$b;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, v0, Ly/m/a$b;->g:Ly/m/a;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v0, v0, Ly/m/a;->d:Lkotlin/jvm/functions/Function1;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
|
2020-11-13 01:15:36 +00:00
|
|
|
iget-object v1, p0, Ly/m/a$c;->a:Ljava/io/File;
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lkotlin/Unit;
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
return-object v2
|
|
|
|
.end method
|