public class org.apache.cassandra.auth.Roles
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.cassandra.auth.Roles
  super_class: java.lang.Object
{
  private static final org.slf4j.Logger logger;
    descriptor: Lorg/slf4j/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final org.apache.cassandra.auth.RolesCache cache;
    descriptor: Lorg/apache/cassandra/auth/RolesCache;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 31
            ldc Lorg/apache/cassandra/auth/Roles;
            invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
            putstatic org.apache.cassandra.auth.Roles.logger:Lorg/slf4j/Logger;
         1: .line 33
            new org.apache.cassandra.auth.RolesCache
            dup
            invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRoleManager:()Lorg/apache/cassandra/auth/IRoleManager;
            invokespecial org.apache.cassandra.auth.RolesCache.<init>:(Lorg/apache/cassandra/auth/IRoleManager;)V
            putstatic org.apache.cassandra.auth.Roles.cache:Lorg/apache/cassandra/auth/RolesCache;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.auth.Roles this
         0: .line 29
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.apache.cassandra.auth.Roles this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/auth/Roles;

  public static java.util.Set<org.apache.cassandra.auth.RoleResource> getRoles(org.apache.cassandra.auth.RoleResource);
    descriptor: (Lorg/apache/cassandra/auth/RoleResource;)Ljava/util/Set;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.auth.RoleResource primaryRole
         0: .line 45
            getstatic org.apache.cassandra.auth.Roles.cache:Lorg/apache/cassandra/auth/RolesCache;
            aload 0 /* primaryRole */
            invokevirtual org.apache.cassandra.auth.RolesCache.getRoles:(Lorg/apache/cassandra/auth/RoleResource;)Ljava/util/Set;
            areturn
        end local 0 // org.apache.cassandra.auth.RoleResource primaryRole
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    1     0  primaryRole  Lorg/apache/cassandra/auth/RoleResource;
    Signature: (Lorg/apache/cassandra/auth/RoleResource;)Ljava/util/Set<Lorg/apache/cassandra/auth/RoleResource;>;
    MethodParameters:
             Name  Flags
      primaryRole  

  public static boolean hasSuperuserStatus(org.apache.cassandra.auth.RoleResource);
    descriptor: (Lorg/apache/cassandra/auth/RoleResource;)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // org.apache.cassandra.auth.RoleResource role
         0: .line 59
            invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRoleManager:()Lorg/apache/cassandra/auth/IRoleManager;
            astore 1 /* roleManager */
        start local 1 // org.apache.cassandra.auth.IRoleManager roleManager
         1: .line 60
            getstatic org.apache.cassandra.auth.Roles.cache:Lorg/apache/cassandra/auth/RolesCache;
            aload 0 /* role */
            invokevirtual org.apache.cassandra.auth.RolesCache.getRoles:(Lorg/apache/cassandra/auth/RoleResource;)Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3
            goto 5
      StackMap locals: org.apache.cassandra.auth.RoleResource org.apache.cassandra.auth.IRoleManager top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.cassandra.auth.RoleResource
            astore 2 /* r */
        start local 2 // org.apache.cassandra.auth.RoleResource r
         3: .line 61
            aload 1 /* roleManager */
            aload 2 /* r */
            invokeinterface org.apache.cassandra.auth.IRoleManager.isSuper:(Lorg/apache/cassandra/auth/RoleResource;)Z
            ifeq 5
         4: .line 62
            iconst_1
            ireturn
        end local 2 // org.apache.cassandra.auth.RoleResource r
         5: .line 60
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         6: .line 63
            iconst_0
            ireturn
        end local 1 // org.apache.cassandra.auth.IRoleManager roleManager
         7: .line 65
      StackMap locals: org.apache.cassandra.auth.RoleResource
      StackMap stack: org.apache.cassandra.exceptions.RequestExecutionException
            astore 1 /* e */
        start local 1 // org.apache.cassandra.exceptions.RequestExecutionException e
         8: .line 67
            getstatic org.apache.cassandra.auth.Roles.logger:Lorg/slf4j/Logger;
            ldc "Failed to authorize {} for super-user permission"
            aload 0 /* role */
            invokevirtual org.apache.cassandra.auth.RoleResource.getRoleName:()Ljava/lang/String;
            invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
         9: .line 68
            new org.apache.cassandra.exceptions.UnauthorizedException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unable to perform authorization of super-user permission: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* e */
            invokevirtual org.apache.cassandra.exceptions.RequestExecutionException.getMessage:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 1 /* e */
            invokespecial org.apache.cassandra.exceptions.UnauthorizedException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 1 // org.apache.cassandra.exceptions.RequestExecutionException e
        end local 0 // org.apache.cassandra.auth.RoleResource role
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   10     0         role  Lorg/apache/cassandra/auth/RoleResource;
            1    7     1  roleManager  Lorg/apache/cassandra/auth/IRoleManager;
            3    5     2            r  Lorg/apache/cassandra/auth/RoleResource;
            8   10     1            e  Lorg/apache/cassandra/exceptions/RequestExecutionException;
      Exception table:
        from    to  target  type
           0     4       7  Class org.apache.cassandra.exceptions.RequestExecutionException
           5     6       7  Class org.apache.cassandra.exceptions.RequestExecutionException
    MethodParameters:
      Name  Flags
      role  
}
SourceFile: "Roles.java"