class sun.nio.fs.UnixCopyFile$Flags
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.UnixCopyFile$Flags
super_class: java.lang.Object
{
boolean replaceExisting;
descriptor: Z
flags: (0x0000)
boolean atomicMove;
descriptor: Z
flags: (0x0000)
boolean followLinks;
descriptor: Z
flags: (0x0000)
boolean interruptible;
descriptor: Z
flags: (0x0000)
boolean copyBasicAttributes;
descriptor: Z
flags: (0x0000)
boolean copyPosixAttributes;
descriptor: Z
flags: (0x0000)
boolean copyNonPosixAttributes;
descriptor: Z
flags: (0x0000)
boolean failIfUnableToCopyBasic;
descriptor: Z
flags: (0x0000)
boolean failIfUnableToCopyPosix;
descriptor: Z
flags: (0x0000)
boolean failIfUnableToCopyNonPosix;
descriptor: Z
flags: (0x0000)
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 Lsun/nio/fs/UnixCopyFile$Flags;
static sun.nio.fs.UnixCopyFile$Flags fromCopyOptions(java.nio.file.CopyOption[]);
descriptor: ([Ljava/nio/file/CopyOption;)Lsun/nio/fs/UnixCopyFile$Flags;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=1
start local 0 0: new sun.nio.fs.UnixCopyFile$Flags
dup
invokespecial sun.nio.fs.UnixCopyFile$Flags.<init>:()V
astore 1
start local 1 1: aload 1
iconst_1
putfield sun.nio.fs.UnixCopyFile$Flags.followLinks:Z
2: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 23
StackMap locals: java.nio.file.CopyOption[] sun.nio.fs.UnixCopyFile$Flags top int int java.nio.file.CopyOption[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 2
getstatic java.nio.file.StandardCopyOption.REPLACE_EXISTING:Ljava/nio/file/StandardCopyOption;
if_acmpne 7
5: aload 1
iconst_1
putfield sun.nio.fs.UnixCopyFile$Flags.replaceExisting:Z
6: goto 22
7: StackMap locals: java.nio.file.CopyOption[] sun.nio.fs.UnixCopyFile$Flags java.nio.file.CopyOption int int java.nio.file.CopyOption[]
StackMap stack:
aload 2
getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
if_acmpne 10
8: aload 1
iconst_0
putfield sun.nio.fs.UnixCopyFile$Flags.followLinks:Z
9: goto 22
10: StackMap locals:
StackMap stack:
aload 2
getstatic java.nio.file.StandardCopyOption.COPY_ATTRIBUTES:Ljava/nio/file/StandardCopyOption;
if_acmpne 16
11: aload 1
iconst_1
putfield sun.nio.fs.UnixCopyFile$Flags.copyBasicAttributes:Z
12: aload 1
iconst_1
putfield sun.nio.fs.UnixCopyFile$Flags.copyPosixAttributes:Z
13: aload 1
iconst_1
putfield sun.nio.fs.UnixCopyFile$Flags.copyNonPosixAttributes:Z
14: aload 1
iconst_1
putfield sun.nio.fs.UnixCopyFile$Flags.failIfUnableToCopyBasic:Z
15: goto 22
16: StackMap locals:
StackMap stack:
aload 2
getstatic com.sun.nio.file.ExtendedCopyOption.INTERRUPTIBLE:Lcom/sun/nio/file/ExtendedCopyOption;
if_acmpne 19
17: aload 1
iconst_1
putfield sun.nio.fs.UnixCopyFile$Flags.interruptible:Z
18: goto 22
19: StackMap locals:
StackMap stack:
aload 2
ifnonnull 21
20: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
21: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "Unsupported copy option"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 22: StackMap locals: java.nio.file.CopyOption[] sun.nio.fs.UnixCopyFile$Flags top int int java.nio.file.CopyOption[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
23: iload 3
iload 4
if_icmplt 3
24: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 options [Ljava/nio/file/CopyOption;
1 25 1 flags Lsun/nio/fs/UnixCopyFile$Flags;
4 22 2 option Ljava/nio/file/CopyOption;
MethodParameters:
Name Flags
options
static sun.nio.fs.UnixCopyFile$Flags fromMoveOptions(java.nio.file.CopyOption[]);
descriptor: ([Ljava/nio/file/CopyOption;)Lsun/nio/fs/UnixCopyFile$Flags;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=1
start local 0 0: new sun.nio.fs.UnixCopyFile$Flags
dup
invokespecial sun.nio.fs.UnixCopyFile$Flags.<init>:()V
astore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 15
StackMap locals: java.nio.file.CopyOption[] sun.nio.fs.UnixCopyFile$Flags top int int java.nio.file.CopyOption[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
getstatic java.nio.file.StandardCopyOption.ATOMIC_MOVE:Ljava/nio/file/StandardCopyOption;
if_acmpne 6
4: aload 1
iconst_1
putfield sun.nio.fs.UnixCopyFile$Flags.atomicMove:Z
5: goto 14
6: StackMap locals: java.nio.file.CopyOption[] sun.nio.fs.UnixCopyFile$Flags java.nio.file.CopyOption int int java.nio.file.CopyOption[]
StackMap stack:
aload 2
getstatic java.nio.file.StandardCopyOption.REPLACE_EXISTING:Ljava/nio/file/StandardCopyOption;
if_acmpne 9
7: aload 1
iconst_1
putfield sun.nio.fs.UnixCopyFile$Flags.replaceExisting:Z
8: goto 14
9: StackMap locals:
StackMap stack:
aload 2
getstatic java.nio.file.LinkOption.NOFOLLOW_LINKS:Ljava/nio/file/LinkOption;
if_acmpne 11
10: goto 14
11: StackMap locals:
StackMap stack:
aload 2
ifnonnull 13
12: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
13: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "Unsupported copy option"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 14: StackMap locals: java.nio.file.CopyOption[] sun.nio.fs.UnixCopyFile$Flags top int int java.nio.file.CopyOption[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
iload 4
if_icmplt 2
16: aload 1
iconst_1
putfield sun.nio.fs.UnixCopyFile$Flags.copyBasicAttributes:Z
17: aload 1
iconst_1
putfield sun.nio.fs.UnixCopyFile$Flags.copyPosixAttributes:Z
18: aload 1
iconst_1
putfield sun.nio.fs.UnixCopyFile$Flags.copyNonPosixAttributes:Z
19: aload 1
iconst_1
putfield sun.nio.fs.UnixCopyFile$Flags.failIfUnableToCopyBasic:Z
20: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 options [Ljava/nio/file/CopyOption;
1 21 1 flags Lsun/nio/fs/UnixCopyFile$Flags;
3 14 2 option Ljava/nio/file/CopyOption;
MethodParameters:
Name Flags
options
}
SourceFile: "UnixCopyFile.java"
NestHost: sun.nio.fs.UnixCopyFile
InnerClasses:
private Flags = sun.nio.fs.UnixCopyFile$Flags of sun.nio.fs.UnixCopyFile