public class org.graalvm.component.installer.SystemUtils$CopyDirVisitor extends java.nio.file.SimpleFileVisitor<java.nio.file.Path>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.component.installer.SystemUtils$CopyDirVisitor
super_class: java.nio.file.SimpleFileVisitor
{
private java.nio.file.Path fromPath;
descriptor: Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
private java.nio.file.Path toPath;
descriptor: Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
private java.nio.file.StandardCopyOption copyOption;
descriptor: Ljava/nio/file/StandardCopyOption;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.nio.file.Path, java.nio.file.Path, java.nio.file.StandardCopyOption);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/StandardCopyOption;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.nio.file.SimpleFileVisitor.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.component.installer.SystemUtils$CopyDirVisitor.fromPath:Ljava/nio/file/Path;
2: aload 0
aload 2
putfield org.graalvm.component.installer.SystemUtils$CopyDirVisitor.toPath:Ljava/nio/file/Path;
3: aload 0
aload 3
putfield org.graalvm.component.installer.SystemUtils$CopyDirVisitor.copyOption:Ljava/nio/file/StandardCopyOption;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/component/installer/SystemUtils$CopyDirVisitor;
0 5 1 fromPath Ljava/nio/file/Path;
0 5 2 toPath Ljava/nio/file/Path;
0 5 3 copyOption Ljava/nio/file/StandardCopyOption;
MethodParameters:
Name Flags
fromPath
toPath
copyOption
public void <init>(java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic java.nio.file.StandardCopyOption.REPLACE_EXISTING:Ljava/nio/file/StandardCopyOption;
invokespecial org.graalvm.component.installer.SystemUtils$CopyDirVisitor.<init>:(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/StandardCopyOption;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/SystemUtils$CopyDirVisitor;
0 2 1 fromPath Ljava/nio/file/Path;
0 2 2 toPath Ljava/nio/file/Path;
MethodParameters:
Name Flags
fromPath
toPath
public java.nio.file.FileVisitResult preVisitDirectory(java.nio.file.Path, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.component.installer.SystemUtils$CopyDirVisitor.toPath:Ljava/nio/file/Path;
aload 0
getfield org.graalvm.component.installer.SystemUtils$CopyDirVisitor.fromPath:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.relativize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 3
start local 3 1: aload 3
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifne 3
2: aload 3
iconst_0
anewarray java.nio.file.attribute.FileAttribute
invokestatic java.nio.file.Files.createDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
pop
3: StackMap locals: java.nio.file.Path
StackMap stack:
getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/component/installer/SystemUtils$CopyDirVisitor;
0 4 1 dir Ljava/nio/file/Path;
0 4 2 attrs Ljava/nio/file/attribute/BasicFileAttributes;
1 4 3 targetPath Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dir
attrs
public java.nio.file.FileVisitResult visitFile(java.nio.file.Path, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield org.graalvm.component.installer.SystemUtils$CopyDirVisitor.toPath:Ljava/nio/file/Path;
aload 0
getfield org.graalvm.component.installer.SystemUtils$CopyDirVisitor.fromPath:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.relativize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
iconst_1
anewarray java.nio.file.CopyOption
dup
iconst_0
aload 0
getfield org.graalvm.component.installer.SystemUtils$CopyDirVisitor.copyOption:Ljava/nio/file/StandardCopyOption;
aastore
invokestatic java.nio.file.Files.copy:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
pop
1: getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/SystemUtils$CopyDirVisitor;
0 2 1 file Ljava/nio/file/Path;
0 2 2 attrs Ljava/nio/file/attribute/BasicFileAttributes;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
attrs
public java.nio.file.FileVisitResult preVisitDirectory(java.lang.Object, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.nio.file.Path
aload 2
invokevirtual org.graalvm.component.installer.SystemUtils$CopyDirVisitor.preVisitDirectory:(Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public java.nio.file.FileVisitResult visitFile(java.lang.Object, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.nio.file.Path
aload 2
invokevirtual org.graalvm.component.installer.SystemUtils$CopyDirVisitor.visitFile:(Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Ljava/nio/file/SimpleFileVisitor<Ljava/nio/file/Path;>;
SourceFile: "SystemUtils.java"
NestHost: org.graalvm.component.installer.SystemUtils
InnerClasses:
public CopyDirVisitor = org.graalvm.component.installer.SystemUtils$CopyDirVisitor of org.graalvm.component.installer.SystemUtils