class sun.nio.fs.WindowsFileAttributeViews$Dos extends sun.nio.fs.WindowsFileAttributeViews$Basic implements java.nio.file.attribute.DosFileAttributeView
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.nio.fs.WindowsFileAttributeViews$Dos
super_class: sun.nio.fs.WindowsFileAttributeViews$Basic
{
private static final java.lang.String READONLY_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "readonly"
private static final java.lang.String ARCHIVE_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "archive"
private static final java.lang.String SYSTEM_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "system"
private static final java.lang.String HIDDEN_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "hidden"
private static final java.lang.String ATTRIBUTES_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "attributes"
static final java.util.Set<java.lang.String> dosAttributeNames;
descriptor: Ljava/util/Set;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: getstatic sun.nio.fs.WindowsFileAttributeViews$Dos.basicAttributeNames:Ljava/util/Set;
iconst_5
anewarray java.lang.String
dup
iconst_0
1: ldc "readonly"
aastore
dup
iconst_1
ldc "archive"
aastore
dup
iconst_2
ldc "system"
aastore
dup
iconst_3
ldc "hidden"
aastore
dup
iconst_4
ldc "attributes"
aastore
2: invokestatic sun.nio.fs.Util.newSet:(Ljava/util/Set;[Ljava/lang/Object;)Ljava/util/Set;
3: putstatic sun.nio.fs.WindowsFileAttributeViews$Dos.dosAttributeNames:Ljava/util/Set;
4: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.nio.fs.WindowsPath, boolean);
descriptor: (Lsun/nio/fs/WindowsPath;Z)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial sun.nio.fs.WindowsFileAttributeViews$Basic.<init>:(Lsun/nio/fs/WindowsPath;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/WindowsFileAttributeViews$Dos;
0 2 1 file Lsun/nio/fs/WindowsPath;
0 2 2 followLinks Z
MethodParameters:
Name Flags
file
followLinks
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "dos"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/WindowsFileAttributeViews$Dos;
public void setAttribute(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "readonly"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
aload 2
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual sun.nio.fs.WindowsFileAttributeViews$Dos.setReadOnly:(Z)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
ldc "archive"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
aload 2
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual sun.nio.fs.WindowsFileAttributeViews$Dos.setArchive:(Z)V
5: return
6: StackMap locals:
StackMap stack:
aload 1
ldc "system"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
aload 2
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual sun.nio.fs.WindowsFileAttributeViews$Dos.setSystem:(Z)V
8: return
9: StackMap locals:
StackMap stack:
aload 1
ldc "hidden"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
aload 2
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual sun.nio.fs.WindowsFileAttributeViews$Dos.setHidden:(Z)V
11: return
12: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial sun.nio.fs.WindowsFileAttributeViews$Basic.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/nio/fs/WindowsFileAttributeViews$Dos;
0 14 1 attribute Ljava/lang/String;
0 14 2 value Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
attribute
value
public java.util.Map<java.lang.String, java.lang.Object> readAttributes(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic sun.nio.fs.WindowsFileAttributeViews$Dos.dosAttributeNames:Ljava/util/Set;
aload 1
invokestatic sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder.create:(Ljava/util/Set;[Ljava/lang/String;)Lsun/nio/fs/AbstractBasicFileAttributeView$AttributesBuilder;
1: astore 2
start local 2 2: aload 0
invokevirtual sun.nio.fs.WindowsFileAttributeViews$Dos.readAttributes:()Lsun/nio/fs/WindowsFileAttributes;
astore 3
start local 3 3: aload 0
aload 3
aload 2
invokevirtual sun.nio.fs.WindowsFileAttributeViews$Dos.addRequestedBasicAttributes:(Ljava/nio/file/attribute/BasicFileAttributes;Lsun/nio/fs/AbstractBasicFileAttributeView$AttributesBuilder;)V
4: aload 2
ldc "readonly"
invokevirtual sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder.match:(Ljava/lang/String;)Z
ifeq 6
5: aload 2
ldc "readonly"
aload 3
invokevirtual sun.nio.fs.WindowsFileAttributes.isReadOnly:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)V
6: StackMap locals: sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder sun.nio.fs.WindowsFileAttributes
StackMap stack:
aload 2
ldc "archive"
invokevirtual sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder.match:(Ljava/lang/String;)Z
ifeq 8
7: aload 2
ldc "archive"
aload 3
invokevirtual sun.nio.fs.WindowsFileAttributes.isArchive:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
aload 2
ldc "system"
invokevirtual sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder.match:(Ljava/lang/String;)Z
ifeq 10
9: aload 2
ldc "system"
aload 3
invokevirtual sun.nio.fs.WindowsFileAttributes.isSystem:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
aload 2
ldc "hidden"
invokevirtual sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder.match:(Ljava/lang/String;)Z
ifeq 12
11: aload 2
ldc "hidden"
aload 3
invokevirtual sun.nio.fs.WindowsFileAttributes.isHidden:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
aload 2
ldc "attributes"
invokevirtual sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder.match:(Ljava/lang/String;)Z
ifeq 14
13: aload 2
ldc "attributes"
aload 3
invokevirtual sun.nio.fs.WindowsFileAttributes.attributes:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder.add:(Ljava/lang/String;Ljava/lang/Object;)V
14: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder.unmodifiableMap:()Ljava/util/Map;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/nio/fs/WindowsFileAttributeViews$Dos;
0 15 1 attributes [Ljava/lang/String;
2 15 2 builder Lsun/nio/fs/AbstractBasicFileAttributeView$AttributesBuilder;
3 15 3 attrs Lsun/nio/fs/WindowsFileAttributes;
Exceptions:
throws java.io.IOException
Signature: ([Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
attributes
private void updateAttributes(int, boolean);
descriptor: (IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.nio.fs.WindowsFileAttributeViews$Dos.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsPath.checkWrite:()V
1: aload 0
getfield sun.nio.fs.WindowsFileAttributeViews$Dos.file:Lsun/nio/fs/WindowsPath;
aload 0
getfield sun.nio.fs.WindowsFileAttributeViews$Dos.followLinks:Z
invokestatic sun.nio.fs.WindowsLinkSupport.getFinalPath:(Lsun/nio/fs/WindowsPath;Z)Ljava/lang/String;
astore 3
start local 3 2: aload 3
invokestatic sun.nio.fs.WindowsNativeDispatcher.GetFileAttributes:(Ljava/lang/String;)I
istore 4
start local 4 3: iload 4
istore 5
start local 5 4: iload 2
ifeq 7
5: iload 5
iload 1
ior
istore 5
6: goto 8
7: StackMap locals: java.lang.String int int
StackMap stack:
iload 5
iload 1
iconst_m1
ixor
iand
istore 5
8: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmpeq 13
9: aload 3
iload 5
invokestatic sun.nio.fs.WindowsNativeDispatcher.SetFileAttributes:(Ljava/lang/String;I)V
end local 5 end local 4 10: goto 13
StackMap locals: sun.nio.fs.WindowsFileAttributeViews$Dos int int java.lang.String
StackMap stack: sun.nio.fs.WindowsException
11: astore 4
start local 4 12: aload 4
aload 0
getfield sun.nio.fs.WindowsFileAttributeViews$Dos.file:Lsun/nio/fs/WindowsPath;
invokevirtual sun.nio.fs.WindowsException.rethrowAsIOException:(Lsun/nio/fs/WindowsPath;)V
end local 4 13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/nio/fs/WindowsFileAttributeViews$Dos;
0 14 1 flag I
0 14 2 enable Z
2 14 3 path Ljava/lang/String;
3 10 4 oldValue I
4 10 5 newValue I
12 13 4 x Lsun/nio/fs/WindowsException;
Exception table:
from to target type
2 10 11 Class sun.nio.fs.WindowsException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
flag
enable
public void setReadOnly(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
iload 1
invokevirtual sun.nio.fs.WindowsFileAttributeViews$Dos.updateAttributes:(IZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/WindowsFileAttributeViews$Dos;
0 2 1 value Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
public void setHidden(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_2
iload 1
invokevirtual sun.nio.fs.WindowsFileAttributeViews$Dos.updateAttributes:(IZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/WindowsFileAttributeViews$Dos;
0 2 1 value Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
public void setArchive(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
bipush 32
iload 1
invokevirtual sun.nio.fs.WindowsFileAttributeViews$Dos.updateAttributes:(IZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/WindowsFileAttributeViews$Dos;
0 2 1 value Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
public void setSystem(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_4
iload 1
invokevirtual sun.nio.fs.WindowsFileAttributeViews$Dos.updateAttributes:(IZ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/nio/fs/WindowsFileAttributeViews$Dos;
0 2 1 value Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
value
void setAttributes(sun.nio.fs.WindowsFileAttributes);
descriptor: (Lsun/nio/fs/WindowsFileAttributes;)V
flags: (0x0000)
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokevirtual sun.nio.fs.WindowsFileAttributes.isReadOnly:()Z
ifeq 2
iload 2
iconst_1
ior
istore 2
2: StackMap locals: int
StackMap stack:
aload 1
invokevirtual sun.nio.fs.WindowsFileAttributes.isHidden:()Z
ifeq 3
iload 2
iconst_2
ior
istore 2
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.nio.fs.WindowsFileAttributes.isArchive:()Z
ifeq 4
iload 2
bipush 32
ior
istore 2
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.nio.fs.WindowsFileAttributes.isSystem:()Z
ifeq 5
iload 2
iconst_4
ior
istore 2
5: StackMap locals:
StackMap stack:
aload 0
iload 2
iconst_1
invokevirtual sun.nio.fs.WindowsFileAttributeViews$Dos.updateAttributes:(IZ)V
6: aload 0
7: aload 1
invokevirtual sun.nio.fs.WindowsFileAttributes.creationTime:()Ljava/nio/file/attribute/FileTime;
invokestatic sun.nio.fs.WindowsFileAttributes.toWindowsTime:(Ljava/nio/file/attribute/FileTime;)J
8: aload 1
invokevirtual sun.nio.fs.WindowsFileAttributes.lastModifiedTime:()Ljava/nio/file/attribute/FileTime;
invokestatic sun.nio.fs.WindowsFileAttributes.toWindowsTime:(Ljava/nio/file/attribute/FileTime;)J
9: aload 1
invokevirtual sun.nio.fs.WindowsFileAttributes.lastAccessTime:()Ljava/nio/file/attribute/FileTime;
invokestatic sun.nio.fs.WindowsFileAttributes.toWindowsTime:(Ljava/nio/file/attribute/FileTime;)J
10: invokevirtual sun.nio.fs.WindowsFileAttributeViews$Dos.setFileTimes:(JJJ)V
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/nio/fs/WindowsFileAttributeViews$Dos;
0 12 1 attrs Lsun/nio/fs/WindowsFileAttributes;
1 12 2 flags I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
attrs
public java.nio.file.attribute.DosFileAttributes readAttributes();
descriptor: ()Ljava/nio/file/attribute/DosFileAttributes;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual sun.nio.fs.WindowsFileAttributeViews$Dos.readAttributes:()Lsun/nio/fs/WindowsFileAttributes;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
SourceFile: "WindowsFileAttributeViews.java"
NestHost: sun.nio.fs.WindowsFileAttributeViews
InnerClasses:
AttributesBuilder = sun.nio.fs.AbstractBasicFileAttributeView$AttributesBuilder of sun.nio.fs.AbstractBasicFileAttributeView
private Basic = sun.nio.fs.WindowsFileAttributeViews$Basic of sun.nio.fs.WindowsFileAttributeViews
Dos = sun.nio.fs.WindowsFileAttributeViews$Dos of sun.nio.fs.WindowsFileAttributeViews