final class com.google.common.hash.MacHashFunction$MacHasher 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.MacHashFunction$MacHasher
super_class: com.google.common.hash.AbstractByteHasher
{
private final javax.crypto.Mac mac;
descriptor: Ljavax/crypto/Mac;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean done;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private void <init>(javax.crypto.Mac);
descriptor: (Ljavax/crypto/Mac;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.hash.AbstractByteHasher.<init>:()V
1: aload 0
aload 1
putfield com.google.common.hash.MacHashFunction$MacHasher.mac:Ljavax/crypto/Mac;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/hash/MacHashFunction$MacHasher;
0 3 1 mac Ljavax/crypto/Mac;
MethodParameters:
Name Flags
mac
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.MacHashFunction$MacHasher.checkNotDone:()V
1: aload 0
getfield com.google.common.hash.MacHashFunction$MacHasher.mac:Ljavax/crypto/Mac;
iload 1
invokevirtual javax.crypto.Mac.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/MacHashFunction$MacHasher;
0 3 1 b B
MethodParameters:
Name Flags
b
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.MacHashFunction$MacHasher.checkNotDone:()V
1: aload 0
getfield com.google.common.hash.MacHashFunction$MacHasher.mac:Ljavax/crypto/Mac;
aload 1
invokevirtual javax.crypto.Mac.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/MacHashFunction$MacHasher;
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.MacHashFunction$MacHasher.checkNotDone:()V
1: aload 0
getfield com.google.common.hash.MacHashFunction$MacHasher.mac:Ljavax/crypto/Mac;
aload 1
iload 2
iload 3
invokevirtual javax.crypto.Mac.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/MacHashFunction$MacHasher;
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.MacHashFunction$MacHasher.checkNotDone:()V
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
getfield com.google.common.hash.MacHashFunction$MacHasher.mac:Ljavax/crypto/Mac;
aload 1
invokevirtual javax.crypto.Mac.update:(Ljava/nio/ByteBuffer;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/hash/MacHashFunction$MacHasher;
0 4 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.MacHashFunction$MacHasher.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/MacHashFunction$MacHasher;
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.MacHashFunction$MacHasher.checkNotDone:()V
1: aload 0
iconst_1
putfield com.google.common.hash.MacHashFunction$MacHasher.done:Z
2: aload 0
getfield com.google.common.hash.MacHashFunction$MacHasher.mac:Ljavax/crypto/Mac;
invokevirtual javax.crypto.Mac.doFinal:()[B
invokestatic com.google.common.hash.HashCode.fromBytesNoCopy:([B)Lcom/google/common/hash/HashCode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/hash/MacHashFunction$MacHasher;
}
SourceFile: "MacHashFunction.java"
NestHost: com.google.common.hash.MacHashFunction
InnerClasses:
private final MacHasher = com.google.common.hash.MacHashFunction$MacHasher of com.google.common.hash.MacHashFunction