public final class org.apache.cassandra.db.Directories$FileAction extends java.lang.Enum<org.apache.cassandra.db.Directories$FileAction>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: org.apache.cassandra.db.Directories$FileAction
super_class: java.lang.Enum
{
public static final org.apache.cassandra.db.Directories$FileAction X;
descriptor: Lorg/apache/cassandra/db/Directories$FileAction;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.apache.cassandra.db.Directories$FileAction W;
descriptor: Lorg/apache/cassandra/db/Directories$FileAction;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.apache.cassandra.db.Directories$FileAction XW;
descriptor: Lorg/apache/cassandra/db/Directories$FileAction;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.apache.cassandra.db.Directories$FileAction R;
descriptor: Lorg/apache/cassandra/db/Directories$FileAction;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.apache.cassandra.db.Directories$FileAction XR;
descriptor: Lorg/apache/cassandra/db/Directories$FileAction;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.apache.cassandra.db.Directories$FileAction RW;
descriptor: Lorg/apache/cassandra/db/Directories$FileAction;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.apache.cassandra.db.Directories$FileAction XRW;
descriptor: Lorg/apache/cassandra/db/Directories$FileAction;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$db$Directories$FileAction;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static final org.apache.cassandra.db.Directories$FileAction[] ENUM$VALUES;
descriptor: [Lorg/apache/cassandra/db/Directories$FileAction;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.apache.cassandra.db.Directories$FileAction
dup
ldc "X"
iconst_0
invokespecial org.apache.cassandra.db.Directories$FileAction.<init>:(Ljava/lang/String;I)V
putstatic org.apache.cassandra.db.Directories$FileAction.X:Lorg/apache/cassandra/db/Directories$FileAction;
new org.apache.cassandra.db.Directories$FileAction
dup
ldc "W"
iconst_1
invokespecial org.apache.cassandra.db.Directories$FileAction.<init>:(Ljava/lang/String;I)V
putstatic org.apache.cassandra.db.Directories$FileAction.W:Lorg/apache/cassandra/db/Directories$FileAction;
new org.apache.cassandra.db.Directories$FileAction
dup
ldc "XW"
iconst_2
invokespecial org.apache.cassandra.db.Directories$FileAction.<init>:(Ljava/lang/String;I)V
putstatic org.apache.cassandra.db.Directories$FileAction.XW:Lorg/apache/cassandra/db/Directories$FileAction;
new org.apache.cassandra.db.Directories$FileAction
dup
ldc "R"
iconst_3
invokespecial org.apache.cassandra.db.Directories$FileAction.<init>:(Ljava/lang/String;I)V
putstatic org.apache.cassandra.db.Directories$FileAction.R:Lorg/apache/cassandra/db/Directories$FileAction;
new org.apache.cassandra.db.Directories$FileAction
dup
ldc "XR"
iconst_4
invokespecial org.apache.cassandra.db.Directories$FileAction.<init>:(Ljava/lang/String;I)V
putstatic org.apache.cassandra.db.Directories$FileAction.XR:Lorg/apache/cassandra/db/Directories$FileAction;
new org.apache.cassandra.db.Directories$FileAction
dup
ldc "RW"
iconst_5
invokespecial org.apache.cassandra.db.Directories$FileAction.<init>:(Ljava/lang/String;I)V
putstatic org.apache.cassandra.db.Directories$FileAction.RW:Lorg/apache/cassandra/db/Directories$FileAction;
new org.apache.cassandra.db.Directories$FileAction
dup
ldc "XRW"
bipush 6
invokespecial org.apache.cassandra.db.Directories$FileAction.<init>:(Ljava/lang/String;I)V
putstatic org.apache.cassandra.db.Directories$FileAction.XRW:Lorg/apache/cassandra/db/Directories$FileAction;
1: bipush 7
anewarray org.apache.cassandra.db.Directories$FileAction
dup
iconst_0
getstatic org.apache.cassandra.db.Directories$FileAction.X:Lorg/apache/cassandra/db/Directories$FileAction;
aastore
dup
iconst_1
getstatic org.apache.cassandra.db.Directories$FileAction.W:Lorg/apache/cassandra/db/Directories$FileAction;
aastore
dup
iconst_2
getstatic org.apache.cassandra.db.Directories$FileAction.XW:Lorg/apache/cassandra/db/Directories$FileAction;
aastore
dup
iconst_3
getstatic org.apache.cassandra.db.Directories$FileAction.R:Lorg/apache/cassandra/db/Directories$FileAction;
aastore
dup
iconst_4
getstatic org.apache.cassandra.db.Directories$FileAction.XR:Lorg/apache/cassandra/db/Directories$FileAction;
aastore
dup
iconst_5
getstatic org.apache.cassandra.db.Directories$FileAction.RW:Lorg/apache/cassandra/db/Directories$FileAction;
aastore
dup
bipush 6
getstatic org.apache.cassandra.db.Directories$FileAction.XRW:Lorg/apache/cassandra/db/Directories$FileAction;
aastore
putstatic org.apache.cassandra.db.Directories$FileAction.ENUM$VALUES:[Lorg/apache/cassandra/db/Directories$FileAction;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/db/Directories$FileAction;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
public static boolean hasPrivilege(java.io.File, org.apache.cassandra.db.Directories$FileAction);
descriptor: (Ljava/io/File;Lorg/apache/cassandra/db/Directories$FileAction;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: invokestatic org.apache.cassandra.db.Directories$FileAction.$SWITCH_TABLE$org$apache$cassandra$db$Directories$FileAction:()[I
aload 1
invokevirtual org.apache.cassandra.db.Directories$FileAction.ordinal:()I
iaload
tableswitch { // 1 - 7
1: 2
2: 4
3: 6
4: 10
5: 12
6: 16
7: 20
default: 23
}
2: StackMap locals: int
StackMap stack:
aload 0
invokevirtual java.io.File.canExecute:()Z
istore 2
3: goto 23
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.canWrite:()Z
istore 2
5: goto 23
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.canExecute:()Z
ifeq 7
aload 0
invokevirtual java.io.File.canWrite:()Z
ifeq 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 2
9: goto 23
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.canRead:()Z
istore 2
11: goto 23
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.canExecute:()Z
ifeq 13
aload 0
invokevirtual java.io.File.canRead:()Z
ifeq 13
iconst_1
goto 14
StackMap locals:
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 2
15: goto 23
16: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.canRead:()Z
ifeq 17
aload 0
invokevirtual java.io.File.canWrite:()Z
ifeq 17
iconst_1
goto 18
StackMap locals:
StackMap stack:
17: iconst_0
StackMap locals:
StackMap stack: int
18: istore 2
19: goto 23
20: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.io.File.canExecute:()Z
ifeq 21
aload 0
invokevirtual java.io.File.canRead:()Z
ifeq 21
aload 0
invokevirtual java.io.File.canWrite:()Z
ifeq 21
iconst_1
goto 22
StackMap locals:
StackMap stack:
21: iconst_0
StackMap locals:
StackMap stack: int
22: istore 2
23: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 file Ljava/io/File;
0 24 1 action Lorg/apache/cassandra/db/Directories$FileAction;
1 24 2 privilege Z
MethodParameters:
Name Flags
file
action
public static org.apache.cassandra.db.Directories$FileAction[] values();
descriptor: ()[Lorg/apache/cassandra/db/Directories$FileAction;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.apache.cassandra.db.Directories$FileAction.ENUM$VALUES:[Lorg/apache/cassandra/db/Directories$FileAction;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.apache.cassandra.db.Directories$FileAction
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.db.Directories$FileAction valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/db/Directories$FileAction;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/apache/cassandra/db/Directories$FileAction;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.apache.cassandra.db.Directories$FileAction
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
static int[] $SWITCH_TABLE$org$apache$cassandra$db$Directories$FileAction();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.db.Directories$FileAction.$SWITCH_TABLE$org$apache$cassandra$db$Directories$FileAction:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.db.Directories$FileAction.values:()[Lorg/apache/cassandra/db/Directories$FileAction;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.db.Directories$FileAction.R:Lorg/apache/cassandra/db/Directories$FileAction;
invokevirtual org.apache.cassandra.db.Directories$FileAction.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.apache.cassandra.db.Directories$FileAction.RW:Lorg/apache/cassandra/db/Directories$FileAction;
invokevirtual org.apache.cassandra.db.Directories$FileAction.ordinal:()I
bipush 6
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.cassandra.db.Directories$FileAction.W:Lorg/apache/cassandra/db/Directories$FileAction;
invokevirtual org.apache.cassandra.db.Directories$FileAction.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.apache.cassandra.db.Directories$FileAction.X:Lorg/apache/cassandra/db/Directories$FileAction;
invokevirtual org.apache.cassandra.db.Directories$FileAction.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic org.apache.cassandra.db.Directories$FileAction.XR:Lorg/apache/cassandra/db/Directories$FileAction;
invokevirtual org.apache.cassandra.db.Directories$FileAction.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic org.apache.cassandra.db.Directories$FileAction.XRW:Lorg/apache/cassandra/db/Directories$FileAction;
invokevirtual org.apache.cassandra.db.Directories$FileAction.ordinal:()I
bipush 7
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic org.apache.cassandra.db.Directories$FileAction.XW:Lorg/apache/cassandra/db/Directories$FileAction;
invokevirtual org.apache.cassandra.db.Directories$FileAction.ordinal:()I
iconst_3
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
dup
putstatic org.apache.cassandra.db.Directories$FileAction.$SWITCH_TABLE$org$apache$cassandra$db$Directories$FileAction:[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
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
}
Signature: Ljava/lang/Enum<Lorg/apache/cassandra/db/Directories$FileAction;>;
SourceFile: "Directories.java"
NestHost: org.apache.cassandra.db.Directories
InnerClasses:
public final FileAction = org.apache.cassandra.db.Directories$FileAction of org.apache.cassandra.db.Directories