public class org.apache.cassandra.utils.MD5Digest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.MD5Digest
super_class: java.lang.Object
{
public final byte[] bytes;
descriptor: [B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final int hashCode;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(byte[]);
descriptor: ([B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.cassandra.utils.MD5Digest.bytes:[B
2: aload 0
aload 1
invokestatic java.util.Arrays.hashCode:([B)I
putfield org.apache.cassandra.utils.MD5Digest.hashCode:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/cassandra/utils/MD5Digest;
0 4 1 bytes [B
MethodParameters:
Name Flags
bytes
public static org.apache.cassandra.utils.MD5Digest wrap(byte[]);
descriptor: ([B)Lorg/apache/cassandra/utils/MD5Digest;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.utils.MD5Digest
dup
aload 0
invokespecial org.apache.cassandra.utils.MD5Digest.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 digest [B
MethodParameters:
Name Flags
digest
public static org.apache.cassandra.utils.MD5Digest compute(byte[]);
descriptor: ([B)Lorg/apache/cassandra/utils/MD5Digest;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.utils.MD5Digest
dup
invokestatic org.apache.cassandra.utils.FBUtilities.threadLocalMD5Digest:()Ljava/security/MessageDigest;
aload 0
invokevirtual java.security.MessageDigest.digest:([B)[B
invokespecial org.apache.cassandra.utils.MD5Digest.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 toHash [B
MethodParameters:
Name Flags
toHash
public static org.apache.cassandra.utils.MD5Digest compute(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/cassandra/utils/MD5Digest;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
invokestatic org.apache.cassandra.utils.MD5Digest.compute:([B)Lorg/apache/cassandra/utils/MD5Digest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 toHash Ljava/lang/String;
MethodParameters:
Name Flags
toHash
public java.nio.ByteBuffer byteBuffer();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.MD5Digest.bytes:[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/MD5Digest;
public final int hashCode();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.MD5Digest.hashCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/MD5Digest;
public final boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.cassandra.utils.MD5Digest
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.utils.MD5Digest
astore 2
start local 2 3: aload 0
getfield org.apache.cassandra.utils.MD5Digest.bytes:[B
aload 2
getfield org.apache.cassandra.utils.MD5Digest.bytes:[B
iconst_0
iconst_0
aload 0
getfield org.apache.cassandra.utils.MD5Digest.bytes:[B
arraylength
aload 2
getfield org.apache.cassandra.utils.MD5Digest.bytes:[B
arraylength
invokestatic org.apache.cassandra.utils.FBUtilities.compareUnsigned:([B[BIIII)I
ifne 4
iconst_1
ireturn
StackMap locals: org.apache.cassandra.utils.MD5Digest
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/cassandra/utils/MD5Digest;
0 5 1 o Ljava/lang/Object;
3 5 2 that Lorg/apache/cassandra/utils/MD5Digest;
MethodParameters:
Name Flags
o
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.MD5Digest.bytes:[B
invokestatic org.apache.cassandra.utils.Hex.bytesToHex:([B)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/MD5Digest;
}
SourceFile: "MD5Digest.java"