class org.apache.cassandra.auth.CassandraRoleManager$1 implements com.google.common.base.Function<org.apache.cassandra.cql3.UntypedResultSet$Row, org.apache.cassandra.auth.CassandraRoleManager$Role>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.auth.CassandraRoleManager$1
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
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 Lorg/apache/cassandra/auth/CassandraRoleManager$1;
public org.apache.cassandra.auth.CassandraRoleManager$Role apply(org.apache.cassandra.cql3.UntypedResultSet$Row);
descriptor: (Lorg/apache/cassandra/cql3/UntypedResultSet$Row;)Lorg/apache/cassandra/auth/CassandraRoleManager$Role;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.auth.CassandraRoleManager$Role
dup
aload 1
ldc "role"
invokevirtual org.apache.cassandra.cql3.UntypedResultSet$Row.getString:(Ljava/lang/String;)Ljava/lang/String;
1: aload 1
ldc "is_superuser"
invokevirtual org.apache.cassandra.cql3.UntypedResultSet$Row.getBoolean:(Ljava/lang/String;)Z
2: aload 1
ldc "can_login"
invokevirtual org.apache.cassandra.cql3.UntypedResultSet$Row.getBoolean:(Ljava/lang/String;)Z
3: aload 1
ldc "member_of"
invokevirtual org.apache.cassandra.cql3.UntypedResultSet$Row.has:(Ljava/lang/String;)Z
ifeq 4
aload 1
ldc "member_of"
getstatic org.apache.cassandra.db.marshal.UTF8Type.instance:Lorg/apache/cassandra/db/marshal/UTF8Type;
invokevirtual org.apache.cassandra.cql3.UntypedResultSet$Row.getSet:(Ljava/lang/String;Lorg/apache/cassandra/db/marshal/AbstractType;)Ljava/util/Set;
goto 5
4: StackMap locals: org.apache.cassandra.auth.CassandraRoleManager$1 org.apache.cassandra.cql3.UntypedResultSet$Row
StackMap stack: new 0 new 0 java.lang.String int int
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
5: StackMap locals: org.apache.cassandra.auth.CassandraRoleManager$1 org.apache.cassandra.cql3.UntypedResultSet$Row
StackMap stack: new 0 new 0 java.lang.String int int java.util.Set
invokespecial org.apache.cassandra.auth.CassandraRoleManager$Role.<init>:(Ljava/lang/String;ZZLjava/util/Set;)V
6: areturn
7: StackMap locals:
StackMap stack: java.lang.NullPointerException
astore 2
start local 2 8: getstatic org.apache.cassandra.auth.CassandraRoleManager.logger:Lorg/slf4j/Logger;
ldc "An invalid value has been detected in the {} table for role {}. If you are unable to login, you may need to disable authentication and confirm that values in that table are accurate"
9: ldc "roles"
aload 1
ldc "role"
invokevirtual org.apache.cassandra.cql3.UntypedResultSet$Row.getString:(Ljava/lang/String;)Ljava/lang/String;
10: invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
11: new java.lang.RuntimeException
dup
ldc "Invalid metadata has been detected for role %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
ldc "role"
invokevirtual org.apache.cassandra.cql3.UntypedResultSet$Row.getString:(Ljava/lang/String;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/auth/CassandraRoleManager$1;
0 12 1 row Lorg/apache/cassandra/cql3/UntypedResultSet$Row;
8 12 2 e Ljava/lang/NullPointerException;
Exception table:
from to target type
0 6 7 Class java.lang.NullPointerException
MethodParameters:
Name Flags
row
public java.lang.Object apply(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.apache.cassandra.cql3.UntypedResultSet$Row
invokevirtual org.apache.cassandra.auth.CassandraRoleManager$1.apply:(Lorg/apache/cassandra/cql3/UntypedResultSet$Row;)Lorg/apache/cassandra/auth/CassandraRoleManager$Role;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/google/common/base/Function<Lorg/apache/cassandra/cql3/UntypedResultSet$Row;Lorg/apache/cassandra/auth/CassandraRoleManager$Role;>;
SourceFile: "CassandraRoleManager.java"
EnclosingMethod: org.apache.cassandra.auth.CassandraRoleManager
NestHost: org.apache.cassandra.auth.CassandraRoleManager
InnerClasses:
org.apache.cassandra.auth.CassandraRoleManager$1
private final Role = org.apache.cassandra.auth.CassandraRoleManager$Role of org.apache.cassandra.auth.CassandraRoleManager
public Row = org.apache.cassandra.cql3.UntypedResultSet$Row of org.apache.cassandra.cql3.UntypedResultSet