public final class jdk.internal.module.ModuleHashes
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.module.ModuleHashes
  super_class: java.lang.Object
{
  private final java.lang.String algorithm;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.Map<java.lang.String, byte[]> nameToHash;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/String;[B>;

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 45
            ldc Ljdk/internal/module/ModuleHashes;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic jdk.internal.module.ModuleHashes.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.lang.String, java.util.Map<java.lang.String, byte[]>);
    descriptor: (Ljava/lang/String;Ljava/util/Map;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.internal.module.ModuleHashes this
        start local 1 // java.lang.String algorithm
        start local 2 // java.util.Map nameToHash
         0: .line 63
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 64
            aload 0 /* this */
            aload 1 /* algorithm */
            putfield jdk.internal.module.ModuleHashes.algorithm:Ljava/lang/String;
         2: .line 65
            aload 0 /* this */
            aload 2 /* nameToHash */
            invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
            putfield jdk.internal.module.ModuleHashes.nameToHash:Ljava/util/Map;
         3: .line 66
            return
        end local 2 // java.util.Map nameToHash
        end local 1 // java.lang.String algorithm
        end local 0 // jdk.internal.module.ModuleHashes this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    4     0        this  Ljdk/internal/module/ModuleHashes;
            0    4     1   algorithm  Ljava/lang/String;
            0    4     2  nameToHash  Ljava/util/Map<Ljava/lang/String;[B>;
    Signature: (Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;[B>;)V
    MethodParameters:
            Name  Flags
      algorithm   
      nameToHash  

  public java.lang.String algorithm();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.module.ModuleHashes this
         0: .line 72
            aload 0 /* this */
            getfield jdk.internal.module.ModuleHashes.algorithm:Ljava/lang/String;
            areturn
        end local 0 // jdk.internal.module.ModuleHashes this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/module/ModuleHashes;

  public java.util.Set<java.lang.String> names();
    descriptor: ()Ljava/util/Set;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.module.ModuleHashes this
         0: .line 79
            aload 0 /* this */
            getfield jdk.internal.module.ModuleHashes.nameToHash:Ljava/util/Map;
            invokeinterface java.util.Map.keySet:()Ljava/util/Set;
            areturn
        end local 0 // jdk.internal.module.ModuleHashes this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/module/ModuleHashes;
    Signature: ()Ljava/util/Set<Ljava/lang/String;>;

  public byte[] hashFor(java.lang.String);
    descriptor: (Ljava/lang/String;)[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.module.ModuleHashes this
        start local 1 // java.lang.String mn
         0: .line 87
            aload 0 /* this */
            getfield jdk.internal.module.ModuleHashes.nameToHash:Ljava/util/Map;
            aload 1 /* mn */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast byte[]
            areturn
        end local 1 // java.lang.String mn
        end local 0 // jdk.internal.module.ModuleHashes this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/module/ModuleHashes;
            0    1     1    mn  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      mn    

  public java.util.Map<java.lang.String, byte[]> hashes();
    descriptor: ()Ljava/util/Map;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.module.ModuleHashes this
         0: .line 94
            aload 0 /* this */
            getfield jdk.internal.module.ModuleHashes.nameToHash:Ljava/util/Map;
            areturn
        end local 0 // jdk.internal.module.ModuleHashes this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/module/ModuleHashes;
    Signature: ()Ljava/util/Map<Ljava/lang/String;[B>;

  public static byte[] computeHash(java.nio.file.Path, java.lang.String);
    descriptor: (Ljava/nio/file/Path;Ljava/lang/String;)[B
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // java.nio.file.Path file
        start local 1 // java.lang.String algorithm
         0: .line 106
            aload 1 /* algorithm */
            invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
            astore 2 /* md */
        start local 2 // java.security.MessageDigest md
         1: .line 110
            aconst_null
            astore 3
            aconst_null
            astore 4
         2: aload 0 /* file */
            iconst_0
            anewarray java.nio.file.OpenOption
            invokestatic java.nio.channels.FileChannel.open:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;
            astore 5 /* fc */
        start local 5 // java.nio.channels.FileChannel fc
         3: .line 111
            ldc 32768
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            astore 6 /* bb */
        start local 6 // java.nio.ByteBuffer bb
         4: .line 112
            goto 9
         5: .line 113
      StackMap locals: java.nio.file.Path java.lang.String java.security.MessageDigest java.lang.Throwable java.lang.Throwable java.nio.channels.FileChannel java.nio.ByteBuffer
      StackMap stack:
            aload 6 /* bb */
            invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
            pop
         6: .line 114
            aload 2 /* md */
            aload 6 /* bb */
            invokevirtual java.security.MessageDigest.update:(Ljava/nio/ByteBuffer;)V
         7: .line 115
            getstatic jdk.internal.module.ModuleHashes.$assertionsDisabled:Z
            ifne 8
            aload 6 /* bb */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            ifeq 8
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         8: .line 116
      StackMap locals:
      StackMap stack:
            aload 6 /* bb */
            invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
            pop
         9: .line 112
      StackMap locals:
      StackMap stack:
            aload 5 /* fc */
            aload 6 /* bb */
            invokevirtual java.nio.channels.FileChannel.read:(Ljava/nio/ByteBuffer;)I
            ifgt 5
        end local 6 // java.nio.ByteBuffer bb
        10: .line 118
            aload 5 /* fc */
            ifnull 16
            aload 5 /* fc */
            invokevirtual java.nio.channels.FileChannel.close:()V
            goto 16
      StackMap locals: java.nio.file.Path java.lang.String java.security.MessageDigest java.lang.Throwable java.lang.Throwable java.nio.channels.FileChannel
      StackMap stack: java.lang.Throwable
        11: astore 3
            aload 5 /* fc */
            ifnull 12
            aload 5 /* fc */
            invokevirtual java.nio.channels.FileChannel.close:()V
        end local 5 // java.nio.channels.FileChannel fc
      StackMap locals:
      StackMap stack:
        12: aload 3
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: astore 4
            aload 3
            ifnonnull 14
            aload 4
            astore 3
            goto 15
      StackMap locals:
      StackMap stack:
        14: aload 3
            aload 4
            if_acmpeq 15
            aload 3
            aload 4
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        15: aload 3
            athrow
        16: .line 120
      StackMap locals:
      StackMap stack:
            aload 2 /* md */
            invokevirtual java.security.MessageDigest.digest:()[B
        17: areturn
        end local 2 // java.security.MessageDigest md
        18: .line 121
      StackMap locals: java.nio.file.Path java.lang.String
      StackMap stack: java.security.NoSuchAlgorithmException
            astore 2 /* e */
        start local 2 // java.security.NoSuchAlgorithmException e
        19: .line 122
            new java.lang.RuntimeException
            dup
            aload 2 /* e */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.security.NoSuchAlgorithmException e
        20: .line 123
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 2 /* ioe */
        start local 2 // java.io.IOException ioe
        21: .line 124
            new java.io.UncheckedIOException
            dup
            aload 2 /* ioe */
            invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
            athrow
        end local 2 // java.io.IOException ioe
        end local 1 // java.lang.String algorithm
        end local 0 // java.nio.file.Path file
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   22     0       file  Ljava/nio/file/Path;
            0   22     1  algorithm  Ljava/lang/String;
            1   18     2         md  Ljava/security/MessageDigest;
            3   12     5         fc  Ljava/nio/channels/FileChannel;
            4   10     6         bb  Ljava/nio/ByteBuffer;
           19   20     2          e  Ljava/security/NoSuchAlgorithmException;
           21   22     2        ioe  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           3    10      11  any
           2    13      13  any
           0    17      18  Class java.security.NoSuchAlgorithmException
           0    17      20  Class java.io.IOException
    MethodParameters:
           Name  Flags
      file       
      algorithm  

  public static jdk.internal.module.ModuleHashes generate(java.util.Map<java.lang.String, java.nio.file.Path>, java.lang.String);
    descriptor: (Ljava/util/Map;Ljava/lang/String;)Ljdk/internal/module/ModuleHashes;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=7, args_size=2
        start local 0 // java.util.Map map
        start local 1 // java.lang.String algorithm
         0: .line 137
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 2 /* nameToHash */
        start local 2 // java.util.Map nameToHash
         1: .line 138
            aload 0 /* map */
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 4
            goto 6
      StackMap locals: java.util.Map java.lang.String java.util.Map top java.util.Iterator
      StackMap stack:
         2: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 3 /* entry */
        start local 3 // java.util.Map$Entry entry
         3: .line 139
            aload 3 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 5 /* name */
        start local 5 // java.lang.String name
         4: .line 140
            aload 3 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.nio.file.Path
            astore 6 /* path */
        start local 6 // java.nio.file.Path path
         5: .line 141
            aload 2 /* nameToHash */
            aload 5 /* name */
            aload 6 /* path */
            aload 1 /* algorithm */
            invokestatic jdk.internal.module.ModuleHashes.computeHash:(Ljava/nio/file/Path;Ljava/lang/String;)[B
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 6 // java.nio.file.Path path
        end local 5 // java.lang.String name
        end local 3 // java.util.Map$Entry entry
         6: .line 138
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         7: .line 143
            new jdk.internal.module.ModuleHashes
            dup
            aload 1 /* algorithm */
            aload 2 /* nameToHash */
            invokespecial jdk.internal.module.ModuleHashes.<init>:(Ljava/lang/String;Ljava/util/Map;)V
            areturn
        end local 2 // java.util.Map nameToHash
        end local 1 // java.lang.String algorithm
        end local 0 // java.util.Map map
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0         map  Ljava/util/Map<Ljava/lang/String;Ljava/nio/file/Path;>;
            0    8     1   algorithm  Ljava/lang/String;
            1    8     2  nameToHash  Ljava/util/Map<Ljava/lang/String;[B>;
            3    6     3       entry  Ljava/util/Map$Entry<Ljava/lang/String;Ljava/nio/file/Path;>;
            4    6     5        name  Ljava/lang/String;
            5    6     6        path  Ljava/nio/file/Path;
    Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/nio/file/Path;>;Ljava/lang/String;)Ljdk/internal/module/ModuleHashes;
    MethodParameters:
           Name  Flags
      map        
      algorithm  
}
SourceFile: "ModuleHashes.java"
NestMembers:
  jdk.internal.module.ModuleHashes$Builder  jdk.internal.module.ModuleHashes$HashSupplier
InnerClasses:
  public abstract Entry = java.util.Map$Entry of java.util.Map
  public Builder = jdk.internal.module.ModuleHashes$Builder of jdk.internal.module.ModuleHashes
  public abstract HashSupplier = jdk.internal.module.ModuleHashes$HashSupplier of jdk.internal.module.ModuleHashes