abstract class sun.nio.fs.AbstractUserDefinedFileAttributeView implements java.nio.file.attribute.UserDefinedFileAttributeView, sun.nio.fs.DynamicFileAttributeView
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: sun.nio.fs.AbstractUserDefinedFileAttributeView
super_class: java.lang.Object
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lsun/nio/fs/AbstractUserDefinedFileAttributeView;
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 sun.nio.fs.AbstractUserDefinedFileAttributeView.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
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/AbstractUserDefinedFileAttributeView;
protected void checkAccess(java.lang.String, boolean, boolean);
descriptor: (Ljava/lang/String;ZZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic sun.nio.fs.AbstractUserDefinedFileAttributeView.$assertionsDisabled:Z
ifne 1
iload 2
ifne 1
iload 3
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 4
start local 4 2: aload 4
ifnull 8
3: iload 2
ifeq 5
4: aload 4
aload 1
invokevirtual java.lang.SecurityManager.checkRead:(Ljava/lang/String;)V
5: StackMap locals: java.lang.SecurityManager
StackMap stack:
iload 3
ifeq 7
6: aload 4
aload 1
invokevirtual java.lang.SecurityManager.checkWrite:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 4
new java.lang.RuntimePermission
dup
ldc "accessUserDefinedAttributes"
invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
8: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/nio/fs/AbstractUserDefinedFileAttributeView;
0 9 1 file Ljava/lang/String;
0 9 2 checkRead Z
0 9 3 checkWrite Z
2 9 4 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
file
checkRead
checkWrite
public final java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "user"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/fs/AbstractUserDefinedFileAttributeView;
public final void setAttribute(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof byte[]
ifeq 3
1: aload 2
checkcast byte[]
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 3
start local 3 2: goto 4
end local 3 3: StackMap locals:
StackMap stack:
aload 2
checkcast java.nio.ByteBuffer
astore 3
start local 3 4: StackMap locals: java.nio.ByteBuffer
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual sun.nio.fs.AbstractUserDefinedFileAttributeView.write:(Ljava/lang/String;Ljava/nio/ByteBuffer;)I
pop
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/fs/AbstractUserDefinedFileAttributeView;
0 6 1 attribute Ljava/lang/String;
0 6 2 value Ljava/lang/Object;
2 3 3 bb Ljava/nio/ByteBuffer;
4 6 3 bb Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
attribute
value
public final java.util.Map<java.lang.String, java.lang.Object> readAttributes(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/util/Map;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=10, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: sun.nio.fs.AbstractUserDefinedFileAttributeView java.lang.String[] java.util.List top int int java.lang.String[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 3
ldc "*"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
invokevirtual sun.nio.fs.AbstractUserDefinedFileAttributeView.list:()Ljava/util/List;
astore 2
5: goto 11
6: StackMap locals: sun.nio.fs.AbstractUserDefinedFileAttributeView java.lang.String[] java.util.List java.lang.String int int java.lang.String[]
StackMap stack:
aload 3
invokevirtual java.lang.String.length:()I
ifne 8
7: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 9: iinc 4 1
StackMap locals: sun.nio.fs.AbstractUserDefinedFileAttributeView java.lang.String[] java.util.List top int int java.lang.String[]
StackMap stack:
10: iload 4
iload 5
if_icmplt 2
11: StackMap locals: sun.nio.fs.AbstractUserDefinedFileAttributeView java.lang.String[] java.util.List
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 12: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 21
StackMap locals: sun.nio.fs.AbstractUserDefinedFileAttributeView java.lang.String[] java.util.List java.util.Map top java.util.Iterator
StackMap stack:
13: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 14: aload 0
aload 4
invokevirtual sun.nio.fs.AbstractUserDefinedFileAttributeView.size:(Ljava/lang/String;)I
istore 6
start local 6 15: iload 6
newarray 8
astore 7
start local 7 16: aload 0
aload 4
aload 7
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokevirtual sun.nio.fs.AbstractUserDefinedFileAttributeView.read:(Ljava/lang/String;Ljava/nio/ByteBuffer;)I
istore 8
start local 8 17: iload 8
iload 6
if_icmpne 18
aload 7
goto 19
StackMap locals: sun.nio.fs.AbstractUserDefinedFileAttributeView java.lang.String[] java.util.List java.util.Map java.lang.String java.util.Iterator int byte[] int
StackMap stack:
18: aload 7
iload 8
invokestatic java.util.Arrays.copyOf:([BI)[B
StackMap locals:
StackMap stack: byte[]
19: astore 9
start local 9 20: aload 3
aload 4
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 end local 7 end local 6 end local 4 21: StackMap locals: sun.nio.fs.AbstractUserDefinedFileAttributeView java.lang.String[] java.util.List java.util.Map top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
22: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/nio/fs/AbstractUserDefinedFileAttributeView;
0 23 1 attributes [Ljava/lang/String;
1 23 2 names Ljava/util/List<Ljava/lang/String;>;
3 9 3 name Ljava/lang/String;
12 23 3 result Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
14 21 4 name Ljava/lang/String;
15 21 6 size I
16 21 7 buf [B
17 21 8 n I
20 21 9 value [B
Exceptions:
throws java.io.IOException
Signature: ([Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
attributes
}
SourceFile: "AbstractUserDefinedFileAttributeView.java"