public class org.apache.cassandra.auth.JMXResource 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.JMXResource
  super_class: java.lang.Object
{
  private static final java.lang.String ROOT_NAME;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "mbean"

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

  private final org.apache.cassandra.auth.JMXResource$Level level;
    descriptor: Lorg/apache/cassandra/auth/JMXResource$Level;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String name;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private static final java.util.Set<org.apache.cassandra.auth.Permission> JMX_PERMISSIONS;
    descriptor: Ljava/util/Set;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/Set<Lorg/apache/cassandra/auth/Permission;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=5, locals=0, args_size=0
         0: .line 38
            new org.apache.cassandra.auth.JMXResource
            dup
            invokespecial org.apache.cassandra.auth.JMXResource.<init>:()V
            putstatic org.apache.cassandra.auth.JMXResource.ROOT_RESOURCE:Lorg/apache/cassandra/auth/JMXResource;
         1: .line 43
            getstatic org.apache.cassandra.auth.Permission.AUTHORIZE:Lorg/apache/cassandra/auth/Permission;
            iconst_4
            anewarray org.apache.cassandra.auth.Permission
            dup
            iconst_0
         2: .line 44
            getstatic org.apache.cassandra.auth.Permission.DESCRIBE:Lorg/apache/cassandra/auth/Permission;
            aastore
            dup
            iconst_1
         3: .line 45
            getstatic org.apache.cassandra.auth.Permission.EXECUTE:Lorg/apache/cassandra/auth/Permission;
            aastore
            dup
            iconst_2
         4: .line 46
            getstatic org.apache.cassandra.auth.Permission.MODIFY:Lorg/apache/cassandra/auth/Permission;
            aastore
            dup
            iconst_3
         5: .line 47
            getstatic org.apache.cassandra.auth.Permission.SELECT:Lorg/apache/cassandra/auth/Permission;
            aastore
         6: .line 43
            invokestatic com.google.common.collect.Sets.immutableEnumSet:(Ljava/lang/Enum;[Ljava/lang/Enum;)Lcom/google/common/collect/ImmutableSet;
            putstatic org.apache.cassandra.auth.JMXResource.JMX_PERMISSIONS:Ljava/util/Set;
         7: .line 47
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.auth.JMXResource this
         0: .line 49
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 51
            aload 0 /* this */
            getstatic org.apache.cassandra.auth.JMXResource$Level.ROOT:Lorg/apache/cassandra/auth/JMXResource$Level;
            putfield org.apache.cassandra.auth.JMXResource.level:Lorg/apache/cassandra/auth/JMXResource$Level;
         2: .line 52
            aload 0 /* this */
            aconst_null
            putfield org.apache.cassandra.auth.JMXResource.name:Ljava/lang/String;
         3: .line 53
            return
        end local 0 // org.apache.cassandra.auth.JMXResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/cassandra/auth/JMXResource;

  private void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.cassandra.auth.JMXResource this
        start local 1 // java.lang.String name
         0: .line 55
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 57
            aload 0 /* this */
            aload 1 /* name */
            putfield org.apache.cassandra.auth.JMXResource.name:Ljava/lang/String;
         2: .line 58
            aload 0 /* this */
            getstatic org.apache.cassandra.auth.JMXResource$Level.MBEAN:Lorg/apache/cassandra/auth/JMXResource$Level;
            putfield org.apache.cassandra.auth.JMXResource.level:Lorg/apache/cassandra/auth/JMXResource$Level;
         3: .line 59
            return
        end local 1 // java.lang.String name
        end local 0 // org.apache.cassandra.auth.JMXResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/cassandra/auth/JMXResource;
            0    4     1  name  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      name  

  public static org.apache.cassandra.auth.JMXResource mbean(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/auth/JMXResource;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String name
         0: .line 63
            new org.apache.cassandra.auth.JMXResource
            dup
            aload 0 /* name */
            invokespecial org.apache.cassandra.auth.JMXResource.<init>:(Ljava/lang/String;)V
            areturn
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  name  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      name  

  public static org.apache.cassandra.auth.JMXResource fromName(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/auth/JMXResource;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=7, locals=2, args_size=1
        start local 0 // java.lang.String name
         0: .line 74
            aload 0 /* name */
            bipush 47
            invokestatic org.apache.commons.lang3.StringUtils.split:(Ljava/lang/String;C)[Ljava/lang/String;
            astore 1 /* parts */
        start local 1 // java.lang.String[] parts
         1: .line 76
            aload 1 /* parts */
            iconst_0
            aaload
            ldc "mbean"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 2
            aload 1 /* parts */
            arraylength
            iconst_2
            if_icmple 3
         2: .line 77
      StackMap locals: java.lang.String[]
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            ldc "%s is not a valid JMX resource name"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* name */
            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: .line 79
      StackMap locals:
      StackMap stack:
            aload 1 /* parts */
            arraylength
            iconst_1
            if_icmpne 5
         4: .line 80
            invokestatic org.apache.cassandra.auth.JMXResource.root:()Lorg/apache/cassandra/auth/JMXResource;
            areturn
         5: .line 82
      StackMap locals:
      StackMap stack:
            aload 1 /* parts */
            iconst_1
            aaload
            invokestatic org.apache.cassandra.auth.JMXResource.mbean:(Ljava/lang/String;)Lorg/apache/cassandra/auth/JMXResource;
            areturn
        end local 1 // java.lang.String[] parts
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   name  Ljava/lang/String;
            1    6     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 // org.apache.cassandra.auth.JMXResource this
         0: .line 88
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.level:Lorg/apache/cassandra/auth/JMXResource$Level;
            getstatic org.apache.cassandra.auth.JMXResource$Level.ROOT:Lorg/apache/cassandra/auth/JMXResource$Level;
            if_acmpne 2
         1: .line 89
            ldc "mbean"
            areturn
         2: .line 90
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.level:Lorg/apache/cassandra/auth/JMXResource$Level;
            getstatic org.apache.cassandra.auth.JMXResource$Level.MBEAN:Lorg/apache/cassandra/auth/JMXResource$Level;
            if_acmpne 4
         3: .line 91
            ldc "%s/%s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            ldc "mbean"
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.name:Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            areturn
         4: .line 92
      StackMap locals:
      StackMap stack:
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        end local 0 // org.apache.cassandra.auth.JMXResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/cassandra/auth/JMXResource;

  public java.lang.String getObjectName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=1, args_size=1
        start local 0 // org.apache.cassandra.auth.JMXResource this
         0: .line 102
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.level:Lorg/apache/cassandra/auth/JMXResource$Level;
            getstatic org.apache.cassandra.auth.JMXResource$Level.ROOT:Lorg/apache/cassandra/auth/JMXResource$Level;
            if_acmpne 2
         1: .line 103
            new java.lang.IllegalStateException
            dup
            ldc "%s JMX resource has no object name"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.level:Lorg/apache/cassandra/auth/JMXResource$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: .line 104
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.name:Ljava/lang/String;
            areturn
        end local 0 // org.apache.cassandra.auth.JMXResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/auth/JMXResource;

  public static org.apache.cassandra.auth.JMXResource root();
    descriptor: ()Lorg/apache/cassandra/auth/JMXResource;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 112
            getstatic org.apache.cassandra.auth.JMXResource.ROOT_RESOURCE:Lorg/apache/cassandra/auth/JMXResource;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  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 // org.apache.cassandra.auth.JMXResource this
         0: .line 118
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.level:Lorg/apache/cassandra/auth/JMXResource$Level;
            getstatic org.apache.cassandra.auth.JMXResource$Level.MBEAN:Lorg/apache/cassandra/auth/JMXResource$Level;
            if_acmpne 2
         1: .line 119
            invokestatic org.apache.cassandra.auth.JMXResource.root:()Lorg/apache/cassandra/auth/JMXResource;
            areturn
         2: .line 120
      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 // org.apache.cassandra.auth.JMXResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/auth/JMXResource;

  public boolean hasParent();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.auth.JMXResource this
         0: .line 129
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.level:Lorg/apache/cassandra/auth/JMXResource$Level;
            getstatic org.apache.cassandra.auth.JMXResource$Level.ROOT:Lorg/apache/cassandra/auth/JMXResource$Level;
            invokevirtual org.apache.cassandra.auth.JMXResource$Level.equals:(Ljava/lang/Object;)Z
            ifeq 1
            iconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_1
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // org.apache.cassandra.auth.JMXResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/auth/JMXResource;

  public boolean exists();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // org.apache.cassandra.auth.JMXResource this
         0: .line 135
            aload 0 /* this */
            invokevirtual org.apache.cassandra.auth.JMXResource.hasParent:()Z
            ifne 2
         1: .line 136
            iconst_1
            ireturn
         2: .line 137
      StackMap locals:
      StackMap stack:
            invokestatic java.lang.management.ManagementFactory.getPlatformMBeanServer:()Ljavax/management/MBeanServer;
            astore 1 /* mbs */
        start local 1 // javax.management.MBeanServer mbs
         3: .line 140
            aload 1 /* mbs */
            new javax.management.ObjectName
            dup
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.name:Ljava/lang/String;
            invokespecial javax.management.ObjectName.<init>:(Ljava/lang/String;)V
            aconst_null
            invokeinterface javax.management.MBeanServer.queryNames:(Ljavax/management/ObjectName;Ljavax/management/QueryExp;)Ljava/util/Set;
            invokeinterface java.util.Set.isEmpty:()Z
            ifeq 4
            iconst_0
            goto 5
      StackMap locals: javax.management.MBeanServer
      StackMap stack:
         4: iconst_1
      StackMap locals:
      StackMap stack: int
         5: ireturn
         6: .line 142
      StackMap locals:
      StackMap stack: javax.management.MalformedObjectNameException
            pop
         7: .line 144
            iconst_0
            ireturn
         8: .line 146
      StackMap locals:
      StackMap stack: java.lang.NullPointerException
            pop
         9: .line 148
            iconst_0
            ireturn
        end local 1 // javax.management.MBeanServer mbs
        end local 0 // org.apache.cassandra.auth.JMXResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lorg/apache/cassandra/auth/JMXResource;
            3   10     1   mbs  Ljavax/management/MBeanServer;
      Exception table:
        from    to  target  type
           3     5       6  Class javax.management.MalformedObjectNameException
           3     5       8  Class java.lang.NullPointerException

  public java.util.Set<org.apache.cassandra.auth.Permission> applicablePermissions();
    descriptor: ()Ljava/util/Set;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.auth.JMXResource this
         0: .line 155
            getstatic org.apache.cassandra.auth.JMXResource.JMX_PERMISSIONS:Ljava/util/Set;
            areturn
        end local 0 // org.apache.cassandra.auth.JMXResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/auth/JMXResource;
    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 // org.apache.cassandra.auth.JMXResource this
         0: .line 161
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.level:Lorg/apache/cassandra/auth/JMXResource$Level;
            getstatic org.apache.cassandra.auth.JMXResource$Level.ROOT:Lorg/apache/cassandra/auth/JMXResource$Level;
            if_acmpne 1
            ldc "<all mbeans>"
            goto 2
      StackMap locals:
      StackMap stack:
         1: ldc "<mbean %s>"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.name:Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
      StackMap locals:
      StackMap stack: java.lang.String
         2: areturn
        end local 0 // org.apache.cassandra.auth.JMXResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/auth/JMXResource;

  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 // org.apache.cassandra.auth.JMXResource this
        start local 1 // java.lang.Object o
         0: .line 167
            aload 0 /* this */
            aload 1 /* o */
            if_acmpne 2
         1: .line 168
            iconst_1
            ireturn
         2: .line 170
      StackMap locals:
      StackMap stack:
            aload 1 /* o */
            instanceof org.apache.cassandra.auth.JMXResource
            ifne 4
         3: .line 171
            iconst_0
            ireturn
         4: .line 173
      StackMap locals:
      StackMap stack:
            aload 1 /* o */
            checkcast org.apache.cassandra.auth.JMXResource
            astore 2 /* j */
        start local 2 // org.apache.cassandra.auth.JMXResource j
         5: .line 175
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.level:Lorg/apache/cassandra/auth/JMXResource$Level;
            aload 2 /* j */
            getfield org.apache.cassandra.auth.JMXResource.level:Lorg/apache/cassandra/auth/JMXResource$Level;
            invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 6
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.name:Ljava/lang/String;
            aload 2 /* j */
            getfield org.apache.cassandra.auth.JMXResource.name:Ljava/lang/String;
            invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
            ifeq 6
            iconst_1
            ireturn
      StackMap locals: org.apache.cassandra.auth.JMXResource
      StackMap stack:
         6: iconst_0
            ireturn
        end local 2 // org.apache.cassandra.auth.JMXResource j
        end local 1 // java.lang.Object o
        end local 0 // org.apache.cassandra.auth.JMXResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/apache/cassandra/auth/JMXResource;
            0    7     1     o  Ljava/lang/Object;
            5    7     2     j  Lorg/apache/cassandra/auth/JMXResource;
    MethodParameters:
      Name  Flags
      o     

  public int hashCode();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.apache.cassandra.auth.JMXResource this
         0: .line 181
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.level:Lorg/apache/cassandra/auth/JMXResource$Level;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield org.apache.cassandra.auth.JMXResource.name:Ljava/lang/String;
            aastore
            invokestatic com.google.common.base.Objects.hashCode:([Ljava/lang/Object;)I
            ireturn
        end local 0 // org.apache.cassandra.auth.JMXResource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/auth/JMXResource;
}
SourceFile: "JMXResource.java"
NestMembers:
  org.apache.cassandra.auth.JMXResource$Level
InnerClasses:
  final Level = org.apache.cassandra.auth.JMXResource$Level of org.apache.cassandra.auth.JMXResource