public final class com.google.common.io.Files
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.io.Files
super_class: java.lang.Object
{
private static final int TEMP_DIR_ATTEMPTS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10000
private static final com.google.common.collect.TreeTraverser<java.io.File> FILE_TREE_TRAVERSER;
descriptor: Lcom/google/common/collect/TreeTraverser;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lcom/google/common/collect/TreeTraverser<Ljava/io/File;>;
private static final com.google.common.graph.SuccessorsFunction<java.io.File> FILE_TREE;
descriptor: Lcom/google/common/graph/SuccessorsFunction;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lcom/google/common/graph/SuccessorsFunction<Ljava/io/File;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.google.common.io.Files$1
dup
invokespecial com.google.common.io.Files$1.<init>:()V
1: putstatic com.google.common.io.Files.FILE_TREE_TRAVERSER:Lcom/google/common/collect/TreeTraverser;
2: new com.google.common.io.Files$2
dup
invokespecial com.google.common.io.Files$2.<init>:()V
3: putstatic com.google.common.io.Files.FILE_TREE:Lcom/google/common/graph/SuccessorsFunction;
4: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/io/Files;
public static java.io.BufferedReader newReader(java.io.File, java.nio.charset.Charset);
descriptor: (Ljava/io/File;Ljava/nio/charset/Charset;)Ljava/io/BufferedReader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
new java.io.FileInputStream
dup
aload 0
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
aload 1
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 file Ljava/io/File;
0 3 1 charset Ljava/nio/charset/Charset;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
file
charset
public static java.io.BufferedWriter newWriter(java.io.File, java.nio.charset.Charset);
descriptor: (Ljava/io/File;Ljava/nio/charset/Charset;)Ljava/io/BufferedWriter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: new java.io.BufferedWriter
dup
new java.io.OutputStreamWriter
dup
new java.io.FileOutputStream
dup
aload 0
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
aload 1
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 file Ljava/io/File;
0 3 1 charset Ljava/nio/charset/Charset;
Exceptions:
throws java.io.FileNotFoundException
MethodParameters:
Name Flags
file
charset
public static com.google.common.io.ByteSource asByteSource(java.io.File);
descriptor: (Ljava/io/File;)Lcom/google/common/io/ByteSource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.io.Files$FileByteSource
dup
aload 0
invokespecial com.google.common.io.Files$FileByteSource.<init>:(Ljava/io/File;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
MethodParameters:
Name Flags
file
public static com.google.common.io.ByteSink asByteSink(java.io.File, com.google.common.io.FileWriteMode[]);
descriptor: (Ljava/io/File;[Lcom/google/common/io/FileWriteMode;)Lcom/google/common/io/ByteSink;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.common.io.Files$FileByteSink
dup
aload 0
aload 1
invokespecial com.google.common.io.Files$FileByteSink.<init>:(Ljava/io/File;[Lcom/google/common/io/FileWriteMode;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
0 1 1 modes [Lcom/google/common/io/FileWriteMode;
MethodParameters:
Name Flags
file
modes
public static com.google.common.io.CharSource asCharSource(java.io.File, java.nio.charset.Charset);
descriptor: (Ljava/io/File;Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.io.Files.asByteSource:(Ljava/io/File;)Lcom/google/common/io/ByteSource;
aload 1
invokevirtual com.google.common.io.ByteSource.asCharSource:(Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
0 1 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
file
charset
public static com.google.common.io.CharSink asCharSink(java.io.File, java.nio.charset.Charset, com.google.common.io.FileWriteMode[]);
descriptor: (Ljava/io/File;Ljava/nio/charset/Charset;[Lcom/google/common/io/FileWriteMode;)Lcom/google/common/io/CharSink;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokestatic com.google.common.io.Files.asByteSink:(Ljava/io/File;[Lcom/google/common/io/FileWriteMode;)Lcom/google/common/io/ByteSink;
aload 1
invokevirtual com.google.common.io.ByteSink.asCharSink:(Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSink;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
0 1 1 charset Ljava/nio/charset/Charset;
0 1 2 modes [Lcom/google/common/io/FileWriteMode;
MethodParameters:
Name Flags
file
charset
modes
public static byte[] toByteArray(java.io.File);
descriptor: (Ljava/io/File;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.io.Files.asByteSource:(Ljava/io/File;)Lcom/google/common/io/ByteSource;
invokevirtual com.google.common.io.ByteSource.read:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public static java.lang.String toString(java.io.File, java.nio.charset.Charset);
descriptor: (Ljava/io/File;Ljava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.io.Files.asCharSource:(Ljava/io/File;Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource;
invokevirtual com.google.common.io.CharSource.read:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
0 1 1 charset Ljava/nio/charset/Charset;
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
file
charset
public static void write(byte[], java.io.File);
descriptor: ([BLjava/io/File;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
anewarray com.google.common.io.FileWriteMode
invokestatic com.google.common.io.Files.asByteSink:(Ljava/io/File;[Lcom/google/common/io/FileWriteMode;)Lcom/google/common/io/ByteSink;
aload 0
invokevirtual com.google.common.io.ByteSink.write:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 from [B
0 2 1 to Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
from
to
public static void write(java.lang.CharSequence, java.io.File, java.nio.charset.Charset);
descriptor: (Ljava/lang/CharSequence;Ljava/io/File;Ljava/nio/charset/Charset;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
iconst_0
anewarray com.google.common.io.FileWriteMode
invokestatic com.google.common.io.Files.asCharSink:(Ljava/io/File;Ljava/nio/charset/Charset;[Lcom/google/common/io/FileWriteMode;)Lcom/google/common/io/CharSink;
aload 0
invokevirtual com.google.common.io.CharSink.write:(Ljava/lang/CharSequence;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 from Ljava/lang/CharSequence;
0 2 1 to Ljava/io/File;
0 2 2 charset Ljava/nio/charset/Charset;
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
from
to
charset
public static void copy(java.io.File, java.io.OutputStream);
descriptor: (Ljava/io/File;Ljava/io/OutputStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.io.Files.asByteSource:(Ljava/io/File;)Lcom/google/common/io/ByteSource;
aload 1
invokevirtual com.google.common.io.ByteSource.copyTo:(Ljava/io/OutputStream;)J
pop2
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 from Ljava/io/File;
0 2 1 to Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
from
to
public static void copy(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ldc "Source %s and destination %s must be different"
aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: aload 0
invokestatic com.google.common.io.Files.asByteSource:(Ljava/io/File;)Lcom/google/common/io/ByteSource;
aload 1
iconst_0
anewarray com.google.common.io.FileWriteMode
invokestatic com.google.common.io.Files.asByteSink:(Ljava/io/File;[Lcom/google/common/io/FileWriteMode;)Lcom/google/common/io/ByteSink;
invokevirtual com.google.common.io.ByteSource.copyTo:(Lcom/google/common/io/ByteSink;)J
pop2
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 from Ljava/io/File;
0 5 1 to Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
from
to
public static void copy(java.io.File, java.nio.charset.Charset, java.lang.Appendable);
descriptor: (Ljava/io/File;Ljava/nio/charset/Charset;Ljava/lang/Appendable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic com.google.common.io.Files.asCharSource:(Ljava/io/File;Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource;
aload 2
invokevirtual com.google.common.io.CharSource.copyTo:(Ljava/lang/Appendable;)J
pop2
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 from Ljava/io/File;
0 2 1 charset Ljava/nio/charset/Charset;
0 2 2 to Ljava/lang/Appendable;
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
from
charset
to
public static void append(java.lang.CharSequence, java.io.File, java.nio.charset.Charset);
descriptor: (Ljava/lang/CharSequence;Ljava/io/File;Ljava/nio/charset/Charset;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
iconst_1
anewarray com.google.common.io.FileWriteMode
dup
iconst_0
getstatic com.google.common.io.FileWriteMode.APPEND:Lcom/google/common/io/FileWriteMode;
aastore
invokestatic com.google.common.io.Files.asCharSink:(Ljava/io/File;Ljava/nio/charset/Charset;[Lcom/google/common/io/FileWriteMode;)Lcom/google/common/io/CharSink;
aload 0
invokevirtual com.google.common.io.CharSink.write:(Ljava/lang/CharSequence;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 from Ljava/lang/CharSequence;
0 2 1 to Ljava/io/File;
0 2 2 charset Ljava/nio/charset/Charset;
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
from
to
charset
public static boolean equal(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
if_acmpeq 3
aload 0
aload 1
invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.length:()J
lstore 2
start local 2 5: aload 1
invokevirtual java.io.File.length:()J
lstore 4
start local 4 6: lload 2
lconst_0
lcmp
ifeq 8
lload 4
lconst_0
lcmp
ifeq 8
lload 2
lload 4
lcmp
ifeq 8
7: iconst_0
ireturn
8: StackMap locals: long long
StackMap stack:
aload 0
invokestatic com.google.common.io.Files.asByteSource:(Ljava/io/File;)Lcom/google/common/io/ByteSource;
aload 1
invokestatic com.google.common.io.Files.asByteSource:(Ljava/io/File;)Lcom/google/common/io/ByteSource;
invokevirtual com.google.common.io.ByteSource.contentEquals:(Lcom/google/common/io/ByteSource;)Z
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 file1 Ljava/io/File;
0 9 1 file2 Ljava/io/File;
5 9 2 len1 J
6 9 4 len2 J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file1
file2
public static java.io.File createTempDir();
descriptor: ()Ljava/io/File;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=0
0: new java.io.File
dup
ldc "java.io.tmpdir"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 0
start local 0 1: new java.lang.StringBuilder
dup
invokestatic java.lang.System.currentTimeMillis:()J
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 8
4: StackMap locals: java.io.File java.lang.String int
StackMap stack:
new java.io.File
dup
aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 3
start local 3 5: aload 3
invokevirtual java.io.File.mkdir:()Z
ifeq 7
6: aload 3
areturn
end local 3 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
sipush 10000
if_icmplt 4
end local 2 9: new java.lang.IllegalStateException
dup
10: new java.lang.StringBuilder
dup
ldc "Failed to create directory within 10000 attempts (tried "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc "0 to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: sipush 9999
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
15: bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
16: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 18 0 baseDir Ljava/io/File;
2 18 1 baseName Ljava/lang/String;
3 9 2 counter I
5 7 3 tempDir Ljava/io/File;
public static void touch(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.io.File.createNewFile:()Z
ifne 3
aload 0
invokestatic java.lang.System.currentTimeMillis:()J
invokevirtual java.io.File.setLastModified:(J)Z
ifne 3
2: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unable to update modification time of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public static void createParentDirs(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
astore 1
start local 1 2: aload 1
ifnonnull 4
3: return
4: StackMap locals: java.io.File
StackMap stack:
aload 1
invokevirtual java.io.File.mkdirs:()Z
pop
5: aload 1
invokevirtual java.io.File.isDirectory:()Z
ifne 7
6: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unable to create parent directories of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 file Ljava/io/File;
2 8 1 parent Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public static void move(java.io.File, java.io.File);
descriptor: (Ljava/io/File;Ljava/io/File;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
invokevirtual java.io.File.equals:(Ljava/lang/Object;)Z
ifeq 3
iconst_0
goto 4
StackMap locals:
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: ldc "Source %s and destination %s must be different"
aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
5: aload 0
aload 1
invokevirtual java.io.File.renameTo:(Ljava/io/File;)Z
ifne 11
6: aload 0
aload 1
invokestatic com.google.common.io.Files.copy:(Ljava/io/File;Ljava/io/File;)V
7: aload 0
invokevirtual java.io.File.delete:()Z
ifne 11
8: aload 1
invokevirtual java.io.File.delete:()Z
ifne 10
9: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unable to delete "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Unable to delete "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 from Ljava/io/File;
0 12 1 to Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
from
to
public static java.lang.String readFirstLine(java.io.File, java.nio.charset.Charset);
descriptor: (Ljava/io/File;Ljava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.io.Files.asCharSource:(Ljava/io/File;Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource;
invokevirtual com.google.common.io.CharSource.readFirstLine:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
0 1 1 charset Ljava/nio/charset/Charset;
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
file
charset
public static java.util.List<java.lang.String> readLines(java.io.File, java.nio.charset.Charset);
descriptor: (Ljava/io/File;Ljava/nio/charset/Charset;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.io.Files.asCharSource:(Ljava/io/File;Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource;
1: new com.google.common.io.Files$3
dup
invokespecial com.google.common.io.Files$3.<init>:()V
2: invokevirtual com.google.common.io.CharSource.readLines:(Lcom/google/common/io/LineProcessor;)Ljava/lang/Object;
checkcast java.util.List
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 file Ljava/io/File;
0 4 1 charset Ljava/nio/charset/Charset;
Exceptions:
throws java.io.IOException
Signature: (Ljava/io/File;Ljava/nio/charset/Charset;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
file
charset
public static <T> T readLines(java.io.File, java.nio.charset.Charset, com.google.common.io.LineProcessor<T>);
descriptor: (Ljava/io/File;Ljava/nio/charset/Charset;Lcom/google/common/io/LineProcessor;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic com.google.common.io.Files.asCharSource:(Ljava/io/File;Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource;
aload 2
invokevirtual com.google.common.io.CharSource.readLines:(Lcom/google/common/io/LineProcessor;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
0 1 1 charset Ljava/nio/charset/Charset;
0 1 2 callback Lcom/google/common/io/LineProcessor<TT;>;
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Ljava/io/File;Ljava/nio/charset/Charset;Lcom/google/common/io/LineProcessor<TT;>;)TT;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
file
charset
callback
public static <T> T readBytes(java.io.File, com.google.common.io.ByteProcessor<T>);
descriptor: (Ljava/io/File;Lcom/google/common/io/ByteProcessor;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.io.Files.asByteSource:(Ljava/io/File;)Lcom/google/common/io/ByteSource;
aload 1
invokevirtual com.google.common.io.ByteSource.read:(Lcom/google/common/io/ByteProcessor;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
0 1 1 processor Lcom/google/common/io/ByteProcessor<TT;>;
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Ljava/io/File;Lcom/google/common/io/ByteProcessor<TT;>;)TT;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
file
processor
public static com.google.common.hash.HashCode hash(java.io.File, com.google.common.hash.HashFunction);
descriptor: (Ljava/io/File;Lcom/google/common/hash/HashFunction;)Lcom/google/common/hash/HashCode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.io.Files.asByteSource:(Ljava/io/File;)Lcom/google/common/io/ByteSource;
aload 1
invokevirtual com.google.common.io.ByteSource.hash:(Lcom/google/common/hash/HashFunction;)Lcom/google/common/hash/HashCode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 file Ljava/io/File;
0 1 1 hashFunction Lcom/google/common/hash/HashFunction;
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
file
hashFunction
public static java.nio.MappedByteBuffer map(java.io.File);
descriptor: (Ljava/io/File;)Ljava/nio/MappedByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getstatic java.nio.channels.FileChannel$MapMode.READ_ONLY:Ljava/nio/channels/FileChannel$MapMode;
invokestatic com.google.common.io.Files.map:(Ljava/io/File;Ljava/nio/channels/FileChannel$MapMode;)Ljava/nio/MappedByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public static java.nio.MappedByteBuffer map(java.io.File, java.nio.channels.FileChannel$MapMode);
descriptor: (Ljava/io/File;Ljava/nio/channels/FileChannel$MapMode;)Ljava/nio/MappedByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
invokevirtual java.io.File.exists:()Z
ifne 4
3: new java.io.FileNotFoundException
dup
aload 0
invokevirtual java.io.File.toString:()Ljava/lang/String;
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
invokevirtual java.io.File.length:()J
invokestatic com.google.common.io.Files.map:(Ljava/io/File;Ljava/nio/channels/FileChannel$MapMode;J)Ljava/nio/MappedByteBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 file Ljava/io/File;
0 5 1 mode Ljava/nio/channels/FileChannel$MapMode;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
mode
public static java.nio.MappedByteBuffer map(java.io.File, java.nio.channels.FileChannel$MapMode, long);
descriptor: (Ljava/io/File;Ljava/nio/channels/FileChannel$MapMode;J)Ljava/nio/MappedByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: invokestatic com.google.common.io.Closer.create:()Lcom/google/common/io/Closer;
astore 4
start local 4 3: aload 4
4: new java.io.RandomAccessFile
dup
aload 0
aload 1
getstatic java.nio.channels.FileChannel$MapMode.READ_ONLY:Ljava/nio/channels/FileChannel$MapMode;
if_acmpne 5
ldc "r"
goto 6
StackMap locals: java.io.File java.nio.channels.FileChannel$MapMode long com.google.common.io.Closer
StackMap stack: com.google.common.io.Closer new 4 new 4 java.io.File
5: ldc "rw"
StackMap locals: java.io.File java.nio.channels.FileChannel$MapMode long com.google.common.io.Closer
StackMap stack: com.google.common.io.Closer new 4 new 4 java.io.File java.lang.String
6: invokespecial java.io.RandomAccessFile.<init>:(Ljava/io/File;Ljava/lang/String;)V
invokevirtual com.google.common.io.Closer.register:(Ljava/io/Closeable;)Ljava/io/Closeable;
checkcast java.io.RandomAccessFile
7: astore 5
start local 5 8: aload 5
aload 1
lload 2
invokestatic com.google.common.io.Files.map:(Ljava/io/RandomAccessFile;Ljava/nio/channels/FileChannel$MapMode;J)Ljava/nio/MappedByteBuffer;
astore 7
9: aload 4
invokevirtual com.google.common.io.Closer.close:()V
10: aload 7
areturn
end local 5 11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 12: aload 4
aload 5
invokevirtual com.google.common.io.Closer.rethrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 5 13: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
14: aload 4
invokevirtual com.google.common.io.Closer.close:()V
15: aload 6
athrow
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 file Ljava/io/File;
0 16 1 mode Ljava/nio/channels/FileChannel$MapMode;
0 16 2 size J
3 16 4 closer Lcom/google/common/io/Closer;
8 11 5 raf Ljava/io/RandomAccessFile;
12 13 5 e Ljava/lang/Throwable;
Exception table:
from to target type
3 9 11 Class java.lang.Throwable
3 9 13 any
11 13 13 any
Exceptions:
throws java.io.FileNotFoundException, java.io.IOException
MethodParameters:
Name Flags
file
mode
size
private static java.nio.MappedByteBuffer map(java.io.RandomAccessFile, java.nio.channels.FileChannel$MapMode, long);
descriptor: (Ljava/io/RandomAccessFile;Ljava/nio/channels/FileChannel$MapMode;J)Ljava/nio/MappedByteBuffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: invokestatic com.google.common.io.Closer.create:()Lcom/google/common/io/Closer;
astore 4
start local 4 1: aload 4
aload 0
invokevirtual java.io.RandomAccessFile.getChannel:()Ljava/nio/channels/FileChannel;
invokevirtual com.google.common.io.Closer.register:(Ljava/io/Closeable;)Ljava/io/Closeable;
checkcast java.nio.channels.FileChannel
astore 5
start local 5 2: aload 5
aload 1
lconst_0
lload 2
invokevirtual java.nio.channels.FileChannel.map:(Ljava/nio/channels/FileChannel$MapMode;JJ)Ljava/nio/MappedByteBuffer;
astore 7
3: aload 4
invokevirtual com.google.common.io.Closer.close:()V
4: aload 7
areturn
end local 5 5: StackMap locals: java.io.RandomAccessFile java.nio.channels.FileChannel$MapMode long com.google.common.io.Closer
StackMap stack: java.lang.Throwable
astore 5
start local 5 6: aload 4
aload 5
invokevirtual com.google.common.io.Closer.rethrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
end local 5 7: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
8: aload 4
invokevirtual com.google.common.io.Closer.close:()V
9: aload 6
athrow
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 raf Ljava/io/RandomAccessFile;
0 10 1 mode Ljava/nio/channels/FileChannel$MapMode;
0 10 2 size J
1 10 4 closer Lcom/google/common/io/Closer;
2 5 5 channel Ljava/nio/channels/FileChannel;
6 7 5 e Ljava/lang/Throwable;
Exception table:
from to target type
1 3 5 Class java.lang.Throwable
1 3 7 any
5 7 7 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
raf
mode
size
public static java.lang.String simplifyPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.String.length:()I
ifne 3
2: ldc "."
areturn
3: StackMap locals:
StackMap stack:
bipush 47
invokestatic com.google.common.base.Splitter.on:(C)Lcom/google/common/base/Splitter;
invokevirtual com.google.common.base.Splitter.omitEmptyStrings:()Lcom/google/common/base/Splitter;
aload 0
invokevirtual com.google.common.base.Splitter.split:(Ljava/lang/CharSequence;)Ljava/lang/Iterable;
astore 1
start local 1 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 5: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 16
StackMap locals: java.lang.String java.lang.Iterable java.util.List top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 7: aload 3
dup
astore 5
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
46: 8
1472: 9
default: 15
}
StackMap locals: java.lang.String java.lang.Iterable java.util.List java.lang.String java.util.Iterator java.lang.String
StackMap stack:
8: aload 5
ldc "."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
goto 15
StackMap locals:
StackMap stack:
9: aload 5
ldc ".."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
goto 15
10: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.size:()I
ifle 13
aload 2
aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
ldc ".."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
11: aload 2
aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
12: goto 16
13: StackMap locals:
StackMap stack:
aload 2
ldc ".."
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: goto 16
15: StackMap locals:
StackMap stack:
aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 16: StackMap locals: java.lang.String java.lang.Iterable java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
17: bipush 47
invokestatic com.google.common.base.Joiner.on:(C)Lcom/google/common/base/Joiner;
aload 2
invokevirtual com.google.common.base.Joiner.join:(Ljava/lang/Iterable;)Ljava/lang/String;
astore 3
start local 3 18: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 22
19: new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
20: goto 22
21: StackMap locals: java.lang.String java.lang.Iterable java.util.List java.lang.String
StackMap stack:
aload 3
iconst_3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
22: StackMap locals:
StackMap stack:
aload 3
ldc "/../"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 21
23: aload 3
ldc "/.."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: ldc "/"
astore 3
25: goto 28
StackMap locals:
StackMap stack:
26: ldc ""
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
27: ldc "."
astore 3
28: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 pathname Ljava/lang/String;
4 29 1 components Ljava/lang/Iterable<Ljava/lang/String;>;
5 29 2 path Ljava/util/List<Ljava/lang/String;>;
7 16 3 component Ljava/lang/String;
18 29 3 result Ljava/lang/String;
MethodParameters:
Name Flags
pathname
public static java.lang.String getFileExtension(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 1
start local 1 2: aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 3: iload 2
iconst_m1
if_icmpne 4
ldc ""
goto 5
StackMap locals: java.lang.String int
StackMap stack:
4: aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
5: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 fullName Ljava/lang/String;
2 6 1 fileName Ljava/lang/String;
3 6 2 dotIndex I
MethodParameters:
Name Flags
fullName
public static java.lang.String getNameWithoutExtension(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 1
start local 1 2: aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 3: iload 2
iconst_m1
if_icmpne 4
aload 1
goto 5
StackMap locals: java.lang.String int
StackMap stack:
4: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
5: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 file Ljava/lang/String;
2 6 1 fileName Ljava/lang/String;
3 6 2 dotIndex I
MethodParameters:
Name Flags
file
static com.google.common.collect.TreeTraverser<java.io.File> fileTreeTraverser();
descriptor: ()Lcom/google/common/collect/TreeTraverser;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.io.Files.FILE_TREE_TRAVERSER:Lcom/google/common/collect/TreeTraverser;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/collect/TreeTraverser<Ljava/io/File;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static com.google.common.graph.Traverser<java.io.File> fileTraverser();
descriptor: ()Lcom/google/common/graph/Traverser;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.io.Files.FILE_TREE:Lcom/google/common/graph/SuccessorsFunction;
invokestatic com.google.common.graph.Traverser.forTree:(Lcom/google/common/graph/SuccessorsFunction;)Lcom/google/common/graph/Traverser;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/graph/Traverser<Ljava/io/File;>;
private static java.lang.Iterable<java.io.File> fileTreeChildren(java.io.File);
descriptor: (Ljava/io/File;)Ljava/lang/Iterable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.io.File.isDirectory:()Z
ifeq 4
1: aload 0
invokevirtual java.io.File.listFiles:()[Ljava/io/File;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 1 4: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 file Ljava/io/File;
2 4 1 files [Ljava/io/File;
Signature: (Ljava/io/File;)Ljava/lang/Iterable<Ljava/io/File;>;
MethodParameters:
Name Flags
file
public static com.google.common.base.Predicate<java.io.File> isDirectory();
descriptor: ()Lcom/google/common/base/Predicate;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.io.Files$FilePredicate.IS_DIRECTORY:Lcom/google/common/io/Files$FilePredicate;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/base/Predicate<Ljava/io/File;>;
public static com.google.common.base.Predicate<java.io.File> isFile();
descriptor: ()Lcom/google/common/base/Predicate;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.io.Files$FilePredicate.IS_FILE:Lcom/google/common/io/Files$FilePredicate;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/base/Predicate<Ljava/io/File;>;
}
SourceFile: "Files.java"
NestMembers:
com.google.common.io.Files$1 com.google.common.io.Files$2 com.google.common.io.Files$3 com.google.common.io.Files$FileByteSink com.google.common.io.Files$FileByteSource com.google.common.io.Files$FilePredicate com.google.common.io.Files$FilePredicate$1 com.google.common.io.Files$FilePredicate$2
InnerClasses:
com.google.common.io.Files$1
com.google.common.io.Files$2
com.google.common.io.Files$3
private final FileByteSink = com.google.common.io.Files$FileByteSink of com.google.common.io.Files
private final FileByteSource = com.google.common.io.Files$FileByteSource of com.google.common.io.Files
private abstract FilePredicate = com.google.common.io.Files$FilePredicate of com.google.common.io.Files
public MapMode = java.nio.channels.FileChannel$MapMode of java.nio.channels.FileChannel
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()