You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
2.3 KiB
113 lines
2.3 KiB
2 years ago
|
.class final Lcom/google/common/io/Files$2;
|
||
|
.super Lcom/google/common/collect/TreeTraverser;
|
||
|
.source "Files.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
||
|
value = Lcom/google/common/io/Files;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x8
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lcom/google/common/collect/TreeTraverser",
|
||
|
"<",
|
||
|
"Ljava/io/File;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>()V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 984
|
||
|
invoke-direct {p0}, Lcom/google/common/collect/TreeTraverser;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public children(Ljava/io/File;)Ljava/lang/Iterable;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Ljava/io/File;",
|
||
|
")",
|
||
|
"Ljava/lang/Iterable",
|
||
|
"<",
|
||
|
"Ljava/io/File;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 988
|
||
|
invoke-virtual {p1}, Ljava/io/File;->isDirectory()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 989
|
||
|
invoke-virtual {p1}, Ljava/io/File;->listFiles()[Ljava/io/File;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 990
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 991
|
||
|
invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-static {v0}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 995
|
||
|
:goto_0
|
||
|
return-object v0
|
||
|
|
||
|
:cond_0
|
||
|
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic children(Ljava/lang/Object;)Ljava/lang/Iterable;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 984
|
||
|
check-cast p1, Ljava/io/File;
|
||
|
|
||
|
invoke-virtual {p0, p1}, Lcom/google/common/io/Files$2;->children(Ljava/io/File;)Ljava/lang/Iterable;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public toString()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 1000
|
||
|
const-string v0, "Files.fileTreeTraverser()"
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|