public class org.apache.cassandra.auth.PermissionDetails implements java.lang.Comparable<org.apache.cassandra.auth.PermissionDetails>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.auth.PermissionDetails
super_class: java.lang.Object
{
public final java.lang.String grantee;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.auth.IResource resource;
descriptor: Lorg/apache/cassandra/auth/IResource;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final org.apache.cassandra.auth.Permission permission;
descriptor: Lorg/apache/cassandra/auth/Permission;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(java.lang.String, org.apache.cassandra.auth.IResource, org.apache.cassandra.auth.Permission);
descriptor: (Ljava/lang/String;Lorg/apache/cassandra/auth/IResource;Lorg/apache/cassandra/auth/Permission;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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.PermissionDetails.grantee:Ljava/lang/String;
2: aload 0
aload 2
putfield org.apache.cassandra.auth.PermissionDetails.resource:Lorg/apache/cassandra/auth/IResource;
3: aload 0
aload 3
putfield org.apache.cassandra.auth.PermissionDetails.permission:Lorg/apache/cassandra/auth/Permission;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/auth/PermissionDetails;
0 5 1 grantee Ljava/lang/String;
0 5 2 resource Lorg/apache/cassandra/auth/IResource;
0 5 3 permission Lorg/apache/cassandra/auth/Permission;
MethodParameters:
Name Flags
grantee
resource
permission
public int compareTo(org.apache.cassandra.auth.PermissionDetails);
descriptor: (Lorg/apache/cassandra/auth/PermissionDetails;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.google.common.collect.ComparisonChain.start:()Lcom/google/common/collect/ComparisonChain;
1: aload 0
getfield org.apache.cassandra.auth.PermissionDetails.grantee:Ljava/lang/String;
aload 1
getfield org.apache.cassandra.auth.PermissionDetails.grantee:Ljava/lang/String;
invokevirtual com.google.common.collect.ComparisonChain.compare:(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/ComparisonChain;
2: aload 0
getfield org.apache.cassandra.auth.PermissionDetails.resource:Lorg/apache/cassandra/auth/IResource;
invokeinterface org.apache.cassandra.auth.IResource.getName:()Ljava/lang/String;
aload 1
getfield org.apache.cassandra.auth.PermissionDetails.resource:Lorg/apache/cassandra/auth/IResource;
invokeinterface org.apache.cassandra.auth.IResource.getName:()Ljava/lang/String;
invokevirtual com.google.common.collect.ComparisonChain.compare:(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/ComparisonChain;
3: aload 0
getfield org.apache.cassandra.auth.PermissionDetails.permission:Lorg/apache/cassandra/auth/Permission;
aload 1
getfield org.apache.cassandra.auth.PermissionDetails.permission:Lorg/apache/cassandra/auth/Permission;
invokevirtual com.google.common.collect.ComparisonChain.compare:(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/ComparisonChain;
4: invokevirtual com.google.common.collect.ComparisonChain.result:()I
5: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/cassandra/auth/PermissionDetails;
0 6 1 other Lorg/apache/cassandra/auth/PermissionDetails;
MethodParameters:
Name Flags
other
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: ldc "<PermissionDetails grantee:%s resource:%s permission:%s>"
iconst_3
anewarray java.lang.Object
dup
iconst_0
1: aload 0
getfield org.apache.cassandra.auth.PermissionDetails.grantee:Ljava/lang/String;
aastore
dup
iconst_1
2: aload 0
getfield org.apache.cassandra.auth.PermissionDetails.resource:Lorg/apache/cassandra/auth/IResource;
invokeinterface org.apache.cassandra.auth.IResource.getName:()Ljava/lang/String;
aastore
dup
iconst_2
3: aload 0
getfield org.apache.cassandra.auth.PermissionDetails.permission:Lorg/apache/cassandra/auth/Permission;
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/auth/PermissionDetails;
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.PermissionDetails
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.auth.PermissionDetails
astore 2
start local 2 5: aload 0
getfield org.apache.cassandra.auth.PermissionDetails.grantee:Ljava/lang/String;
aload 2
getfield org.apache.cassandra.auth.PermissionDetails.grantee:Ljava/lang/String;
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 9
6: aload 0
getfield org.apache.cassandra.auth.PermissionDetails.resource:Lorg/apache/cassandra/auth/IResource;
aload 2
getfield org.apache.cassandra.auth.PermissionDetails.resource:Lorg/apache/cassandra/auth/IResource;
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 9
7: aload 0
getfield org.apache.cassandra.auth.PermissionDetails.permission:Lorg/apache/cassandra/auth/Permission;
aload 2
getfield org.apache.cassandra.auth.PermissionDetails.permission:Lorg/apache/cassandra/auth/Permission;
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.PermissionDetails
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/PermissionDetails;
0 10 1 o Ljava/lang/Object;
5 10 2 pd Lorg/apache/cassandra/auth/PermissionDetails;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.auth.PermissionDetails.grantee:Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.auth.PermissionDetails.resource:Lorg/apache/cassandra/auth/IResource;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.auth.PermissionDetails.permission:Lorg/apache/cassandra/auth/Permission;
aastore
invokestatic com.google.common.base.Objects.hashCode:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/auth/PermissionDetails;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
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.auth.PermissionDetails
invokevirtual org.apache.cassandra.auth.PermissionDetails.compareTo:(Lorg/apache/cassandra/auth/PermissionDetails;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lorg/apache/cassandra/auth/PermissionDetails;>;
SourceFile: "PermissionDetails.java"