class sun.tools.jar.Main$Hasher
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: sun.tools.jar.Main$Hasher
  super_class: java.lang.Object
{
  final jdk.internal.module.ModuleHashesBuilder hashesBuilder;
    descriptor: Ljdk/internal/module/ModuleHashesBuilder;
    flags: (0x0010) ACC_FINAL

  final java.lang.module.ModuleFinder finder;
    descriptor: Ljava/lang/module/ModuleFinder;
    flags: (0x0010) ACC_FINAL

  final java.util.Set<java.lang.String> modules;
    descriptor: Ljava/util/Set;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/Set<Ljava/lang/String;>;

  final sun.tools.jar.Main this$0;
    descriptor: Lsun/tools/jar/Main;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(sun.tools.jar.Main, java.lang.module.ModuleDescriptor, java.lang.String);
    descriptor: (Lsun/tools/jar/Main;Ljava/lang/module/ModuleDescriptor;Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=9, locals=10, args_size=4
        start local 0 // sun.tools.jar.Main$Hasher this
        start local 2 // java.lang.module.ModuleDescriptor descriptor
        start local 3 // java.lang.String fname
         0: .line 2164
            aload 0 /* this */
            aload 1
            putfield sun.tools.jar.Main$Hasher.this$0:Lsun/tools/jar/Main;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 2167
            aload 3 /* fname */
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
            astore 4 /* uri */
        start local 4 // java.net.URI uri
         2: .line 2168
            new sun.tools.jar.Main$Hasher$1
            dup
            aload 0 /* this */
            aload 2 /* descriptor */
            aload 4 /* uri */
            invokespecial sun.tools.jar.Main$Hasher$1.<init>:(Lsun/tools/jar/Main$Hasher;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)V
            astore 5 /* mref */
        start local 5 // java.lang.module.ModuleReference mref
         3: .line 2177
            aload 0 /* this */
            iconst_2
            anewarray java.lang.module.ModuleFinder
            dup
            iconst_0
            aload 1
            getfield sun.tools.jar.Main.moduleFinder:Ljava/lang/module/ModuleFinder;
            aastore
            dup
            iconst_1
         4: .line 2178
            new sun.tools.jar.Main$Hasher$2
            dup
            aload 0 /* this */
            aload 2 /* descriptor */
            aload 5 /* mref */
            invokespecial sun.tools.jar.Main$Hasher$2.<init>:(Lsun/tools/jar/Main$Hasher;Ljava/lang/module/ModuleDescriptor;Ljava/lang/module/ModuleReference;)V
            aastore
         5: .line 2177
            invokestatic java.lang.module.ModuleFinder.compose:([Ljava/lang/module/ModuleFinder;)Ljava/lang/module/ModuleFinder;
            putfield sun.tools.jar.Main$Hasher.finder:Ljava/lang/module/ModuleFinder;
         6: .line 2194
            aload 0 /* this */
            getfield sun.tools.jar.Main$Hasher.finder:Ljava/lang/module/ModuleFinder;
            invokeinterface java.lang.module.ModuleFinder.findAll:()Ljava/util/Set;
            invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
         7: .line 2195
            invokedynamic apply()Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  sun/tools/jar/Main$Hasher.lambda$0(Ljava/lang/module/ModuleReference;)Ljava/lang/String; (6)
                  (Ljava/lang/module/ModuleReference;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         8: .line 2196
            aload 0 /* this */
            invokedynamic test(Lsun/tools/jar/Main$Hasher;)Ljava/util/function/Predicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Z
                  sun/tools/jar/Main$Hasher.lambda$1(Ljava/lang/String;)Z (7)
                  (Ljava/lang/String;)Z
            invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
         9: .line 2197
            invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.util.Set
        10: .line 2194
            astore 6 /* roots */
        start local 6 // java.util.Set roots
        11: .line 2203
            aload 2 /* descriptor */
            invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
            astore 8 /* name */
        start local 8 // java.lang.String name
        12: .line 2204
            aload 8 /* name */
            ifnull 15
            invokestatic java.lang.module.ModuleFinder.ofSystem:()Ljava/lang/module/ModuleFinder;
            aload 8 /* name */
            invokeinterface java.lang.module.ModuleFinder.find:(Ljava/lang/String;)Ljava/util/Optional;
            invokevirtual java.util.Optional.isPresent:()Z
            ifeq 15
        13: .line 2205
            iconst_0
            anewarray java.nio.file.Path
            invokestatic java.lang.module.ModuleFinder.of:([Ljava/nio/file/Path;)Ljava/lang/module/ModuleFinder;
            astore 7 /* system */
        start local 7 // java.lang.module.ModuleFinder system
        14: .line 2206
            goto 16
        end local 7 // java.lang.module.ModuleFinder system
        15: .line 2207
      StackMap locals: sun.tools.jar.Main$Hasher sun.tools.jar.Main java.lang.module.ModuleDescriptor java.lang.String java.net.URI java.lang.module.ModuleReference java.util.Set top java.lang.String
      StackMap stack:
            invokestatic java.lang.module.ModuleFinder.ofSystem:()Ljava/lang/module/ModuleFinder;
            astore 7 /* system */
        start local 7 // java.lang.module.ModuleFinder system
        16: .line 2211
      StackMap locals: sun.tools.jar.Main$Hasher sun.tools.jar.Main java.lang.module.ModuleDescriptor java.lang.String java.net.URI java.lang.module.ModuleReference java.util.Set java.lang.module.ModuleFinder java.lang.String
      StackMap stack:
            invokestatic java.lang.module.Configuration.empty:()Ljava/lang/module/Configuration;
            aload 7 /* system */
            aload 0 /* this */
            getfield sun.tools.jar.Main$Hasher.finder:Ljava/lang/module/ModuleFinder;
            aload 6 /* roots */
            invokevirtual java.lang.module.Configuration.resolve:(Ljava/lang/module/ModuleFinder;Ljava/lang/module/ModuleFinder;Ljava/util/Collection;)Ljava/lang/module/Configuration;
        17: .line 2210
            astore 9 /* config */
        start local 9 // java.lang.module.Configuration config
        18: .line 2214
            aload 0 /* this */
            aload 9 /* config */
            invokevirtual java.lang.module.Configuration.modules:()Ljava/util/Set;
            invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
        19: .line 2215
            invokedynamic apply()Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  java/lang/module/ResolvedModule.name()Ljava/lang/String; (5)
                  (Ljava/lang/module/ResolvedModule;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
        20: .line 2216
            aload 6 /* roots */
            aload 7 /* system */
            invokedynamic test(Ljava/util/Set;Ljava/lang/module/ModuleFinder;)Ljava/util/function/Predicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Z
                  sun/tools/jar/Main$Hasher.lambda$3(Ljava/util/Set;Ljava/lang/module/ModuleFinder;Ljava/lang/String;)Z (6)
                  (Ljava/lang/String;)Z
            invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
        21: .line 2217
            invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.util.Set
        22: .line 2214
            putfield sun.tools.jar.Main$Hasher.modules:Ljava/util/Set;
        23: .line 2219
            aload 0 /* this */
            new jdk.internal.module.ModuleHashesBuilder
            dup
            aload 9 /* config */
            aload 0 /* this */
            getfield sun.tools.jar.Main$Hasher.modules:Ljava/util/Set;
            invokespecial jdk.internal.module.ModuleHashesBuilder.<init>:(Ljava/lang/module/Configuration;Ljava/util/Set;)V
            putfield sun.tools.jar.Main$Hasher.hashesBuilder:Ljdk/internal/module/ModuleHashesBuilder;
        24: .line 2220
            return
        end local 9 // java.lang.module.Configuration config
        end local 8 // java.lang.String name
        end local 7 // java.lang.module.ModuleFinder system
        end local 6 // java.util.Set roots
        end local 5 // java.lang.module.ModuleReference mref
        end local 4 // java.net.URI uri
        end local 3 // java.lang.String fname
        end local 2 // java.lang.module.ModuleDescriptor descriptor
        end local 0 // sun.tools.jar.Main$Hasher this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   25     0        this  Lsun/tools/jar/Main$Hasher;
            0   25     2  descriptor  Ljava/lang/module/ModuleDescriptor;
            0   25     3       fname  Ljava/lang/String;
            2   25     4         uri  Ljava/net/URI;
            3   25     5        mref  Ljava/lang/module/ModuleReference;
           11   25     6       roots  Ljava/util/Set<Ljava/lang/String;>;
           14   15     7      system  Ljava/lang/module/ModuleFinder;
           16   25     7      system  Ljava/lang/module/ModuleFinder;
           12   25     8        name  Ljava/lang/String;
           18   25     9      config  Ljava/lang/module/Configuration;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
            Name  Flags
      this$0      final
      descriptor  
      fname       

  jdk.internal.module.ModuleHashes computeHashes(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljdk/internal/module/ModuleHashes;
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.tools.jar.Main$Hasher this
        start local 1 // java.lang.String name
         0: .line 2229
            aload 0 /* this */
            getfield sun.tools.jar.Main$Hasher.hashesBuilder:Ljdk/internal/module/ModuleHashesBuilder;
            ifnonnull 2
         1: .line 2230
            aconst_null
            areturn
         2: .line 2232
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield sun.tools.jar.Main$Hasher.hashesBuilder:Ljdk/internal/module/ModuleHashesBuilder;
            aload 1 /* name */
            invokestatic java.util.Set.of:(Ljava/lang/Object;)Ljava/util/Set;
            invokevirtual jdk.internal.module.ModuleHashesBuilder.computeHashes:(Ljava/util/Set;)Ljava/util/Map;
            aload 1 /* name */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast jdk.internal.module.ModuleHashes
            areturn
        end local 1 // java.lang.String name
        end local 0 // sun.tools.jar.Main$Hasher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/tools/jar/Main$Hasher;
            0    3     1  name  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      name  

  private static java.lang.String lambda$0(java.lang.module.ModuleReference);
    descriptor: (Ljava/lang/module/ModuleReference;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.module.ModuleReference ref
         0: .line 2195
            aload 0 /* ref */
            invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
            invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
            areturn
        end local 0 // java.lang.module.ModuleReference ref
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0   ref  Ljava/lang/module/ModuleReference;

  private boolean lambda$1(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.tools.jar.Main$Hasher this
        start local 1 // java.lang.String mn
         0: .line 2196
            aload 0 /* this */
            getfield sun.tools.jar.Main$Hasher.this$0:Lsun/tools/jar/Main;
            getfield sun.tools.jar.Main.modulesToHash:Ljava/util/regex/Pattern;
            aload 1 /* mn */
            invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
            invokevirtual java.util.regex.Matcher.find:()Z
            ireturn
        end local 1 // java.lang.String mn
        end local 0 // sun.tools.jar.Main$Hasher this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lsun/tools/jar/Main$Hasher;
            0    1     1    mn  Ljava/lang/String;

  private static boolean lambda$3(java.util.Set, java.lang.module.ModuleFinder, java.lang.String);
    descriptor: (Ljava/util/Set;Ljava/lang/module/ModuleFinder;Ljava/lang/String;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=3
        start local 2 // java.lang.String mn
         0: .line 2216
            aload 0
            aload 2 /* mn */
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 1
            aload 1
            aload 2 /* mn */
            invokeinterface java.lang.module.ModuleFinder.find:(Ljava/lang/String;)Ljava/util/Optional;
            invokevirtual java.util.Optional.isPresent:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 2 // java.lang.String mn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     2    mn  Ljava/lang/String;
}
SourceFile: "Main.java"
NestHost: sun.tools.jar.Main
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  private Hasher = sun.tools.jar.Main$Hasher of sun.tools.jar.Main
  sun.tools.jar.Main$Hasher$1
  sun.tools.jar.Main$Hasher$2