public final class org.apache.cassandra.auth.Resources
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.auth.Resources
super_class: java.lang.Object
{
public static final java.lang.String ROOT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "cassandra"
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final java.lang.String KEYSPACES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "keyspaces"
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/Resources;
public static java.util.List<? extends org.apache.cassandra.auth.IResource> chain(org.apache.cassandra.auth.IResource);
descriptor: (Lorg/apache/cassandra/auth/IResource;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: StackMap locals: java.util.List
StackMap stack:
aload 1
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
invokeinterface org.apache.cassandra.auth.IResource.hasParent:()Z
ifne 4
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.apache.cassandra.auth.IResource.getParent:()Lorg/apache/cassandra/auth/IResource;
astore 0
5: goto 1
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 resource Lorg/apache/cassandra/auth/IResource;
1 7 1 chain Ljava/util/List<Lorg/apache/cassandra/auth/IResource;>;
Signature: (Lorg/apache/cassandra/auth/IResource;)Ljava/util/List<+Lorg/apache/cassandra/auth/IResource;>;
MethodParameters:
Name Flags
resource
public static org.apache.cassandra.auth.IResource fromName(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/auth/IResource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.cassandra.auth.RoleResource.root:()Lorg/apache/cassandra/auth/RoleResource;
invokevirtual org.apache.cassandra.auth.RoleResource.getName:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
invokestatic org.apache.cassandra.auth.RoleResource.fromName:(Ljava/lang/String;)Lorg/apache/cassandra/auth/RoleResource;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.cassandra.auth.DataResource.root:()Lorg/apache/cassandra/auth/DataResource;
invokevirtual org.apache.cassandra.auth.DataResource.getName:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
invokestatic org.apache.cassandra.auth.DataResource.fromName:(Ljava/lang/String;)Lorg/apache/cassandra/auth/DataResource;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.cassandra.auth.FunctionResource.root:()Lorg/apache/cassandra/auth/FunctionResource;
invokevirtual org.apache.cassandra.auth.FunctionResource.getName:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
5: aload 0
invokestatic org.apache.cassandra.auth.FunctionResource.fromName:(Ljava/lang/String;)Lorg/apache/cassandra/auth/FunctionResource;
areturn
6: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.cassandra.auth.JMXResource.root:()Lorg/apache/cassandra/auth/JMXResource;
invokevirtual org.apache.cassandra.auth.JMXResource.getName:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 8
7: aload 0
invokestatic org.apache.cassandra.auth.JMXResource.fromName:(Ljava/lang/String;)Lorg/apache/cassandra/auth/JMXResource;
areturn
8: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Name %s is not valid for any resource type"
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
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public static java.lang.String toString(java.util.List<java.lang.Object>);
descriptor: (Ljava/util/List;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: java.util.List java.lang.StringBuilder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 3: aload 1
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 2
instanceof byte[]
ifeq 6
5: aload 1
aload 2
checkcast byte[]
invokestatic org.apache.cassandra.utils.Hex.bytesToHex:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 7
6: StackMap locals: java.util.List java.lang.StringBuilder java.lang.Object java.util.Iterator
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
end local 2 7: StackMap locals: java.util.List java.lang.StringBuilder top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 resource Ljava/util/List<Ljava/lang/Object;>;
1 9 1 buff Ljava/lang/StringBuilder;
3 7 2 component Ljava/lang/Object;
Signature: (Ljava/util/List<Ljava/lang/Object;>;)Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
resource
}
SourceFile: "Resources.java"