public class org.apache.cassandra.auth.DataResource implements org.apache.cassandra.auth.IResource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.auth.DataResource
super_class: java.lang.Object
{
private static final java.util.Set<org.apache.cassandra.auth.Permission> TABLE_LEVEL_PERMISSIONS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Lorg/apache/cassandra/auth/Permission;>;
private static final java.util.Set<org.apache.cassandra.auth.Permission> KEYSPACE_LEVEL_PERMISSIONS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Lorg/apache/cassandra/auth/Permission;>;
private static final java.lang.String ROOT_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "data"
private static final org.apache.cassandra.auth.DataResource ROOT_RESOURCE;
descriptor: Lorg/apache/cassandra/auth/DataResource;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.apache.cassandra.auth.DataResource$Level level;
descriptor: Lorg/apache/cassandra/auth/DataResource$Level;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String keyspace;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String table;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final transient int hash;
descriptor: I
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
private static volatile int[] $SWITCH_TABLE$org$apache$cassandra$auth$DataResource$Level;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: getstatic org.apache.cassandra.auth.Permission.ALTER:Lorg/apache/cassandra/auth/Permission;
iconst_4
anewarray org.apache.cassandra.auth.Permission
dup
iconst_0
1: getstatic org.apache.cassandra.auth.Permission.DROP:Lorg/apache/cassandra/auth/Permission;
aastore
dup
iconst_1
2: getstatic org.apache.cassandra.auth.Permission.SELECT:Lorg/apache/cassandra/auth/Permission;
aastore
dup
iconst_2
3: getstatic org.apache.cassandra.auth.Permission.MODIFY:Lorg/apache/cassandra/auth/Permission;
aastore
dup
iconst_3
4: getstatic org.apache.cassandra.auth.Permission.AUTHORIZE:Lorg/apache/cassandra/auth/Permission;
aastore
5: invokestatic com.google.common.collect.Sets.immutableEnumSet:(Ljava/lang/Enum;[Ljava/lang/Enum;)Lcom/google/common/collect/ImmutableSet;
putstatic org.apache.cassandra.auth.DataResource.TABLE_LEVEL_PERMISSIONS:Ljava/util/Set;
6: getstatic org.apache.cassandra.auth.Permission.CREATE:Lorg/apache/cassandra/auth/Permission;
iconst_5
anewarray org.apache.cassandra.auth.Permission
dup
iconst_0
7: getstatic org.apache.cassandra.auth.Permission.ALTER:Lorg/apache/cassandra/auth/Permission;
aastore
dup
iconst_1
8: getstatic org.apache.cassandra.auth.Permission.DROP:Lorg/apache/cassandra/auth/Permission;
aastore
dup
iconst_2
9: getstatic org.apache.cassandra.auth.Permission.SELECT:Lorg/apache/cassandra/auth/Permission;
aastore
dup
iconst_3
10: getstatic org.apache.cassandra.auth.Permission.MODIFY:Lorg/apache/cassandra/auth/Permission;
aastore
dup
iconst_4
11: getstatic org.apache.cassandra.auth.Permission.AUTHORIZE:Lorg/apache/cassandra/auth/Permission;
aastore
12: invokestatic com.google.common.collect.Sets.immutableEnumSet:(Ljava/lang/Enum;[Ljava/lang/Enum;)Lcom/google/common/collect/ImmutableSet;
putstatic org.apache.cassandra.auth.DataResource.KEYSPACE_LEVEL_PERMISSIONS:Ljava/util/Set;
13: new org.apache.cassandra.auth.DataResource
dup
getstatic org.apache.cassandra.auth.DataResource$Level.ROOT:Lorg/apache/cassandra/auth/DataResource$Level;
aconst_null
aconst_null
invokespecial org.apache.cassandra.auth.DataResource.<init>:(Lorg/apache/cassandra/auth/DataResource$Level;Ljava/lang/String;Ljava/lang/String;)V
putstatic org.apache.cassandra.auth.DataResource.ROOT_RESOURCE:Lorg/apache/cassandra/auth/DataResource;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(org.apache.cassandra.auth.DataResource$Level, java.lang.String, java.lang.String);
descriptor: (Lorg/apache/cassandra/auth/DataResource$Level;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.auth.DataResource.level:Lorg/apache/cassandra/auth/DataResource$Level;
2: aload 0
aload 2
putfield org.apache.cassandra.auth.DataResource.keyspace:Ljava/lang/String;
3: aload 0
aload 3
putfield org.apache.cassandra.auth.DataResource.table:Ljava/lang/String;
4: aload 0
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 3
aastore
invokestatic com.google.common.base.Objects.hashCode:([Ljava/lang/Object;)I
putfield org.apache.cassandra.auth.DataResource.hash:I
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/auth/DataResource;
0 6 1 level Lorg/apache/cassandra/auth/DataResource$Level;
0 6 2 keyspace Ljava/lang/String;
0 6 3 table Ljava/lang/String;
MethodParameters:
Name Flags
level
keyspace
table
public static org.apache.cassandra.auth.DataResource root();
descriptor: ()Lorg/apache/cassandra/auth/DataResource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.apache.cassandra.auth.DataResource.ROOT_RESOURCE:Lorg/apache/cassandra/auth/DataResource;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.cassandra.auth.DataResource keyspace(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/auth/DataResource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.auth.DataResource
dup
getstatic org.apache.cassandra.auth.DataResource$Level.KEYSPACE:Lorg/apache/cassandra/auth/DataResource$Level;
aload 0
aconst_null
invokespecial org.apache.cassandra.auth.DataResource.<init>:(Lorg/apache/cassandra/auth/DataResource$Level;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 keyspace Ljava/lang/String;
MethodParameters:
Name Flags
keyspace
public static org.apache.cassandra.auth.DataResource table(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/auth/DataResource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.auth.DataResource
dup
getstatic org.apache.cassandra.auth.DataResource$Level.TABLE:Lorg/apache/cassandra/auth/DataResource$Level;
aload 0
aload 1
invokespecial org.apache.cassandra.auth.DataResource.<init>:(Lorg/apache/cassandra/auth/DataResource$Level;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 keyspace Ljava/lang/String;
0 1 1 table Ljava/lang/String;
MethodParameters:
Name Flags
keyspace
table
public static org.apache.cassandra.auth.DataResource fromName(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/auth/DataResource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: aload 0
bipush 47
invokestatic org.apache.commons.lang3.StringUtils.split:(Ljava/lang/String;C)[Ljava/lang/String;
astore 1
start local 1 1: aload 1
iconst_0
aaload
ldc "data"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
aload 1
arraylength
iconst_3
if_icmple 3
2: StackMap locals: java.lang.String[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "%s is not a valid data resource name"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 1
arraylength
iconst_1
if_icmpne 5
4: invokestatic org.apache.cassandra.auth.DataResource.root:()Lorg/apache/cassandra/auth/DataResource;
areturn
5: StackMap locals:
StackMap stack:
aload 1
arraylength
iconst_2
if_icmpne 7
6: aload 1
iconst_1
aaload
invokestatic org.apache.cassandra.auth.DataResource.keyspace:(Ljava/lang/String;)Lorg/apache/cassandra/auth/DataResource;
areturn
7: StackMap locals:
StackMap stack:
aload 1
iconst_1
aaload
aload 1
iconst_2
aaload
invokestatic org.apache.cassandra.auth.DataResource.table:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/auth/DataResource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 name Ljava/lang/String;
1 8 1 parts [Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic org.apache.cassandra.auth.DataResource.$SWITCH_TABLE$org$apache$cassandra$auth$DataResource$Level:()[I
aload 0
getfield org.apache.cassandra.auth.DataResource.level:Lorg/apache/cassandra/auth/DataResource$Level;
invokevirtual org.apache.cassandra.auth.DataResource$Level.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 2
3: 3
default: 4
}
1: StackMap locals:
StackMap stack:
ldc "data"
areturn
2: StackMap locals:
StackMap stack:
ldc "%s/%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "data"
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.auth.DataResource.keyspace:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
ldc "%s/%s/%s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
ldc "data"
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.auth.DataResource.keyspace:Ljava/lang/String;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.auth.DataResource.table:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/auth/DataResource;
public org.apache.cassandra.auth.IResource getParent();
descriptor: ()Lorg/apache/cassandra/auth/IResource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic org.apache.cassandra.auth.DataResource.$SWITCH_TABLE$org$apache$cassandra$auth$DataResource$Level:()[I
aload 0
getfield org.apache.cassandra.auth.DataResource.level:Lorg/apache/cassandra/auth/DataResource$Level;
invokevirtual org.apache.cassandra.auth.DataResource$Level.ordinal:()I
iaload
tableswitch { // 2 - 3
2: 1
3: 2
default: 3
}
1: StackMap locals:
StackMap stack:
invokestatic org.apache.cassandra.auth.DataResource.root:()Lorg/apache/cassandra/auth/DataResource;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.auth.DataResource.keyspace:Ljava/lang/String;
invokestatic org.apache.cassandra.auth.DataResource.keyspace:(Ljava/lang/String;)Lorg/apache/cassandra/auth/DataResource;
areturn
3: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Root-level resource can't have a parent"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/auth/DataResource;
public boolean isRootLevel();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.auth.DataResource.level:Lorg/apache/cassandra/auth/DataResource$Level;
getstatic org.apache.cassandra.auth.DataResource$Level.ROOT:Lorg/apache/cassandra/auth/DataResource$Level;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/auth/DataResource;
public boolean isKeyspaceLevel();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.auth.DataResource.level:Lorg/apache/cassandra/auth/DataResource$Level;
getstatic org.apache.cassandra.auth.DataResource$Level.KEYSPACE:Lorg/apache/cassandra/auth/DataResource$Level;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/auth/DataResource;
public boolean isTableLevel();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.auth.DataResource.level:Lorg/apache/cassandra/auth/DataResource$Level;
getstatic org.apache.cassandra.auth.DataResource$Level.TABLE:Lorg/apache/cassandra/auth/DataResource$Level;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/auth/DataResource;
public java.lang.String getKeyspace();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.auth.DataResource.isRootLevel:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "ROOT data resource has no keyspace"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.auth.DataResource.keyspace:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/auth/DataResource;
public java.lang.String getTable();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.cassandra.auth.DataResource.isTableLevel:()Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "%s data resource has no table"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.auth.DataResource.level:Lorg/apache/cassandra/auth/DataResource$Level;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.auth.DataResource.table:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/auth/DataResource;
public boolean hasParent();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.auth.DataResource.level:Lorg/apache/cassandra/auth/DataResource$Level;
getstatic org.apache.cassandra.auth.DataResource$Level.ROOT:Lorg/apache/cassandra/auth/DataResource$Level;
if_acmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/auth/DataResource;
public boolean exists();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic org.apache.cassandra.auth.DataResource.$SWITCH_TABLE$org$apache$cassandra$auth$DataResource$Level:()[I
aload 0
getfield org.apache.cassandra.auth.DataResource.level:Lorg/apache/cassandra/auth/DataResource$Level;
invokevirtual org.apache.cassandra.auth.DataResource$Level.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 2
3: 3
default: 5
}
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
invokevirtual org.apache.cassandra.config.Schema.getKeyspaces:()Ljava/util/Set;
aload 0
getfield org.apache.cassandra.auth.DataResource.keyspace:Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
3: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.config.Schema.instance:Lorg/apache/cassandra/config/Schema;
aload 0
getfield org.apache.cassandra.auth.DataResource.keyspace:Ljava/lang/String;
aload 0
getfield org.apache.cassandra.auth.DataResource.table:Ljava/lang/String;
invokevirtual org.apache.cassandra.config.Schema.getCFMetaData:(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cassandra/config/CFMetaData;
ifnull 4
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/auth/DataResource;
public java.util.Set<org.apache.cassandra.auth.Permission> applicablePermissions();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.apache.cassandra.auth.DataResource.$SWITCH_TABLE$org$apache$cassandra$auth$DataResource$Level:()[I
aload 0
getfield org.apache.cassandra.auth.DataResource.level:Lorg/apache/cassandra/auth/DataResource$Level;
invokevirtual org.apache.cassandra.auth.DataResource$Level.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 1
3: 2
default: 3
}
1: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.auth.DataResource.KEYSPACE_LEVEL_PERMISSIONS:Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.auth.DataResource.TABLE_LEVEL_PERMISSIONS:Ljava/util/Set;
areturn
3: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/auth/DataResource;
Signature: ()Ljava/util/Set<Lorg/apache/cassandra/auth/Permission;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic org.apache.cassandra.auth.DataResource.$SWITCH_TABLE$org$apache$cassandra$auth$DataResource$Level:()[I
aload 0
getfield org.apache.cassandra.auth.DataResource.level:Lorg/apache/cassandra/auth/DataResource$Level;
invokevirtual org.apache.cassandra.auth.DataResource$Level.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 2
3: 3
default: 4
}
1: StackMap locals:
StackMap stack:
ldc "<all keyspaces>"
areturn
2: StackMap locals:
StackMap stack:
ldc "<keyspace %s>"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.auth.DataResource.keyspace:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
ldc "<table %s.%s>"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.auth.DataResource.keyspace:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.auth.DataResource.table:Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/auth/DataResource;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.cassandra.auth.DataResource
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.auth.DataResource
astore 2
start local 2 5: aload 0
getfield org.apache.cassandra.auth.DataResource.level:Lorg/apache/cassandra/auth/DataResource$Level;
aload 2
getfield org.apache.cassandra.auth.DataResource.level:Lorg/apache/cassandra/auth/DataResource$Level;
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 9
6: aload 0
getfield org.apache.cassandra.auth.DataResource.keyspace:Ljava/lang/String;
aload 2
getfield org.apache.cassandra.auth.DataResource.keyspace:Ljava/lang/String;
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 9
7: aload 0
getfield org.apache.cassandra.auth.DataResource.table:Ljava/lang/String;
aload 2
getfield org.apache.cassandra.auth.DataResource.table:Ljava/lang/String;
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 9
8: iconst_1
ireturn
StackMap locals: org.apache.cassandra.auth.DataResource
StackMap stack:
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/auth/DataResource;
0 10 1 o Ljava/lang/Object;
5 10 2 ds Lorg/apache/cassandra/auth/DataResource;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.auth.DataResource.hash:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/auth/DataResource;
static int[] $SWITCH_TABLE$org$apache$cassandra$auth$DataResource$Level();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.cassandra.auth.DataResource.$SWITCH_TABLE$org$apache$cassandra$auth$DataResource$Level:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.cassandra.auth.DataResource$Level.values:()[Lorg/apache/cassandra/auth/DataResource$Level;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.cassandra.auth.DataResource$Level.KEYSPACE:Lorg/apache/cassandra/auth/DataResource$Level;
invokevirtual org.apache.cassandra.auth.DataResource$Level.ordinal:()I
iconst_2
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.auth.DataResource$Level.ROOT:Lorg/apache/cassandra/auth/DataResource$Level;
invokevirtual org.apache.cassandra.auth.DataResource$Level.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.cassandra.auth.DataResource$Level.TABLE:Lorg/apache/cassandra/auth/DataResource$Level;
invokevirtual org.apache.cassandra.auth.DataResource$Level.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.apache.cassandra.auth.DataResource.$SWITCH_TABLE$org$apache$cassandra$auth$DataResource$Level:[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
}
SourceFile: "DataResource.java"
NestMembers:
org.apache.cassandra.auth.DataResource$Level
InnerClasses:
final Level = org.apache.cassandra.auth.DataResource$Level of org.apache.cassandra.auth.DataResource