public final class java.nio.file.Files
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.nio.file.Files
super_class: java.lang.Object
{
private static final int BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8192
private static final java.util.Set<java.nio.file.OpenOption> DEFAULT_CREATE_OPTIONS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/nio/file/OpenOption;>;
private static final jdk.internal.access.JavaLangAccess JLA;
descriptor: Ljdk/internal/access/JavaLangAccess;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$java$nio$file$FileTreeWalker$EventType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljava/nio/file/Files;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic java.nio.file.Files.$assertionsDisabled:Z
3: getstatic java.nio.file.StandardOpenOption.CREATE_NEW:Ljava/nio/file/StandardOpenOption;
getstatic java.nio.file.StandardOpenOption.WRITE:Ljava/nio/file/StandardOpenOption;
invokestatic java.util.Set.of:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;
4: putstatic java.nio.file.Files.DEFAULT_CREATE_OPTIONS:Ljava/util/Set;
5: invokestatic jdk.internal.access.SharedSecrets.getJavaLangAccess:()Ljdk/internal/access/JavaLangAccess;
6: putstatic java.nio.file.Files.JLA:Ljdk/internal/access/JavaLangAccess;
7: 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 Ljava/nio/file/Files;
private static java.nio.file.spi.FileSystemProvider provider(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
invokevirtual java.nio.file.FileSystem.provider:()Ljava/nio/file/spi/FileSystemProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
private static java.lang.Runnable asUncheckedRunnable(java.io.Closeable);
descriptor: (Ljava/io/Closeable;)Ljava/lang/Runnable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokedynamic run(Ljava/io/Closeable;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
java/nio/file/Files.lambda$0(Ljava/io/Closeable;)V (6)
()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljava/io/Closeable;
MethodParameters:
Name Flags
c
public static java.io.InputStream newInputStream(java.nio.file.Path, java.nio.file.OpenOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 1
invokevirtual java.nio.file.spi.FileSystemProvider.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 options [Ljava/nio/file/OpenOption;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
options
public static java.io.OutputStream newOutputStream(java.nio.file.Path, java.nio.file.OpenOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 1
invokevirtual java.nio.file.spi.FileSystemProvider.newOutputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 options [Ljava/nio/file/OpenOption;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
options
public static java.nio.channels.SeekableByteChannel newByteChannel(java.nio.file.Path, java.util.Set<? extends java.nio.file.OpenOption>, java.nio.file.attribute.FileAttribute<?>[]);
descriptor: (Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 1
aload 2
invokevirtual java.nio.file.spi.FileSystemProvider.newByteChannel:(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 options Ljava/util/Set<+Ljava/nio/file/OpenOption;>;
0 1 2 attrs [Ljava/nio/file/attribute/FileAttribute;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/util/Set<+Ljava/nio/file/OpenOption;>;[Ljava/nio/file/attribute/FileAttribute<*>;)Ljava/nio/channels/SeekableByteChannel;
MethodParameters:
Name Flags
path
options
attrs
public static java.nio.channels.SeekableByteChannel newByteChannel(java.nio.file.Path, java.nio.file.OpenOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/SeekableByteChannel;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
ifne 3
1: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
astore 2
start local 2 2: goto 5
end local 2 3: StackMap locals:
StackMap stack:
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 4: aload 2
aload 1
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
5: StackMap locals: java.util.Set
StackMap stack:
aload 0
aload 2
iconst_0
anewarray java.nio.file.attribute.FileAttribute
invokestatic java.nio.file.Files.newByteChannel:(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 path Ljava/nio/file/Path;
0 6 1 options [Ljava/nio/file/OpenOption;
2 3 2 set Ljava/util/Set<Ljava/nio/file/OpenOption;>;
4 6 2 set Ljava/util/Set<Ljava/nio/file/OpenOption;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
options
public static java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
getstatic java.nio.file.Files$AcceptAllFilter.FILTER:Ljava/nio/file/Files$AcceptAllFilter;
invokevirtual java.nio.file.spi.FileSystemProvider.newDirectoryStream:(Ljava/nio/file/Path;Ljava/nio/file/DirectoryStream$Filter;)Ljava/nio/file/DirectoryStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 dir Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
dir
public static java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio.file.Path, java.lang.String);
descriptor: (Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/DirectoryStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
astore 2
start local 2 3: aload 2
new java.lang.StringBuilder
dup
ldc "glob:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.nio.file.FileSystem.getPathMatcher:(Ljava/lang/String;)Ljava/nio/file/PathMatcher;
astore 3
start local 3 4: new java.nio.file.Files$1
dup
aload 3
invokespecial java.nio.file.Files$1.<init>:(Ljava/nio/file/PathMatcher;)V
astore 4
start local 4 5: aload 2
invokevirtual java.nio.file.FileSystem.provider:()Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 4
invokevirtual java.nio.file.spi.FileSystemProvider.newDirectoryStream:(Ljava/nio/file/Path;Ljava/nio/file/DirectoryStream$Filter;)Ljava/nio/file/DirectoryStream;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 dir Ljava/nio/file/Path;
0 6 1 glob Ljava/lang/String;
3 6 2 fs Ljava/nio/file/FileSystem;
4 6 3 matcher Ljava/nio/file/PathMatcher;
5 6 4 filter Ljava/nio/file/DirectoryStream$Filter<Ljava/nio/file/Path;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
dir
glob
public static java.nio.file.DirectoryStream<java.nio.file.Path> newDirectoryStream(java.nio.file.Path, java.nio.file.DirectoryStream$Filter<? super java.nio.file.Path>);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/DirectoryStream$Filter;)Ljava/nio/file/DirectoryStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 1
invokevirtual java.nio.file.spi.FileSystemProvider.newDirectoryStream:(Ljava/nio/file/Path;Ljava/nio/file/DirectoryStream$Filter;)Ljava/nio/file/DirectoryStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 dir Ljava/nio/file/Path;
0 1 1 filter Ljava/nio/file/DirectoryStream$Filter<-Ljava/nio/file/Path;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/nio/file/DirectoryStream$Filter<-Ljava/nio/file/Path;>;)Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
dir
filter
public static java.nio.file.Path createFile(java.nio.file.Path, java.nio.file.attribute.FileAttribute<?>[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic java.nio.file.Files.DEFAULT_CREATE_OPTIONS:Ljava/util/Set;
aload 1
invokestatic java.nio.file.Files.newByteChannel:(Ljava/nio/file/Path;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;
invokeinterface java.nio.channels.SeekableByteChannel.close:()V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 path Ljava/nio/file/Path;
0 2 1 attrs [Ljava/nio/file/attribute/FileAttribute;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute<*>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
attrs
public static java.nio.file.Path createDirectory(java.nio.file.Path, java.nio.file.attribute.FileAttribute<?>[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 1
invokevirtual java.nio.file.spi.FileSystemProvider.createDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dir Ljava/nio/file/Path;
0 2 1 attrs [Ljava/nio/file/attribute/FileAttribute;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute<*>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
dir
attrs
public static java.nio.file.Path createDirectories(java.nio.file.Path, java.nio.file.attribute.FileAttribute<?>[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.nio.file.Files.createAndCheckIsDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)V
1: aload 0
2: areturn
3: StackMap locals:
StackMap stack: java.nio.file.FileAlreadyExistsException
astore 2
start local 2 4: aload 2
athrow
end local 2 5: StackMap locals:
StackMap stack: java.io.IOException
pop
6: aconst_null
astore 2
start local 2 7: aload 0
invokeinterface java.nio.file.Path.toAbsolutePath:()Ljava/nio/file/Path;
astore 0
8: goto 11
StackMap locals: java.nio.file.Path java.nio.file.attribute.FileAttribute[] java.lang.SecurityException
StackMap stack: java.lang.SecurityException
9: astore 3
start local 3 10: aload 3
astore 2
end local 3 11: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 3
start local 3 12: goto 17
13: StackMap locals: java.nio.file.Path
StackMap stack:
aload 3
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 3
iconst_0
anewarray java.nio.file.AccessMode
invokevirtual java.nio.file.spi.FileSystemProvider.checkAccess:(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)V
14: goto 18
15: StackMap locals:
StackMap stack: java.nio.file.NoSuchFileException
pop
16: aload 3
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 3
17: StackMap locals:
StackMap stack:
aload 3
ifnonnull 13
18: StackMap locals:
StackMap stack:
aload 3
ifnonnull 24
19: aload 2
ifnonnull 23
20: new java.nio.file.FileSystemException
dup
aload 0
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
aconst_null
21: ldc "Unable to determine if root directory exists"
22: invokespecial java.nio.file.FileSystemException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
aload 2
athrow
24: StackMap locals:
StackMap stack:
aload 3
astore 4
start local 4 25: aload 3
aload 0
invokeinterface java.nio.file.Path.relativize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.iterator:()Ljava/util/Iterator;
astore 6
goto 29
StackMap locals: java.nio.file.Path java.nio.file.attribute.FileAttribute[] java.lang.SecurityException java.nio.file.Path java.nio.file.Path top java.util.Iterator
StackMap stack:
26: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 5
start local 5 27: aload 4
aload 5
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 4
28: aload 4
aload 1
invokestatic java.nio.file.Files.createAndCheckIsDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)V
end local 5 29: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
30: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 dir Ljava/nio/file/Path;
0 31 1 attrs [Ljava/nio/file/attribute/FileAttribute;
4 5 2 x Ljava/nio/file/FileAlreadyExistsException;
7 31 2 se Ljava/lang/SecurityException;
10 11 3 x Ljava/lang/SecurityException;
12 31 3 parent Ljava/nio/file/Path;
25 31 4 child Ljava/nio/file/Path;
27 29 5 name Ljava/nio/file/Path;
Exception table:
from to target type
0 2 3 Class java.nio.file.FileAlreadyExistsException
0 2 5 Class java.io.IOException
7 8 9 Class java.lang.SecurityException
13 14 15 Class java.nio.file.NoSuchFileException
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute<*>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
dir
attrs
private static void createAndCheckIsDirectory(java.nio.file.Path, java.nio.file.attribute.FileAttribute<?>[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)V
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.nio.file.Files.createDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
pop
1: goto 5
StackMap locals:
StackMap stack: java.nio.file.FileAlreadyExistsException
2: astore 2
start local 2 3: aload 0
iconst_1
anewarray java.nio.file.LinkOption
dup
iconst_0
getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
aastore
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 5
4: aload 2
athrow
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 dir Ljava/nio/file/Path;
0 6 1 attrs [Ljava/nio/file/attribute/FileAttribute;
3 5 2 x Ljava/nio/file/FileAlreadyExistsException;
Exception table:
from to target type
0 1 2 Class java.nio.file.FileAlreadyExistsException
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute<*>;)V
MethodParameters:
Name Flags
dir
attrs
public static java.nio.file.Path createTempFile(java.nio.file.Path, java.lang.String, java.lang.String, java.nio.file.attribute.FileAttribute<?>[]);
descriptor: (Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.file.Path
1: aload 1
aload 2
aload 3
2: invokestatic java.nio.file.TempFileHelper.createTempFile:(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 dir Ljava/nio/file/Path;
0 3 1 prefix Ljava/lang/String;
0 3 2 suffix Ljava/lang/String;
0 3 3 attrs [Ljava/nio/file/attribute/FileAttribute;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute<*>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
dir
prefix
suffix
attrs
public static java.nio.file.Path createTempFile(java.lang.String, java.lang.String, java.nio.file.attribute.FileAttribute<?>[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
aload 0
aload 1
aload 2
invokestatic java.nio.file.TempFileHelper.createTempFile:(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 prefix Ljava/lang/String;
0 1 1 suffix Ljava/lang/String;
0 1 2 attrs [Ljava/nio/file/attribute/FileAttribute;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute<*>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
prefix
suffix
attrs
public static java.nio.file.Path createTempDirectory(java.nio.file.Path, java.lang.String, java.nio.file.attribute.FileAttribute<?>[]);
descriptor: (Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.file.Path
1: aload 1
aload 2
2: invokestatic java.nio.file.TempFileHelper.createTempDirectory:(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 dir Ljava/nio/file/Path;
0 3 1 prefix Ljava/lang/String;
0 3 2 attrs [Ljava/nio/file/attribute/FileAttribute;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute<*>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
dir
prefix
attrs
public static java.nio.file.Path createTempDirectory(java.lang.String, java.nio.file.attribute.FileAttribute<?>[]);
descriptor: (Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
aload 0
aload 1
invokestatic java.nio.file.TempFileHelper.createTempDirectory:(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 prefix Ljava/lang/String;
0 1 1 attrs [Ljava/nio/file/attribute/FileAttribute;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute<*>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
prefix
attrs
public static java.nio.file.Path createSymbolicLink(java.nio.file.Path, java.nio.file.Path, java.nio.file.attribute.FileAttribute<?>[]);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 1
aload 2
invokevirtual java.nio.file.spi.FileSystemProvider.createSymbolicLink:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)V
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 link Ljava/nio/file/Path;
0 2 1 target Ljava/nio/file/Path;
0 2 2 attrs [Ljava/nio/file/attribute/FileAttribute;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute<*>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
link
target
attrs
public static java.nio.file.Path createLink(java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 1
invokevirtual java.nio.file.spi.FileSystemProvider.createLink:(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 link Ljava/nio/file/Path;
0 2 1 existing Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
link
existing
public static void delete(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
invokevirtual java.nio.file.spi.FileSystemProvider.delete:(Ljava/nio/file/Path;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
public static boolean deleteIfExists(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
invokevirtual java.nio.file.spi.FileSystemProvider.deleteIfExists:(Ljava/nio/file/Path;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
public static java.nio.file.Path copy(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption[]);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
astore 3
start local 3 1: aload 1
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 3
if_acmpne 4
2: aload 3
aload 0
aload 1
aload 2
invokevirtual java.nio.file.spi.FileSystemProvider.copy:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)V
3: goto 5
4: StackMap locals: java.nio.file.spi.FileSystemProvider
StackMap stack:
aload 0
aload 1
aload 2
invokestatic java.nio.file.CopyMoveHelper.copyToForeignTarget:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)V
5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 source Ljava/nio/file/Path;
0 6 1 target Ljava/nio/file/Path;
0 6 2 options [Ljava/nio/file/CopyOption;
1 6 3 provider Ljava/nio/file/spi/FileSystemProvider;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
source
target
options
public static java.nio.file.Path move(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption[]);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
astore 3
start local 3 1: aload 1
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 3
if_acmpne 4
2: aload 3
aload 0
aload 1
aload 2
invokevirtual java.nio.file.spi.FileSystemProvider.move:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)V
3: goto 5
4: StackMap locals: java.nio.file.spi.FileSystemProvider
StackMap stack:
aload 0
aload 1
aload 2
invokestatic java.nio.file.CopyMoveHelper.moveToForeignTarget:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)V
5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 source Ljava/nio/file/Path;
0 6 1 target Ljava/nio/file/Path;
0 6 2 options [Ljava/nio/file/CopyOption;
1 6 3 provider Ljava/nio/file/spi/FileSystemProvider;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
source
target
options
public static java.nio.file.Path readSymbolicLink(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/Path;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
invokevirtual java.nio.file.spi.FileSystemProvider.readSymbolicLink:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 link Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
link
public static java.nio.file.FileStore getFileStore(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/nio/file/FileStore;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
invokevirtual java.nio.file.spi.FileSystemProvider.getFileStore:(Ljava/nio/file/Path;)Ljava/nio/file/FileStore;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
public static boolean isSameFile(java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 1
invokevirtual java.nio.file.spi.FileSystemProvider.isSameFile:(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 path2 Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
path2
public static long mismatch(java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=13, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.nio.file.Files.isSameFile:(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
ifeq 2
1: ldc -1
lreturn
2: StackMap locals:
StackMap stack:
sipush 8192
newarray 8
astore 2
start local 2 3: sipush 8192
newarray 8
astore 3
start local 3 4: aconst_null
astore 4
aconst_null
astore 5
5: aload 0
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
astore 6
start local 6 6: aload 1
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
astore 7
start local 7 7: lconst_0
lstore 8
start local 8 8: StackMap locals: java.nio.file.Path java.nio.file.Path byte[] byte[] java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.InputStream long
StackMap stack:
aload 6
aload 2
iconst_0
sipush 8192
invokevirtual java.io.InputStream.readNBytes:([BII)I
istore 10
start local 10 9: aload 7
aload 3
iconst_0
sipush 8192
invokevirtual java.io.InputStream.readNBytes:([BII)I
istore 11
start local 11 10: aload 2
iconst_0
iload 10
aload 3
iconst_0
iload 11
invokestatic java.util.Arrays.mismatch:([BII[BII)I
istore 12
start local 12 11: iload 12
iconst_m1
if_icmple 16
12: lload 8
iload 12
i2l
ladd
13: aload 7
ifnull 14
aload 7
invokevirtual java.io.InputStream.close:()V
StackMap locals: java.nio.file.Path java.nio.file.Path byte[] byte[] java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.InputStream long int int int
StackMap stack: long
14: aload 6
ifnull 15
aload 6
invokevirtual java.io.InputStream.close:()V
15: StackMap locals:
StackMap stack: long
lreturn
16: StackMap locals:
StackMap stack:
iload 10
sipush 8192
if_icmpge 20
17: aload 7
ifnull 18
aload 7
invokevirtual java.io.InputStream.close:()V
StackMap locals:
StackMap stack:
18: aload 6
ifnull 19
aload 6
invokevirtual java.io.InputStream.close:()V
19: StackMap locals:
StackMap stack:
ldc -1
lreturn
20: StackMap locals:
StackMap stack:
lload 8
iload 10
i2l
ladd
lstore 8
end local 12 end local 11 end local 10 21: goto 8
end local 8 StackMap locals: java.nio.file.Path java.nio.file.Path byte[] byte[] java.lang.Throwable java.lang.Throwable java.io.InputStream java.io.InputStream
StackMap stack: java.lang.Throwable
22: astore 4
23: aload 7
ifnull 24
aload 7
invokevirtual java.io.InputStream.close:()V
end local 7 StackMap locals:
StackMap stack:
24: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 5
aload 4
ifnonnull 26
aload 5
astore 4
goto 27
StackMap locals:
StackMap stack:
26: aload 4
aload 5
if_acmpeq 27
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
27: aload 6
ifnull 28
aload 6
invokevirtual java.io.InputStream.close:()V
end local 6 StackMap locals:
StackMap stack:
28: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
29: astore 5
aload 4
ifnonnull 30
aload 5
astore 4
goto 31
StackMap locals:
StackMap stack:
30: aload 4
aload 5
if_acmpeq 31
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
31: aload 4
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 path Ljava/nio/file/Path;
0 32 1 path2 Ljava/nio/file/Path;
3 32 2 buffer1 [B
4 32 3 buffer2 [B
6 28 6 in1 Ljava/io/InputStream;
7 24 7 in2 Ljava/io/InputStream;
8 22 8 totalRead J
9 21 10 nRead1 I
10 21 11 nRead2 I
11 21 12 i I
Exception table:
from to target type
7 13 22 any
16 17 22 any
20 22 22 any
6 14 25 any
16 18 25 any
20 25 25 any
5 15 29 any
16 19 29 any
20 29 29 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
path2
public static boolean isHidden(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
invokevirtual java.nio.file.spi.FileSystemProvider.isHidden:(Ljava/nio/file/Path;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
public static java.lang.String probeContentType(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: getstatic java.nio.file.Files$FileTypeDetectors.installedDetectors:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 5
StackMap locals: java.nio.file.Path top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.spi.FileTypeDetector
astore 1
start local 1 2: aload 1
aload 0
invokevirtual java.nio.file.spi.FileTypeDetector.probeContentType:(Ljava/nio/file/Path;)Ljava/lang/String;
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 3
areturn
end local 3 end local 1 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: getstatic java.nio.file.Files$FileTypeDetectors.defaultFileTypeDetector:Ljava/nio/file/spi/FileTypeDetector;
aload 0
invokevirtual java.nio.file.spi.FileTypeDetector.probeContentType:(Ljava/nio/file/Path;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 path Ljava/nio/file/Path;
2 5 1 detector Ljava/nio/file/spi/FileTypeDetector;
3 5 3 result Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
public static <V extends java.nio.file.attribute.FileAttributeView> V getFileAttributeView(java.nio.file.Path, java.lang.Class<V>, java.nio.file.LinkOption[]);
descriptor: (Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 1
aload 2
invokevirtual java.nio.file.spi.FileSystemProvider.getFileAttributeView:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 type Ljava/lang/Class<TV;>;
0 1 2 options [Ljava/nio/file/LinkOption;
Signature: <V::Ljava/nio/file/attribute/FileAttributeView;>(Ljava/nio/file/Path;Ljava/lang/Class<TV;>;[Ljava/nio/file/LinkOption;)TV;
MethodParameters:
Name Flags
path
type
options
public static <A extends java.nio.file.attribute.BasicFileAttributes> A readAttributes(java.nio.file.Path, java.lang.Class<A>, java.nio.file.LinkOption[]);
descriptor: (Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 1
aload 2
invokevirtual java.nio.file.spi.FileSystemProvider.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 type Ljava/lang/Class<TA;>;
0 1 2 options [Ljava/nio/file/LinkOption;
Exceptions:
throws java.io.IOException
Signature: <A::Ljava/nio/file/attribute/BasicFileAttributes;>(Ljava/nio/file/Path;Ljava/lang/Class<TA;>;[Ljava/nio/file/LinkOption;)TA;
MethodParameters:
Name Flags
path
type
options
public static java.nio.file.Path setAttribute(java.nio.file.Path, java.lang.String, java.lang.Object, java.nio.file.LinkOption[]);
descriptor: (Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/Object;[Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 1
aload 2
aload 3
invokevirtual java.nio.file.spi.FileSystemProvider.setAttribute:(Ljava/nio/file/Path;Ljava/lang/String;Ljava/lang/Object;[Ljava/nio/file/LinkOption;)V
1: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 path Ljava/nio/file/Path;
0 2 1 attribute Ljava/lang/String;
0 2 2 value Ljava/lang/Object;
0 2 3 options [Ljava/nio/file/LinkOption;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
attribute
value
options
public static java.lang.Object getAttribute(java.nio.file.Path, java.lang.String, java.nio.file.LinkOption[]);
descriptor: (Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/LinkOption;)Ljava/lang/Object;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
bipush 42
invokevirtual java.lang.String.indexOf:(I)I
ifge 1
aload 1
bipush 44
invokevirtual java.lang.String.indexOf:(I)I
iflt 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
aload 1
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/LinkOption;)Ljava/util/Map;
astore 3
start local 3 3: getstatic java.nio.file.Files.$assertionsDisabled:Z
ifne 4
aload 3
invokeinterface java.util.Map.size:()I
iconst_1
if_icmpeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: java.util.Map
StackMap stack:
aload 1
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 5: iload 5
iconst_m1
if_icmpne 8
6: aload 1
astore 4
start local 4 7: goto 11
end local 4 8: StackMap locals: java.nio.file.Path java.lang.String java.nio.file.LinkOption[] java.util.Map top int
StackMap stack:
iload 5
aload 1
invokevirtual java.lang.String.length:()I
if_icmpne 9
ldc ""
goto 10
StackMap locals:
StackMap stack:
9: aload 1
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
10: astore 4
start local 4 11: StackMap locals: java.nio.file.Path java.lang.String java.nio.file.LinkOption[] java.util.Map java.lang.String int
StackMap stack:
aload 3
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 path Ljava/nio/file/Path;
0 12 1 attribute Ljava/lang/String;
0 12 2 options [Ljava/nio/file/LinkOption;
3 12 3 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
7 8 4 name Ljava/lang/String;
11 12 4 name Ljava/lang/String;
5 12 5 pos I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
attribute
options
public static java.util.Map<java.lang.String, java.lang.Object> readAttributes(java.nio.file.Path, java.lang.String, java.nio.file.LinkOption[]);
descriptor: (Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/LinkOption;)Ljava/util/Map;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 1
aload 2
invokevirtual java.nio.file.spi.FileSystemProvider.readAttributes:(Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/LinkOption;)Ljava/util/Map;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 attributes Ljava/lang/String;
0 1 2 options [Ljava/nio/file/LinkOption;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/lang/String;[Ljava/nio/file/LinkOption;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
path
attributes
options
public static java.util.Set<java.nio.file.attribute.PosixFilePermission> getPosixFilePermissions(java.nio.file.Path, java.nio.file.LinkOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/util/Set;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljava/nio/file/attribute/PosixFileAttributes;
aload 1
invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
checkcast java.nio.file.attribute.PosixFileAttributes
invokeinterface java.nio.file.attribute.PosixFileAttributes.permissions:()Ljava/util/Set;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 options [Ljava/nio/file/LinkOption;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/util/Set<Ljava/nio/file/attribute/PosixFilePermission;>;
MethodParameters:
Name Flags
path
options
public static java.nio.file.Path setPosixFilePermissions(java.nio.file.Path, java.util.Set<java.nio.file.attribute.PosixFilePermission>);
descriptor: (Ljava/nio/file/Path;Ljava/util/Set;)Ljava/nio/file/Path;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljava/nio/file/attribute/PosixFileAttributeView;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.getFileAttributeView:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;
checkcast java.nio.file.attribute.PosixFileAttributeView
1: astore 2
start local 2 2: aload 2
ifnonnull 4
3: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
4: StackMap locals: java.nio.file.attribute.PosixFileAttributeView
StackMap stack:
aload 2
aload 1
invokeinterface java.nio.file.attribute.PosixFileAttributeView.setPermissions:(Ljava/util/Set;)V
5: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 path Ljava/nio/file/Path;
0 6 1 perms Ljava/util/Set<Ljava/nio/file/attribute/PosixFilePermission;>;
2 6 2 view Ljava/nio/file/attribute/PosixFileAttributeView;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/util/Set<Ljava/nio/file/attribute/PosixFilePermission;>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
perms
public static java.nio.file.attribute.UserPrincipal getOwner(java.nio.file.Path, java.nio.file.LinkOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/UserPrincipal;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljava/nio/file/attribute/FileOwnerAttributeView;
aload 1
invokestatic java.nio.file.Files.getFileAttributeView:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;
checkcast java.nio.file.attribute.FileOwnerAttributeView
1: astore 2
start local 2 2: aload 2
ifnonnull 4
3: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
4: StackMap locals: java.nio.file.attribute.FileOwnerAttributeView
StackMap stack:
aload 2
invokeinterface java.nio.file.attribute.FileOwnerAttributeView.getOwner:()Ljava/nio/file/attribute/UserPrincipal;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 path Ljava/nio/file/Path;
0 5 1 options [Ljava/nio/file/LinkOption;
2 5 2 view Ljava/nio/file/attribute/FileOwnerAttributeView;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
options
public static java.nio.file.Path setOwner(java.nio.file.Path, java.nio.file.attribute.UserPrincipal);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/attribute/UserPrincipal;)Ljava/nio/file/Path;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljava/nio/file/attribute/FileOwnerAttributeView;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.getFileAttributeView:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;
checkcast java.nio.file.attribute.FileOwnerAttributeView
1: astore 2
start local 2 2: aload 2
ifnonnull 4
3: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
4: StackMap locals: java.nio.file.attribute.FileOwnerAttributeView
StackMap stack:
aload 2
aload 1
invokeinterface java.nio.file.attribute.FileOwnerAttributeView.setOwner:(Ljava/nio/file/attribute/UserPrincipal;)V
5: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 path Ljava/nio/file/Path;
0 6 1 owner Ljava/nio/file/attribute/UserPrincipal;
2 6 2 view Ljava/nio/file/attribute/FileOwnerAttributeView;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
owner
public static boolean isSymbolicLink(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
1: ldc Ljava/nio/file/attribute/BasicFileAttributes;
iconst_1
anewarray java.nio.file.LinkOption
dup
iconst_0
2: getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
aastore
3: invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
4: invokeinterface java.nio.file.attribute.BasicFileAttributes.isSymbolicLink:()Z
5: ireturn
6: StackMap locals:
StackMap stack: java.io.IOException
pop
7: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 path Ljava/nio/file/Path;
Exception table:
from to target type
0 5 6 Class java.io.IOException
MethodParameters:
Name Flags
path
public static boolean isDirectory(java.nio.file.Path, java.nio.file.LinkOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
ifne 4
1: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
astore 2
start local 2 2: aload 2
instanceof sun.nio.fs.AbstractFileSystemProvider
ifeq 4
3: aload 2
checkcast sun.nio.fs.AbstractFileSystemProvider
aload 0
invokevirtual sun.nio.fs.AbstractFileSystemProvider.isDirectory:(Ljava/nio/file/Path;)Z
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 0
ldc Ljava/nio/file/attribute/BasicFileAttributes;
aload 1
invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
invokeinterface java.nio.file.attribute.BasicFileAttributes.isDirectory:()Z
5: ireturn
6: StackMap locals:
StackMap stack: java.io.IOException
pop
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 path Ljava/nio/file/Path;
0 8 1 options [Ljava/nio/file/LinkOption;
2 4 2 provider Ljava/nio/file/spi/FileSystemProvider;
Exception table:
from to target type
4 5 6 Class java.io.IOException
MethodParameters:
Name Flags
path
options
public static boolean isRegularFile(java.nio.file.Path, java.nio.file.LinkOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
ifne 4
1: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
astore 2
start local 2 2: aload 2
instanceof sun.nio.fs.AbstractFileSystemProvider
ifeq 4
3: aload 2
checkcast sun.nio.fs.AbstractFileSystemProvider
aload 0
invokevirtual sun.nio.fs.AbstractFileSystemProvider.isRegularFile:(Ljava/nio/file/Path;)Z
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 0
ldc Ljava/nio/file/attribute/BasicFileAttributes;
aload 1
invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
invokeinterface java.nio.file.attribute.BasicFileAttributes.isRegularFile:()Z
5: ireturn
6: StackMap locals:
StackMap stack: java.io.IOException
pop
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 path Ljava/nio/file/Path;
0 8 1 options [Ljava/nio/file/LinkOption;
2 4 2 provider Ljava/nio/file/spi/FileSystemProvider;
Exception table:
from to target type
4 5 6 Class java.io.IOException
MethodParameters:
Name Flags
path
options
public static java.nio.file.attribute.FileTime getLastModifiedTime(java.nio.file.Path, java.nio.file.LinkOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileTime;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljava/nio/file/attribute/BasicFileAttributes;
aload 1
invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
invokeinterface java.nio.file.attribute.BasicFileAttributes.lastModifiedTime:()Ljava/nio/file/attribute/FileTime;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 options [Ljava/nio/file/LinkOption;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
options
public static java.nio.file.Path setLastModifiedTime(java.nio.file.Path, java.nio.file.attribute.FileTime);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/attribute/FileTime;)Ljava/nio/file/Path;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljava/nio/file/attribute/BasicFileAttributeView;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.getFileAttributeView:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;
checkcast java.nio.file.attribute.BasicFileAttributeView
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.file.attribute.FileTime
aconst_null
aconst_null
invokeinterface java.nio.file.attribute.BasicFileAttributeView.setTimes:(Ljava/nio/file/attribute/FileTime;Ljava/nio/file/attribute/FileTime;Ljava/nio/file/attribute/FileTime;)V
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 path Ljava/nio/file/Path;
0 3 1 time Ljava/nio/file/attribute/FileTime;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
time
public static long size(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc Ljava/nio/file/attribute/BasicFileAttributes;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
invokeinterface java.nio.file.attribute.BasicFileAttributes.size:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
private static boolean followLinks(java.nio.file.LinkOption[]);
descriptor: ([Ljava/nio/file/LinkOption;)Z
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 10
StackMap locals: java.nio.file.LinkOption[] int top int int java.nio.file.LinkOption[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
if_acmpne 6
4: iconst_0
istore 1
5: goto 9
6: StackMap locals: java.nio.file.LinkOption[] int java.nio.file.LinkOption int int java.nio.file.LinkOption[]
StackMap stack:
aload 2
ifnonnull 8
7: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "Should not get here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 9: StackMap locals: java.nio.file.LinkOption[] int top int int java.nio.file.LinkOption[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmplt 2
11: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 options [Ljava/nio/file/LinkOption;
1 12 1 followLinks Z
3 9 2 opt Ljava/nio/file/LinkOption;
MethodParameters:
Name Flags
options
public static boolean exists(java.nio.file.Path, java.nio.file.LinkOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
ifne 4
1: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
astore 2
start local 2 2: aload 2
instanceof sun.nio.fs.AbstractFileSystemProvider
ifeq 4
3: aload 2
checkcast sun.nio.fs.AbstractFileSystemProvider
aload 0
invokevirtual sun.nio.fs.AbstractFileSystemProvider.exists:(Ljava/nio/file/Path;)Z
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 1
invokestatic java.nio.file.Files.followLinks:([Ljava/nio/file/LinkOption;)Z
ifeq 7
5: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
iconst_0
anewarray java.nio.file.AccessMode
invokevirtual java.nio.file.spi.FileSystemProvider.checkAccess:(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)V
6: goto 10
7: StackMap locals:
StackMap stack:
aload 0
ldc Ljava/nio/file/attribute/BasicFileAttributes;
iconst_1
anewarray java.nio.file.LinkOption
dup
iconst_0
8: getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
aastore
9: invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
pop
10: StackMap locals:
StackMap stack:
iconst_1
ireturn
11: StackMap locals:
StackMap stack: java.io.IOException
pop
12: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 path Ljava/nio/file/Path;
0 13 1 options [Ljava/nio/file/LinkOption;
2 4 2 provider Ljava/nio/file/spi/FileSystemProvider;
Exception table:
from to target type
4 10 11 Class java.io.IOException
MethodParameters:
Name Flags
path
options
public static boolean notExists(java.nio.file.Path, java.nio.file.LinkOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.nio.file.Files.followLinks:([Ljava/nio/file/LinkOption;)Z
ifeq 3
1: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
iconst_0
anewarray java.nio.file.AccessMode
invokevirtual java.nio.file.spi.FileSystemProvider.checkAccess:(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)V
2: goto 6
3: StackMap locals:
StackMap stack:
aload 0
ldc Ljava/nio/file/attribute/BasicFileAttributes;
iconst_1
anewarray java.nio.file.LinkOption
dup
iconst_0
4: getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
aastore
5: invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
pop
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
7: StackMap locals:
StackMap stack: java.nio.file.NoSuchFileException
pop
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack: java.io.IOException
pop
10: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 path Ljava/nio/file/Path;
0 11 1 options [Ljava/nio/file/LinkOption;
Exception table:
from to target type
0 6 7 Class java.nio.file.NoSuchFileException
0 6 9 Class java.io.IOException
MethodParameters:
Name Flags
path
options
private static boolean isAccessible(java.nio.file.Path, java.nio.file.AccessMode[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)Z
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.nio.file.Files.provider:(Ljava/nio/file/Path;)Ljava/nio/file/spi/FileSystemProvider;
aload 0
aload 1
invokevirtual java.nio.file.spi.FileSystemProvider.checkAccess:(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)V
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: java.io.IOException
pop
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 path Ljava/nio/file/Path;
0 4 1 modes [Ljava/nio/file/AccessMode;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
path
modes
public static boolean isReadable(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
anewarray java.nio.file.AccessMode
dup
iconst_0
getstatic java.nio.file.AccessMode.READ:Ljava/nio/file/AccessMode;
aastore
invokestatic java.nio.file.Files.isAccessible:(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
public static boolean isWritable(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
anewarray java.nio.file.AccessMode
dup
iconst_0
getstatic java.nio.file.AccessMode.WRITE:Ljava/nio/file/AccessMode;
aastore
invokestatic java.nio.file.Files.isAccessible:(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
public static boolean isExecutable(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
anewarray java.nio.file.AccessMode
dup
iconst_0
getstatic java.nio.file.AccessMode.EXECUTE:Ljava/nio/file/AccessMode;
aastore
invokestatic java.nio.file.Files.isAccessible:(Ljava/nio/file/Path;[Ljava/nio/file/AccessMode;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
public static java.nio.file.Path walkFileTree(java.nio.file.Path, java.util.Set<java.nio.file.FileVisitOption>, int, java.nio.file.FileVisitor<? super java.nio.file.Path>);
descriptor: (Ljava/nio/file/Path;Ljava/util/Set;ILjava/nio/file/FileVisitor;)Ljava/nio/file/Path;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
aconst_null
astore 5
1: new java.nio.file.FileTreeWalker
dup
aload 1
iload 2
invokespecial java.nio.file.FileTreeWalker.<init>:(Ljava/util/Collection;I)V
astore 6
start local 6 2: aload 6
aload 0
invokevirtual java.nio.file.FileTreeWalker.walk:(Ljava/nio/file/Path;)Ljava/nio/file/FileTreeWalker$Event;
astore 7
start local 7 3: StackMap locals: java.nio.file.Path java.util.Set int java.nio.file.FileVisitor java.lang.Throwable java.lang.Throwable java.nio.file.FileTreeWalker java.nio.file.FileTreeWalker$Event
StackMap stack:
invokestatic java.nio.file.Files.$SWITCH_TABLE$java$nio$file$FileTreeWalker$EventType:()[I
aload 7
invokevirtual java.nio.file.FileTreeWalker$Event.type:()Ljava/nio/file/FileTreeWalker$EventType;
invokevirtual java.nio.file.FileTreeWalker$EventType.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 11
2: 16
3: 4
default: 20
}
4: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.nio.file.FileTreeWalker$Event.ioeException:()Ljava/io/IOException;
astore 9
start local 9 5: aload 9
ifnonnull 9
6: getstatic java.nio.file.Files.$assertionsDisabled:Z
ifne 7
aload 7
invokevirtual java.nio.file.FileTreeWalker$Event.attributes:()Ljava/nio/file/attribute/BasicFileAttributes;
ifnonnull 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: java.nio.file.Path java.util.Set int java.nio.file.FileVisitor java.lang.Throwable java.lang.Throwable java.nio.file.FileTreeWalker java.nio.file.FileTreeWalker$Event top java.io.IOException
StackMap stack:
aload 3
aload 7
invokevirtual java.nio.file.FileTreeWalker$Event.file:()Ljava/nio/file/Path;
aload 7
invokevirtual java.nio.file.FileTreeWalker$Event.attributes:()Ljava/nio/file/attribute/BasicFileAttributes;
invokeinterface java.nio.file.FileVisitor.visitFile:(Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
astore 8
start local 8 8: goto 21
end local 8 9: StackMap locals:
StackMap stack:
aload 3
aload 7
invokevirtual java.nio.file.FileTreeWalker$Event.file:()Ljava/nio/file/Path;
aload 9
invokeinterface java.nio.file.FileVisitor.visitFileFailed:(Ljava/lang/Object;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
astore 8
start local 8 10: goto 21
end local 9 end local 8 11: StackMap locals: java.nio.file.Path java.util.Set int java.nio.file.FileVisitor java.lang.Throwable java.lang.Throwable java.nio.file.FileTreeWalker java.nio.file.FileTreeWalker$Event
StackMap stack:
aload 3
aload 7
invokevirtual java.nio.file.FileTreeWalker$Event.file:()Ljava/nio/file/Path;
aload 7
invokevirtual java.nio.file.FileTreeWalker$Event.attributes:()Ljava/nio/file/attribute/BasicFileAttributes;
invokeinterface java.nio.file.FileVisitor.preVisitDirectory:(Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
astore 8
start local 8 12: aload 8
getstatic java.nio.file.FileVisitResult.SKIP_SUBTREE:Ljava/nio/file/FileVisitResult;
if_acmpeq 14
13: aload 8
getstatic java.nio.file.FileVisitResult.SKIP_SIBLINGS:Ljava/nio/file/FileVisitResult;
if_acmpne 21
14: StackMap locals: java.nio.file.FileVisitResult
StackMap stack:
aload 6
invokevirtual java.nio.file.FileTreeWalker.pop:()V
15: goto 21
end local 8 16: StackMap locals:
StackMap stack:
aload 3
aload 7
invokevirtual java.nio.file.FileTreeWalker$Event.file:()Ljava/nio/file/Path;
aload 7
invokevirtual java.nio.file.FileTreeWalker$Event.ioeException:()Ljava/io/IOException;
invokeinterface java.nio.file.FileVisitor.postVisitDirectory:(Ljava/lang/Object;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
astore 8
start local 8 17: aload 8
getstatic java.nio.file.FileVisitResult.SKIP_SIBLINGS:Ljava/nio/file/FileVisitResult;
if_acmpne 21
18: getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
astore 8
19: goto 21
end local 8 20: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "Should not get here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
start local 8 21: StackMap locals: java.nio.file.FileVisitResult
StackMap stack:
aload 8
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
if_acmpeq 26
22: aload 8
getstatic java.nio.file.FileVisitResult.TERMINATE:Ljava/nio/file/FileVisitResult;
if_acmpne 24
23: goto 28
24: StackMap locals:
StackMap stack:
aload 8
getstatic java.nio.file.FileVisitResult.SKIP_SIBLINGS:Ljava/nio/file/FileVisitResult;
if_acmpne 26
25: aload 6
invokevirtual java.nio.file.FileTreeWalker.skipRemainingSiblings:()V
26: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.nio.file.FileTreeWalker.next:()Ljava/nio/file/FileTreeWalker$Event;
astore 7
end local 8 27: aload 7
ifnonnull 3
end local 7 28: StackMap locals:
StackMap stack:
aload 6
ifnull 34
aload 6
invokevirtual java.nio.file.FileTreeWalker.close:()V
goto 34
StackMap locals:
StackMap stack: java.lang.Throwable
29: astore 4
aload 6
ifnull 30
aload 6
invokevirtual java.nio.file.FileTreeWalker.close:()V
end local 6 StackMap locals:
StackMap stack:
30: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
31: astore 5
aload 4
ifnonnull 32
aload 5
astore 4
goto 33
StackMap locals:
StackMap stack:
32: aload 4
aload 5
if_acmpeq 33
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
33: aload 4
athrow
34: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 start Ljava/nio/file/Path;
0 35 1 options Ljava/util/Set<Ljava/nio/file/FileVisitOption;>;
0 35 2 maxDepth I
0 35 3 visitor Ljava/nio/file/FileVisitor<-Ljava/nio/file/Path;>;
2 30 6 walker Ljava/nio/file/FileTreeWalker;
3 28 7 ev Ljava/nio/file/FileTreeWalker$Event;
8 9 8 result Ljava/nio/file/FileVisitResult;
10 11 8 result Ljava/nio/file/FileVisitResult;
12 16 8 result Ljava/nio/file/FileVisitResult;
17 20 8 result Ljava/nio/file/FileVisitResult;
21 27 8 result Ljava/nio/file/FileVisitResult;
5 11 9 ioe Ljava/io/IOException;
Exception table:
from to target type
2 28 29 any
1 31 31 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/util/Set<Ljava/nio/file/FileVisitOption;>;ILjava/nio/file/FileVisitor<-Ljava/nio/file/Path;>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
start
options
maxDepth
visitor
public static java.nio.file.Path walkFileTree(java.nio.file.Path, java.nio.file.FileVisitor<? super java.nio.file.Path>);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: ldc Ljava/nio/file/FileVisitOption;
invokestatic java.util.EnumSet.noneOf:(Ljava/lang/Class;)Ljava/util/EnumSet;
2: ldc 2147483647
3: aload 1
4: invokestatic java.nio.file.Files.walkFileTree:(Ljava/nio/file/Path;Ljava/util/Set;ILjava/nio/file/FileVisitor;)Ljava/nio/file/Path;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 start Ljava/nio/file/Path;
0 5 1 visitor Ljava/nio/file/FileVisitor<-Ljava/nio/file/Path;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/nio/file/FileVisitor<-Ljava/nio/file/Path;>;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
start
visitor
public static java.io.BufferedReader newBufferedReader(java.nio.file.Path, java.nio.charset.Charset);
descriptor: (Ljava/nio/file/Path;Ljava/nio/charset/Charset;)Ljava/io/BufferedReader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.charset.Charset.newDecoder:()Ljava/nio/charset/CharsetDecoder;
astore 2
start local 2 1: new java.io.InputStreamReader
dup
aload 0
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
aload 2
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/CharsetDecoder;)V
astore 3
start local 3 2: new java.io.BufferedReader
dup
aload 3
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 path Ljava/nio/file/Path;
0 3 1 cs Ljava/nio/charset/Charset;
1 3 2 decoder Ljava/nio/charset/CharsetDecoder;
2 3 3 reader Ljava/io/Reader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
cs
public static java.io.BufferedReader newBufferedReader(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/io/BufferedReader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic sun.nio.cs.UTF_8.INSTANCE:Lsun/nio/cs/UTF_8;
invokestatic java.nio.file.Files.newBufferedReader:(Ljava/nio/file/Path;Ljava/nio/charset/Charset;)Ljava/io/BufferedReader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
public static java.io.BufferedWriter newBufferedWriter(java.nio.file.Path, java.nio.charset.Charset, java.nio.file.OpenOption[]);
descriptor: (Ljava/nio/file/Path;Ljava/nio/charset/Charset;[Ljava/nio/file/OpenOption;)Ljava/io/BufferedWriter;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.nio.charset.Charset.newEncoder:()Ljava/nio/charset/CharsetEncoder;
astore 3
start local 3 1: new java.io.OutputStreamWriter
dup
aload 0
aload 2
invokestatic java.nio.file.Files.newOutputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
aload 3
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/CharsetEncoder;)V
astore 4
start local 4 2: new java.io.BufferedWriter
dup
aload 4
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 path Ljava/nio/file/Path;
0 3 1 cs Ljava/nio/charset/Charset;
0 3 2 options [Ljava/nio/file/OpenOption;
1 3 3 encoder Ljava/nio/charset/CharsetEncoder;
2 3 4 writer Ljava/io/Writer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
cs
options
public static java.io.BufferedWriter newBufferedWriter(java.nio.file.Path, java.nio.file.OpenOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/BufferedWriter;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic sun.nio.cs.UTF_8.INSTANCE:Lsun/nio/cs/UTF_8;
aload 1
invokestatic java.nio.file.Files.newBufferedWriter:(Ljava/nio/file/Path;Ljava/nio/charset/Charset;[Ljava/nio/file/OpenOption;)Ljava/io/BufferedWriter;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 options [Ljava/nio/file/OpenOption;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
options
public static long copy(java.io.InputStream, java.nio.file.Path, java.nio.file.CopyOption[]);
descriptor: (Ljava/io/InputStream;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)J
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iconst_0
istore 3
start local 3 2: aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 11
StackMap locals: java.io.InputStream java.nio.file.Path java.nio.file.CopyOption[] int top int int java.nio.file.CopyOption[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 4
getstatic java.nio.file.StandardCopyOption.REPLACE_EXISTING:Ljava/nio/file/StandardCopyOption;
if_acmpne 7
5: iconst_1
istore 3
6: goto 10
7: StackMap locals: java.io.InputStream java.nio.file.Path java.nio.file.CopyOption[] int java.nio.file.CopyOption int int java.nio.file.CopyOption[]
StackMap stack:
aload 4
ifnonnull 9
8: new java.lang.NullPointerException
dup
ldc "options contains 'null'"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 4 10: StackMap locals: java.io.InputStream java.nio.file.Path java.nio.file.CopyOption[] int top int int java.nio.file.CopyOption[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 6
if_icmplt 3
12: aconst_null
astore 4
start local 4 13: iload 3
ifeq 18
14: aload 1
invokestatic java.nio.file.Files.deleteIfExists:(Ljava/nio/file/Path;)Z
pop
15: goto 18
StackMap locals: java.io.InputStream java.nio.file.Path java.nio.file.CopyOption[] int java.lang.SecurityException
StackMap stack: java.lang.SecurityException
16: astore 5
start local 5 17: aload 5
astore 4
end local 5 18: StackMap locals:
StackMap stack:
aload 1
iconst_2
anewarray java.nio.file.OpenOption
dup
iconst_0
getstatic java.nio.file.StandardOpenOption.CREATE_NEW:Ljava/nio/file/StandardOpenOption;
aastore
dup
iconst_1
19: getstatic java.nio.file.StandardOpenOption.WRITE:Ljava/nio/file/StandardOpenOption;
aastore
20: invokestatic java.nio.file.Files.newOutputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
astore 5
start local 5 21: goto 26
end local 5 StackMap locals:
StackMap stack: java.nio.file.FileAlreadyExistsException
22: astore 6
start local 6 23: aload 4
ifnull 25
24: aload 4
athrow
25: StackMap locals: java.io.InputStream java.nio.file.Path java.nio.file.CopyOption[] int java.lang.SecurityException top java.nio.file.FileAlreadyExistsException
StackMap stack:
aload 6
athrow
end local 6 start local 5 26: StackMap locals: java.io.InputStream java.nio.file.Path java.nio.file.CopyOption[] int java.lang.SecurityException java.io.OutputStream
StackMap stack:
aconst_null
astore 6
aconst_null
astore 7
27: aload 5
astore 8
start local 8 28: aload 0
aload 8
invokevirtual java.io.InputStream.transferTo:(Ljava/io/OutputStream;)J
29: aload 8
ifnull 30
aload 8
invokevirtual java.io.OutputStream.close:()V
30: StackMap locals: java.io.InputStream java.nio.file.Path java.nio.file.CopyOption[] int java.lang.SecurityException java.io.OutputStream java.lang.Throwable java.lang.Throwable java.io.OutputStream
StackMap stack: long
lreturn
StackMap locals:
StackMap stack: java.lang.Throwable
31: astore 6
32: aload 8
ifnull 33
aload 8
invokevirtual java.io.OutputStream.close:()V
end local 8 StackMap locals:
StackMap stack:
33: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
34: astore 7
aload 6
ifnonnull 35
aload 7
astore 6
goto 36
StackMap locals:
StackMap stack:
35: aload 6
aload 7
if_acmpeq 36
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
36: aload 6
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 in Ljava/io/InputStream;
0 37 1 target Ljava/nio/file/Path;
0 37 2 options [Ljava/nio/file/CopyOption;
2 37 3 replaceExisting Z
4 10 4 opt Ljava/nio/file/CopyOption;
13 37 4 se Ljava/lang/SecurityException;
17 18 5 x Ljava/lang/SecurityException;
21 22 5 ostream Ljava/io/OutputStream;
26 37 5 ostream Ljava/io/OutputStream;
23 26 6 x Ljava/nio/file/FileAlreadyExistsException;
28 33 8 out Ljava/io/OutputStream;
Exception table:
from to target type
14 15 16 Class java.lang.SecurityException
18 21 22 Class java.nio.file.FileAlreadyExistsException
28 29 31 any
27 30 34 any
31 34 34 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
target
options
public static long copy(java.nio.file.Path, java.io.OutputStream);
descriptor: (Ljava/nio/file/Path;Ljava/io/OutputStream;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aconst_null
astore 2
aconst_null
astore 3
2: aload 0
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
astore 4
start local 4 3: aload 4
aload 1
invokevirtual java.io.InputStream.transferTo:(Ljava/io/OutputStream;)J
4: aload 4
ifnull 5
aload 4
invokevirtual java.io.InputStream.close:()V
5: StackMap locals: java.nio.file.Path java.io.OutputStream java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: long
lreturn
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
7: aload 4
ifnull 8
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
8: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 3
aload 2
ifnonnull 10
aload 3
astore 2
goto 11
StackMap locals:
StackMap stack:
10: aload 2
aload 3
if_acmpeq 11
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 source Ljava/nio/file/Path;
0 12 1 out Ljava/io/OutputStream;
3 8 4 in Ljava/io/InputStream;
Exception table:
from to target type
3 4 6 any
2 5 9 any
6 9 9 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
source
out
private static byte[] read(java.io.InputStream, int);
descriptor: (Ljava/io/InputStream;I)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iload 1
istore 2
start local 2 1: iload 2
newarray 8
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 5
start local 5 4: StackMap locals: java.io.InputStream int int byte[] int int
StackMap stack:
iload 4
iload 5
iadd
istore 4
end local 5 5: StackMap locals:
StackMap stack:
aload 0
aload 3
iload 4
iload 2
iload 4
isub
invokevirtual java.io.InputStream.read:([BII)I
dup
istore 5
start local 5 6: ifgt 4
7: iload 5
iflt 18
aload 0
invokevirtual java.io.InputStream.read:()I
dup
istore 5
ifge 9
8: goto 18
9: StackMap locals: int
StackMap stack:
iload 2
10: iconst_1
11: iload 2
12: invokestatic jdk.internal.util.ArraysSupport.newLength:(III)I
13: sipush 8192
14: invokestatic java.lang.Math.max:(II)I
istore 2
15: aload 3
iload 2
invokestatic java.util.Arrays.copyOf:([BI)[B
astore 3
16: aload 3
iload 4
iinc 4 1
iload 5
i2b
bastore
end local 5 17: goto 5
start local 5 18: StackMap locals:
StackMap stack:
iload 2
iload 4
if_icmpne 19
aload 3
goto 20
StackMap locals:
StackMap stack:
19: aload 3
iload 4
invokestatic java.util.Arrays.copyOf:([BI)[B
StackMap locals:
StackMap stack: byte[]
20: areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 source Ljava/io/InputStream;
0 21 1 initialSize I
1 21 2 capacity I
2 21 3 buf [B
3 21 4 nread I
4 5 5 n I
6 17 5 n I
18 21 5 n I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
source
initialSize
public static byte[] readAllBytes(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newByteChannel:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/SeekableByteChannel;
astore 3
start local 3 2: aload 3
invokestatic java.nio.channels.Channels.newInputStream:(Ljava/nio/channels/ReadableByteChannel;)Ljava/io/InputStream;
astore 4
start local 4 3: aload 3
instanceof sun.nio.ch.FileChannelImpl
ifeq 5
4: aload 3
checkcast sun.nio.ch.FileChannelImpl
invokevirtual sun.nio.ch.FileChannelImpl.setUninterruptible:()V
5: StackMap locals: java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.channels.SeekableByteChannel java.io.InputStream
StackMap stack:
aload 3
invokeinterface java.nio.channels.SeekableByteChannel.size:()J
lstore 5
start local 5 6: lload 5
ldc 2147483647
lcmp
ifle 8
7: new java.lang.OutOfMemoryError
dup
ldc "Required array size too large"
invokespecial java.lang.OutOfMemoryError.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: long
StackMap stack:
aload 4
lload 5
l2i
invokestatic java.nio.file.Files.read:(Ljava/io/InputStream;I)[B
9: aload 4
ifnull 10
aload 4
invokevirtual java.io.InputStream.close:()V
StackMap locals:
StackMap stack: byte[]
10: aload 3
ifnull 11
aload 3
invokeinterface java.nio.channels.SeekableByteChannel.close:()V
11: StackMap locals:
StackMap stack: byte[]
areturn
end local 5 StackMap locals: java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.channels.SeekableByteChannel java.io.InputStream
StackMap stack: java.lang.Throwable
12: astore 1
13: aload 4
ifnull 14
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
14: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 2
aload 1
ifnonnull 16
aload 2
astore 1
goto 17
StackMap locals:
StackMap stack:
16: aload 1
aload 2
if_acmpeq 17
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 3
ifnull 18
aload 3
invokeinterface java.nio.channels.SeekableByteChannel.close:()V
end local 3 StackMap locals:
StackMap stack:
18: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 2
aload 1
ifnonnull 20
aload 2
astore 1
goto 21
StackMap locals:
StackMap stack:
20: aload 1
aload 2
if_acmpeq 21
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 path Ljava/nio/file/Path;
2 18 3 sbc Ljava/nio/channels/SeekableByteChannel;
3 14 4 in Ljava/io/InputStream;
6 12 5 size J
Exception table:
from to target type
3 9 12 any
2 10 15 any
12 15 15 any
1 11 19 any
12 19 19 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
public static java.lang.String readString(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic sun.nio.cs.UTF_8.INSTANCE:Lsun/nio/cs/UTF_8;
invokestatic java.nio.file.Files.readString:(Ljava/nio/file/Path;Ljava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
public static java.lang.String readString(java.nio.file.Path, java.nio.charset.Charset);
descriptor: (Ljava/nio/file/Path;Ljava/nio/charset/Charset;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
invokestatic java.nio.file.Files.readAllBytes:(Ljava/nio/file/Path;)[B
astore 2
start local 2 3: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
ldc Ljava/lang/Object;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
if_acmpeq 5
4: aload 2
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 2
5: StackMap locals: byte[]
StackMap stack:
getstatic java.nio.file.Files.JLA:Ljdk/internal/access/JavaLangAccess;
aload 2
aload 1
invokeinterface jdk.internal.access.JavaLangAccess.newStringNoRepl:([BLjava/nio/charset/Charset;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 path Ljava/nio/file/Path;
0 6 1 cs Ljava/nio/charset/Charset;
3 6 2 ba [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
cs
public static java.util.List<java.lang.String> readAllLines(java.nio.file.Path, java.nio.charset.Charset);
descriptor: (Ljava/nio/file/Path;Ljava/nio/charset/Charset;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 0
aload 1
invokestatic java.nio.file.Files.newBufferedReader:(Ljava/nio/file/Path;Ljava/nio/charset/Charset;)Ljava/io/BufferedReader;
astore 4
start local 4 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 3: StackMap locals: java.nio.file.Path java.nio.charset.Charset java.lang.Throwable java.lang.Throwable java.io.BufferedReader java.util.List
StackMap stack:
aload 4
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 6
start local 6 4: aload 6
ifnonnull 6
5: goto 8
6: StackMap locals: java.lang.String
StackMap stack:
aload 5
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 7: goto 3
8: StackMap locals:
StackMap stack:
aload 5
9: aload 4
ifnull 10
aload 4
invokevirtual java.io.BufferedReader.close:()V
10: StackMap locals:
StackMap stack: java.util.List
areturn
end local 5 StackMap locals: java.nio.file.Path java.nio.charset.Charset java.lang.Throwable java.lang.Throwable java.io.BufferedReader
StackMap stack: java.lang.Throwable
11: astore 2
12: aload 4
ifnull 13
aload 4
invokevirtual java.io.BufferedReader.close:()V
end local 4 StackMap locals:
StackMap stack:
13: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 3
aload 2
ifnonnull 15
aload 3
astore 2
goto 16
StackMap locals:
StackMap stack:
15: aload 2
aload 3
if_acmpeq 16
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 2
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 path Ljava/nio/file/Path;
0 17 1 cs Ljava/nio/charset/Charset;
2 13 4 reader Ljava/io/BufferedReader;
3 11 5 result Ljava/util/List<Ljava/lang/String;>;
4 7 6 line Ljava/lang/String;
Exception table:
from to target type
2 9 11 any
1 10 14 any
11 14 14 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/nio/charset/Charset;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
path
cs
public static java.util.List<java.lang.String> readAllLines(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic sun.nio.cs.UTF_8.INSTANCE:Lsun/nio/cs/UTF_8;
invokestatic java.nio.file.Files.readAllLines:(Ljava/nio/file/Path;Ljava/nio/charset/Charset;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
path
public static java.nio.file.Path write(java.nio.file.Path, byte[], java.nio.file.OpenOption[]);
descriptor: (Ljava/nio/file/Path;[B[Ljava/nio/file/OpenOption;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aconst_null
astore 3
aconst_null
astore 4
2: aload 0
aload 2
invokestatic java.nio.file.Files.newOutputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
astore 5
start local 5 3: aload 1
arraylength
istore 6
start local 6 4: iload 6
istore 7
start local 7 5: goto 9
6: StackMap locals: java.nio.file.Path byte[] java.nio.file.OpenOption[] java.lang.Throwable java.lang.Throwable java.io.OutputStream int int
StackMap stack:
iload 7
sipush 8192
invokestatic java.lang.Math.min:(II)I
istore 8
start local 8 7: aload 5
aload 1
iload 6
iload 7
isub
iload 8
invokevirtual java.io.OutputStream.write:([BII)V
8: iload 7
iload 8
isub
istore 7
end local 8 9: StackMap locals:
StackMap stack:
iload 7
ifgt 6
end local 7 end local 6 10: aload 5
ifnull 16
aload 5
invokevirtual java.io.OutputStream.close:()V
goto 16
StackMap locals: java.nio.file.Path byte[] java.nio.file.OpenOption[] java.lang.Throwable java.lang.Throwable java.io.OutputStream
StackMap stack: java.lang.Throwable
11: astore 3
aload 5
ifnull 12
aload 5
invokevirtual java.io.OutputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
12: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 4
aload 3
ifnonnull 14
aload 4
astore 3
goto 15
StackMap locals:
StackMap stack:
14: aload 3
aload 4
if_acmpeq 15
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 3
athrow
16: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 path Ljava/nio/file/Path;
0 17 1 bytes [B
0 17 2 options [Ljava/nio/file/OpenOption;
3 12 5 out Ljava/io/OutputStream;
4 10 6 len I
5 10 7 rem I
7 9 8 n I
Exception table:
from to target type
3 10 11 any
2 13 13 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
bytes
options
public static java.nio.file.Path write(java.nio.file.Path, java.lang.Iterable<? extends java.lang.CharSequence>, java.nio.charset.Charset, java.nio.file.OpenOption[]);
descriptor: (Ljava/nio/file/Path;Ljava/lang/Iterable;Ljava/nio/charset/Charset;[Ljava/nio/file/OpenOption;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=6, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokevirtual java.nio.charset.Charset.newEncoder:()Ljava/nio/charset/CharsetEncoder;
astore 4
start local 4 2: aconst_null
astore 5
aconst_null
astore 6
3: aload 0
aload 3
invokestatic java.nio.file.Files.newOutputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
astore 7
start local 7 4: new java.io.BufferedWriter
dup
new java.io.OutputStreamWriter
dup
aload 7
aload 4
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/CharsetEncoder;)V
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
astore 8
start local 8 5: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 10
goto 9
StackMap locals: java.nio.file.Path java.lang.Iterable java.nio.charset.Charset java.nio.file.OpenOption[] java.nio.charset.CharsetEncoder java.lang.Throwable java.lang.Throwable java.io.OutputStream java.io.BufferedWriter top java.util.Iterator
StackMap stack:
6: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.CharSequence
astore 9
start local 9 7: aload 8
aload 9
invokevirtual java.io.BufferedWriter.append:(Ljava/lang/CharSequence;)Ljava/io/Writer;
pop
8: aload 8
invokevirtual java.io.BufferedWriter.newLine:()V
end local 9 9: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
10: aload 8
ifnull 13
aload 8
invokevirtual java.io.BufferedWriter.close:()V
goto 13
StackMap locals: java.nio.file.Path java.lang.Iterable java.nio.charset.Charset java.nio.file.OpenOption[] java.nio.charset.CharsetEncoder java.lang.Throwable java.lang.Throwable java.io.OutputStream java.io.BufferedWriter
StackMap stack: java.lang.Throwable
11: astore 5
aload 8
ifnull 12
aload 8
invokevirtual java.io.BufferedWriter.close:()V
end local 8 StackMap locals:
StackMap stack:
12: aload 5
athrow
StackMap locals:
StackMap stack:
13: aload 7
ifnull 21
aload 7
invokevirtual java.io.OutputStream.close:()V
goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 6
aload 5
ifnonnull 15
aload 6
astore 5
goto 16
StackMap locals:
StackMap stack:
15: aload 5
aload 6
if_acmpeq 16
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 7
ifnull 17
aload 7
invokevirtual java.io.OutputStream.close:()V
end local 7 StackMap locals:
StackMap stack:
17: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 6
aload 5
ifnonnull 19
aload 6
astore 5
goto 20
StackMap locals:
StackMap stack:
19: aload 5
aload 6
if_acmpeq 20
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 5
athrow
21: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 path Ljava/nio/file/Path;
0 22 1 lines Ljava/lang/Iterable<+Ljava/lang/CharSequence;>;
0 22 2 cs Ljava/nio/charset/Charset;
0 22 3 options [Ljava/nio/file/OpenOption;
2 22 4 encoder Ljava/nio/charset/CharsetEncoder;
4 17 7 out Ljava/io/OutputStream;
5 12 8 writer Ljava/io/BufferedWriter;
7 9 9 line Ljava/lang/CharSequence;
Exception table:
from to target type
5 10 11 any
4 13 14 any
3 18 18 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/lang/Iterable<+Ljava/lang/CharSequence;>;Ljava/nio/charset/Charset;[Ljava/nio/file/OpenOption;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
lines
cs
options
public static java.nio.file.Path write(java.nio.file.Path, java.lang.Iterable<? extends java.lang.CharSequence>, java.nio.file.OpenOption[]);
descriptor: (Ljava/nio/file/Path;Ljava/lang/Iterable;[Ljava/nio/file/OpenOption;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getstatic sun.nio.cs.UTF_8.INSTANCE:Lsun/nio/cs/UTF_8;
aload 2
invokestatic java.nio.file.Files.write:(Ljava/nio/file/Path;Ljava/lang/Iterable;Ljava/nio/charset/Charset;[Ljava/nio/file/OpenOption;)Ljava/nio/file/Path;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 lines Ljava/lang/Iterable<+Ljava/lang/CharSequence;>;
0 1 2 options [Ljava/nio/file/OpenOption;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/lang/Iterable<+Ljava/lang/CharSequence;>;[Ljava/nio/file/OpenOption;)Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
lines
options
public static java.nio.file.Path writeString(java.nio.file.Path, java.lang.CharSequence, java.nio.file.OpenOption[]);
descriptor: (Ljava/nio/file/Path;Ljava/lang/CharSequence;[Ljava/nio/file/OpenOption;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
getstatic sun.nio.cs.UTF_8.INSTANCE:Lsun/nio/cs/UTF_8;
aload 2
invokestatic java.nio.file.Files.writeString:(Ljava/nio/file/Path;Ljava/lang/CharSequence;Ljava/nio/charset/Charset;[Ljava/nio/file/OpenOption;)Ljava/nio/file/Path;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 csq Ljava/lang/CharSequence;
0 1 2 options [Ljava/nio/file/OpenOption;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
csq
options
public static java.nio.file.Path writeString(java.nio.file.Path, java.lang.CharSequence, java.nio.charset.Charset, java.nio.file.OpenOption[]);
descriptor: (Ljava/nio/file/Path;Ljava/lang/CharSequence;Ljava/nio/charset/Charset;[Ljava/nio/file/OpenOption;)Ljava/nio/file/Path;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: getstatic java.nio.file.Files.JLA:Ljdk/internal/access/JavaLangAccess;
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokeinterface jdk.internal.access.JavaLangAccess.getBytesNoRepl:(Ljava/lang/String;Ljava/nio/charset/Charset;)[B
astore 4
start local 4 4: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
ldc Ljava/lang/Object;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
if_acmpeq 6
5: aload 4
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 4
6: StackMap locals: byte[]
StackMap stack:
aload 0
aload 4
aload 3
invokestatic java.nio.file.Files.write:(Ljava/nio/file/Path;[B[Ljava/nio/file/OpenOption;)Ljava/nio/file/Path;
pop
7: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 path Ljava/nio/file/Path;
0 8 1 csq Ljava/lang/CharSequence;
0 8 2 cs Ljava/nio/charset/Charset;
0 8 3 options [Ljava/nio/file/OpenOption;
4 8 4 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
csq
cs
options
public static java.util.stream.Stream<java.nio.file.Path> list(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
astore 1
start local 1 1: aload 1
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: new java.nio.file.Files$2
dup
aload 2
invokespecial java.nio.file.Files$2.<init>:(Ljava/util/Iterator;)V
astore 3
start local 3 3: aload 3
iconst_1
invokestatic java.util.Spliterators.spliteratorUnknownSize:(Ljava/util/Iterator;I)Ljava/util/Spliterator;
4: astore 4
start local 4 5: aload 4
iconst_0
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
6: aload 1
invokestatic java.nio.file.Files.asUncheckedRunnable:(Ljava/io/Closeable;)Ljava/lang/Runnable;
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
7: areturn
end local 4 end local 3 end local 2 8: StackMap locals: java.nio.file.Path java.nio.file.DirectoryStream
StackMap stack: java.lang.Throwable
astore 2
start local 2 9: aload 1
invokeinterface java.nio.file.DirectoryStream.close:()V
10: goto 15
StackMap locals: java.nio.file.Path java.nio.file.DirectoryStream java.lang.Throwable
StackMap stack: java.io.IOException
11: astore 3
start local 3 12: aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
13: goto 15
StackMap locals: java.nio.file.Path java.nio.file.DirectoryStream java.lang.Throwable java.io.IOException
StackMap stack: java.lang.Throwable
14: pop
end local 3 15: StackMap locals:
StackMap stack:
aload 2
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 dir Ljava/nio/file/Path;
1 16 1 ds Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
2 8 2 delegate Ljava/util/Iterator<Ljava/nio/file/Path;>;
3 8 3 iterator Ljava/util/Iterator<Ljava/nio/file/Path;>;
5 8 4 spliterator Ljava/util/Spliterator<Ljava/nio/file/Path;>;
9 16 2 e Ljava/lang/Throwable;
12 15 3 ex Ljava/io/IOException;
Exception table:
from to target type
1 7 8 Class java.lang.Error
1 7 8 Class java.lang.RuntimeException
9 10 11 Class java.io.IOException
12 13 14 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/util/stream/Stream<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
dir
public static java.util.stream.Stream<java.nio.file.Path> walk(java.nio.file.Path, int, java.nio.file.FileVisitOption[]);
descriptor: (Ljava/nio/file/Path;I[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new java.nio.file.FileTreeIterator
dup
aload 0
iload 1
aload 2
invokespecial java.nio.file.FileTreeIterator.<init>:(Ljava/nio/file/Path;I[Ljava/nio/file/FileVisitOption;)V
astore 3
start local 3 1: aload 3
iconst_1
invokestatic java.util.Spliterators.spliteratorUnknownSize:(Ljava/util/Iterator;I)Ljava/util/Spliterator;
2: astore 4
start local 4 3: aload 4
iconst_0
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
4: aload 3
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/nio/file/FileTreeIterator;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
java/nio/file/FileTreeIterator.close()V (5)
()V
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
5: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/nio/file/Files.lambda$2(Ljava/nio/file/FileTreeWalker$Event;)Ljava/nio/file/Path; (6)
(Ljava/nio/file/FileTreeWalker$Event;)Ljava/nio/file/Path;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
6: areturn
end local 4 7: StackMap locals: java.nio.file.Path int java.nio.file.FileVisitOption[] java.nio.file.FileTreeIterator
StackMap stack: java.lang.Throwable
astore 4
start local 4 8: aload 3
invokevirtual java.nio.file.FileTreeIterator.close:()V
9: aload 4
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 start Ljava/nio/file/Path;
0 10 1 maxDepth I
0 10 2 options [Ljava/nio/file/FileVisitOption;
1 10 3 iterator Ljava/nio/file/FileTreeIterator;
3 7 4 spliterator Ljava/util/Spliterator<Ljava/nio/file/FileTreeWalker$Event;>;
8 10 4 e Ljava/lang/Throwable;
Exception table:
from to target type
1 6 7 Class java.lang.Error
1 6 7 Class java.lang.RuntimeException
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;I[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
start
maxDepth
options
public static java.util.stream.Stream<java.nio.file.Path> walk(java.nio.file.Path, java.nio.file.FileVisitOption[]);
descriptor: (Ljava/nio/file/Path;[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc 2147483647
aload 1
invokestatic java.nio.file.Files.walk:(Ljava/nio/file/Path;I[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 start Ljava/nio/file/Path;
0 1 1 options [Ljava/nio/file/FileVisitOption;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
start
options
public static java.util.stream.Stream<java.nio.file.Path> find(java.nio.file.Path, int, java.util.function.BiPredicate<java.nio.file.Path, java.nio.file.attribute.BasicFileAttributes>, java.nio.file.FileVisitOption[]);
descriptor: (Ljava/nio/file/Path;ILjava/util/function/BiPredicate;[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.nio.file.FileTreeIterator
dup
aload 0
iload 1
aload 3
invokespecial java.nio.file.FileTreeIterator.<init>:(Ljava/nio/file/Path;I[Ljava/nio/file/FileVisitOption;)V
astore 4
start local 4 1: aload 4
iconst_1
invokestatic java.util.Spliterators.spliteratorUnknownSize:(Ljava/util/Iterator;I)Ljava/util/Spliterator;
2: astore 5
start local 5 3: aload 5
iconst_0
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
4: aload 4
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic run(Ljava/nio/file/FileTreeIterator;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
java/nio/file/FileTreeIterator.close()V (5)
()V
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
5: aload 2
invokedynamic test(Ljava/util/function/BiPredicate;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
java/nio/file/Files.lambda$4(Ljava/util/function/BiPredicate;Ljava/nio/file/FileTreeWalker$Event;)Z (6)
(Ljava/nio/file/FileTreeWalker$Event;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
6: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/nio/file/Files.lambda$5(Ljava/nio/file/FileTreeWalker$Event;)Ljava/nio/file/Path; (6)
(Ljava/nio/file/FileTreeWalker$Event;)Ljava/nio/file/Path;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
7: areturn
end local 5 8: StackMap locals: java.nio.file.Path int java.util.function.BiPredicate java.nio.file.FileVisitOption[] java.nio.file.FileTreeIterator
StackMap stack: java.lang.Throwable
astore 5
start local 5 9: aload 4
invokevirtual java.nio.file.FileTreeIterator.close:()V
10: aload 5
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 start Ljava/nio/file/Path;
0 11 1 maxDepth I
0 11 2 matcher Ljava/util/function/BiPredicate<Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;>;
0 11 3 options [Ljava/nio/file/FileVisitOption;
1 11 4 iterator Ljava/nio/file/FileTreeIterator;
3 8 5 spliterator Ljava/util/Spliterator<Ljava/nio/file/FileTreeWalker$Event;>;
9 11 5 e Ljava/lang/Throwable;
Exception table:
from to target type
1 7 8 Class java.lang.Error
1 7 8 Class java.lang.RuntimeException
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;ILjava/util/function/BiPredicate<Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;>;[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream<Ljava/nio/file/Path;>;
MethodParameters:
Name Flags
start
maxDepth
matcher
options
public static java.util.stream.Stream<java.lang.String> lines(java.nio.file.Path, java.nio.charset.Charset);
descriptor: (Ljava/nio/file/Path;Ljava/nio/charset/Charset;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.nio.file.Path.getFileSystem:()Ljava/nio/file/FileSystem;
invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
if_acmpne 7
1: getstatic java.nio.file.FileChannelLinesSpliterator.SUPPORTED_CHARSET_NAMES:Ljava/util/Set;
aload 1
invokevirtual java.nio.charset.Charset.name:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 7
2: aload 0
iconst_1
anewarray java.nio.file.OpenOption
dup
iconst_0
getstatic java.nio.file.StandardOpenOption.READ:Ljava/nio/file/StandardOpenOption;
aastore
invokestatic java.nio.channels.FileChannel.open:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;
astore 2
start local 2 3: aload 2
aload 1
invokestatic java.nio.file.Files.createFileChannelLinesStream:(Ljava/nio/channels/FileChannel;Ljava/nio/charset/Charset;)Ljava/util/stream/Stream;
astore 3
start local 3 4: aload 3
ifnull 6
5: aload 3
areturn
6: StackMap locals: java.nio.channels.FileChannel java.util.stream.Stream
StackMap stack:
aload 2
invokevirtual java.nio.channels.FileChannel.close:()V
end local 3 end local 2 7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic java.nio.file.Files.newBufferedReader:(Ljava/nio/file/Path;Ljava/nio/charset/Charset;)Ljava/io/BufferedReader;
invokestatic java.nio.file.Files.createBufferedReaderLinesStream:(Ljava/io/BufferedReader;)Ljava/util/stream/Stream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 path Ljava/nio/file/Path;
0 8 1 cs Ljava/nio/charset/Charset;
3 7 2 fc Ljava/nio/channels/FileChannel;
4 7 3 fcls Ljava/util/stream/Stream<Ljava/lang/String;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;Ljava/nio/charset/Charset;)Ljava/util/stream/Stream<Ljava/lang/String;>;
MethodParameters:
Name Flags
path
cs
private static java.util.stream.Stream<java.lang.String> createFileChannelLinesStream(java.nio.channels.FileChannel, java.nio.charset.Charset);
descriptor: (Ljava/nio/channels/FileChannel;Ljava/nio/charset/Charset;)Ljava/util/stream/Stream;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.nio.channels.FileChannel.size:()J
lstore 2
start local 2 1: lload 2
lconst_0
lcmp
ifle 14
lload 2
ldc 2147483647
lcmp
ifgt 14
2: new java.nio.file.FileChannelLinesSpliterator
dup
aload 0
aload 1
iconst_0
lload 2
l2i
invokespecial java.nio.file.FileChannelLinesSpliterator.<init>:(Ljava/nio/channels/FileChannel;Ljava/nio/charset/Charset;II)V
astore 4
start local 4 3: aload 4
iconst_0
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
4: aload 0
invokestatic java.nio.file.Files.asUncheckedRunnable:(Ljava/io/Closeable;)Ljava/lang/Runnable;
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
5: areturn
end local 4 end local 2 6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 7: aload 0
invokevirtual java.nio.channels.FileChannel.close:()V
8: goto 13
StackMap locals: java.nio.channels.FileChannel java.nio.charset.Charset java.lang.Throwable
StackMap stack: java.io.IOException
9: astore 3
start local 3 10: aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
11: goto 13
StackMap locals: java.nio.channels.FileChannel java.nio.charset.Charset java.lang.Throwable java.io.IOException
StackMap stack: java.lang.Throwable
12: pop
end local 3 13: StackMap locals:
StackMap stack:
aload 2
athrow
end local 2 14: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 fc Ljava/nio/channels/FileChannel;
0 15 1 cs Ljava/nio/charset/Charset;
1 6 2 length J
3 6 4 s Ljava/util/Spliterator<Ljava/lang/String;>;
7 14 2 e Ljava/lang/Throwable;
10 13 3 ex Ljava/io/IOException;
Exception table:
from to target type
0 5 6 Class java.lang.Error
0 5 6 Class java.lang.RuntimeException
0 5 6 Class java.io.IOException
7 8 9 Class java.io.IOException
10 11 12 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/channels/FileChannel;Ljava/nio/charset/Charset;)Ljava/util/stream/Stream<Ljava/lang/String;>;
MethodParameters:
Name Flags
fc
cs
private static java.util.stream.Stream<java.lang.String> createBufferedReaderLinesStream(java.io.BufferedReader);
descriptor: (Ljava/io/BufferedReader;)Ljava/util/stream/Stream;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.io.BufferedReader.lines:()Ljava/util/stream/Stream;
aload 0
invokestatic java.nio.file.Files.asUncheckedRunnable:(Ljava/io/Closeable;)Ljava/lang/Runnable;
invokeinterface java.util.stream.Stream.onClose:(Ljava/lang/Runnable;)Ljava/util/stream/BaseStream;
checkcast java.util.stream.Stream
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 3: aload 0
invokevirtual java.io.BufferedReader.close:()V
4: goto 9
StackMap locals: java.io.BufferedReader java.lang.Throwable
StackMap stack: java.io.IOException
5: astore 2
start local 2 6: aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
7: goto 9
StackMap locals: java.io.BufferedReader java.lang.Throwable java.io.IOException
StackMap stack: java.lang.Throwable
8: pop
end local 2 9: StackMap locals:
StackMap stack:
aload 1
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 br Ljava/io/BufferedReader;
3 10 1 e Ljava/lang/Throwable;
6 9 2 ex Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.lang.Error
0 1 2 Class java.lang.RuntimeException
3 4 5 Class java.io.IOException
6 7 8 Class java.lang.Throwable
Signature: (Ljava/io/BufferedReader;)Ljava/util/stream/Stream<Ljava/lang/String;>;
MethodParameters:
Name Flags
br
public static java.util.stream.Stream<java.lang.String> lines(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/stream/Stream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic sun.nio.cs.UTF_8.INSTANCE:Lsun/nio/cs/UTF_8;
invokestatic java.nio.file.Files.lines:(Ljava/nio/file/Path;Ljava/nio/charset/Charset;)Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/util/stream/Stream<Ljava/lang/String;>;
MethodParameters:
Name Flags
path
static int[] $SWITCH_TABLE$java$nio$file$FileTreeWalker$EventType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic java.nio.file.Files.$SWITCH_TABLE$java$nio$file$FileTreeWalker$EventType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic java.nio.file.FileTreeWalker$EventType.values:()[Ljava/nio/file/FileTreeWalker$EventType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic java.nio.file.FileTreeWalker$EventType.END_DIRECTORY:Ljava/nio/file/FileTreeWalker$EventType;
invokevirtual java.nio.file.FileTreeWalker$EventType.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic java.nio.file.FileTreeWalker$EventType.ENTRY:Ljava/nio/file/FileTreeWalker$EventType;
invokevirtual java.nio.file.FileTreeWalker$EventType.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic java.nio.file.FileTreeWalker$EventType.START_DIRECTORY:Ljava/nio/file/FileTreeWalker$EventType;
invokevirtual java.nio.file.FileTreeWalker$EventType.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic java.nio.file.Files.$SWITCH_TABLE$java$nio$file$FileTreeWalker$EventType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
private static void lambda$0(java.io.Closeable);
descriptor: (Ljava/io/Closeable;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=1
0: aload 0
invokeinterface java.io.Closeable.close:()V
1: goto 4
StackMap locals:
StackMap stack: java.io.IOException
2: astore 1
start local 1 3: new java.io.UncheckedIOException
dup
aload 1
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 1 4: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
private static java.nio.file.Path lambda$2(java.nio.file.FileTreeWalker$Event);
descriptor: (Ljava/nio/file/FileTreeWalker$Event;)Ljava/nio/file/Path;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.file.FileTreeWalker$Event.file:()Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 entry Ljava/nio/file/FileTreeWalker$Event;
private static boolean lambda$4(java.util.function.BiPredicate, java.nio.file.FileTreeWalker$Event);
descriptor: (Ljava/util/function/BiPredicate;Ljava/nio/file/FileTreeWalker$Event;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual java.nio.file.FileTreeWalker$Event.file:()Ljava/nio/file/Path;
aload 1
invokevirtual java.nio.file.FileTreeWalker$Event.attributes:()Ljava/nio/file/attribute/BasicFileAttributes;
invokeinterface java.util.function.BiPredicate.test:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 entry Ljava/nio/file/FileTreeWalker$Event;
private static java.nio.file.Path lambda$5(java.nio.file.FileTreeWalker$Event);
descriptor: (Ljava/nio/file/FileTreeWalker$Event;)Ljava/nio/file/Path;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.nio.file.FileTreeWalker$Event.file:()Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 entry Ljava/nio/file/FileTreeWalker$Event;
}
SourceFile: "Files.java"
NestMembers:
java.nio.file.Files$1 java.nio.file.Files$2 java.nio.file.Files$AcceptAllFilter java.nio.file.Files$FileTypeDetectors java.nio.file.Files$FileTypeDetectors$1 java.nio.file.Files$FileTypeDetectors$2
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Filter = java.nio.file.DirectoryStream$Filter of java.nio.file.DirectoryStream
Event = java.nio.file.FileTreeWalker$Event of java.nio.file.FileTreeWalker
final EventType = java.nio.file.FileTreeWalker$EventType of java.nio.file.FileTreeWalker
java.nio.file.Files$1
java.nio.file.Files$2
private AcceptAllFilter = java.nio.file.Files$AcceptAllFilter of java.nio.file.Files
private FileTypeDetectors = java.nio.file.Files$FileTypeDetectors of java.nio.file.Files