final class com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher extends com.google.common.hash.AbstractByteHasher
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher
super_class: com.google.common.hash.AbstractByteHasher
{
private final java.security.MessageDigest digest;
descriptor: Ljava/security/MessageDigest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int bytes;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean done;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private void <init>(java.security.MessageDigest, int);
descriptor: (Ljava/security/MessageDigest;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.google.common.hash.AbstractByteHasher.<init>:()V
1: aload 0
aload 1
putfield com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.digest:Ljava/security/MessageDigest;
2: aload 0
iload 2
putfield com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.bytes:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/hash/MessageDigestHashFunction$MessageDigestHasher;
0 4 1 digest Ljava/security/MessageDigest;
0 4 2 bytes I
MethodParameters:
Name Flags
digest
bytes
protected void update(byte);
descriptor: (B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.checkNotDone:()V
1: aload 0
getfield com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.digest:Ljava/security/MessageDigest;
iload 1
invokevirtual java.security.MessageDigest.update:(B)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/hash/MessageDigestHashFunction$MessageDigestHasher;
0 3 1 b B
MethodParameters:
Name Flags
b
protected void update(byte[], int, int);
descriptor: ([BII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.checkNotDone:()V
1: aload 0
getfield com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.digest:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/hash/MessageDigestHashFunction$MessageDigestHasher;
0 3 1 b [B
0 3 2 off I
0 3 3 len I
MethodParameters:
Name Flags
b
off
len
protected void update(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.checkNotDone:()V
1: aload 0
getfield com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.digest:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:(Ljava/nio/ByteBuffer;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/hash/MessageDigestHashFunction$MessageDigestHasher;
0 3 1 bytes Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bytes
private void checkNotDone();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.done:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ldc "Cannot re-use a Hasher after calling hash() on it"
invokestatic com.google.common.base.Preconditions.checkState:(ZLjava/lang/Object;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/hash/MessageDigestHashFunction$MessageDigestHasher;
public com.google.common.hash.HashCode hash();
descriptor: ()Lcom/google/common/hash/HashCode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.checkNotDone:()V
1: aload 0
iconst_1
putfield com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.done:Z
2: aload 0
getfield com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.bytes:I
aload 0
getfield com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.digest:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.getDigestLength:()I
if_icmpne 4
3: aload 0
getfield com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.digest:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.digest:()[B
invokestatic com.google.common.hash.HashCode.fromBytesNoCopy:([B)Lcom/google/common/hash/HashCode;
goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.digest:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.digest:()[B
aload 0
getfield com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher.bytes:I
invokestatic java.util.Arrays.copyOf:([BI)[B
invokestatic com.google.common.hash.HashCode.fromBytesNoCopy:([B)Lcom/google/common/hash/HashCode;
5: StackMap locals:
StackMap stack: com.google.common.hash.HashCode
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/hash/MessageDigestHashFunction$MessageDigestHasher;
}
SourceFile: "MessageDigestHashFunction.java"
NestHost: com.google.common.hash.MessageDigestHashFunction
InnerClasses:
private final MessageDigestHasher = com.google.common.hash.MessageDigestHashFunction$MessageDigestHasher of com.google.common.hash.MessageDigestHashFunction