public final class jdk.tools.jlink.internal.ModuleSorter
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.tools.jlink.internal.ModuleSorter
  super_class: java.lang.Object
{
  private final java.util.Map<jdk.tools.jlink.plugin.ResourcePoolModule, java.util.Set<jdk.tools.jlink.plugin.ResourcePoolModule>> graph;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljdk/tools/jlink/plugin/ResourcePoolModule;Ljava/util/Set<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;>;

  private final java.util.List<jdk.tools.jlink.plugin.ResourcePoolModule> result;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;

  private final jdk.tools.jlink.plugin.ResourcePoolModuleView moduleView;
    descriptor: Ljdk/tools/jlink/plugin/ResourcePoolModuleView;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  public void <init>(jdk.tools.jlink.plugin.ResourcePoolModuleView);
    descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolModuleView;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.tools.jlink.internal.ModuleSorter this
        start local 1 // jdk.tools.jlink.plugin.ResourcePoolModuleView moduleView
         0: .line 56
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 51
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.tools.jlink.internal.ModuleSorter.graph:Ljava/util/Map;
         2: .line 52
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield jdk.tools.jlink.internal.ModuleSorter.result:Ljava/util/List;
         3: .line 57
            aload 0 /* this */
            aload 1 /* moduleView */
            putfield jdk.tools.jlink.internal.ModuleSorter.moduleView:Ljdk/tools/jlink/plugin/ResourcePoolModuleView;
         4: .line 59
            aload 1 /* moduleView */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolModuleView.modules:()Ljava/util/stream/Stream;
            aload 0 /* this */
            invokedynamic accept(Ljdk/tools/jlink/internal/ModuleSorter;)Ljava/util/function/Consumer;
              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;)V
                  jdk/tools/jlink/internal/ModuleSorter.addModule(Ljdk/tools/jlink/plugin/ResourcePoolModule;)Ljdk/tools/jlink/internal/ModuleSorter; (7)
                  (Ljdk/tools/jlink/plugin/ResourcePoolModule;)V
            invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
         5: .line 60
            return
        end local 1 // jdk.tools.jlink.plugin.ResourcePoolModuleView moduleView
        end local 0 // jdk.tools.jlink.internal.ModuleSorter this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0        this  Ljdk/tools/jlink/internal/ModuleSorter;
            0    6     1  moduleView  Ljdk/tools/jlink/plugin/ResourcePoolModuleView;
    MethodParameters:
            Name  Flags
      moduleView  

  private java.lang.module.ModuleDescriptor readModuleDescriptor(jdk.tools.jlink.plugin.ResourcePoolModule);
    descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolModule;)Ljava/lang/module/ModuleDescriptor;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // jdk.tools.jlink.internal.ModuleSorter this
        start local 1 // jdk.tools.jlink.plugin.ResourcePoolModule module
         0: .line 63
            new java.lang.StringBuilder
            dup
            ldc "/"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* module */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolModule.name:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "/module-info.class"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* p */
        start local 2 // java.lang.String p
         1: .line 64
            aload 1 /* module */
            aload 2 /* p */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolModule.findEntry:(Ljava/lang/String;)Ljava/util/Optional;
            aload 1 /* module */
            invokedynamic get(Ljdk/tools/jlink/plugin/ResourcePoolModule;)Ljava/util/function/Supplier;
              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;
                  jdk/tools/jlink/internal/ModuleSorter.lambda$1(Ljdk/tools/jlink/plugin/ResourcePoolModule;)Ljdk/tools/jlink/plugin/PluginException; (6)
                  ()Ljdk/tools/jlink/plugin/PluginException;
            invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
            checkcast jdk.tools.jlink.plugin.ResourcePoolEntry
            astore 3 /* content */
        start local 3 // jdk.tools.jlink.plugin.ResourcePoolEntry content
         2: .line 68
            aload 3 /* content */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.contentBytes:()[B
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            astore 4 /* bb */
        start local 4 // java.nio.ByteBuffer bb
         3: .line 69
            aload 4 /* bb */
            invokestatic java.lang.module.ModuleDescriptor.read:(Ljava/nio/ByteBuffer;)Ljava/lang/module/ModuleDescriptor;
            areturn
        end local 4 // java.nio.ByteBuffer bb
        end local 3 // jdk.tools.jlink.plugin.ResourcePoolEntry content
        end local 2 // java.lang.String p
        end local 1 // jdk.tools.jlink.plugin.ResourcePoolModule module
        end local 0 // jdk.tools.jlink.internal.ModuleSorter this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Ljdk/tools/jlink/internal/ModuleSorter;
            0    4     1   module  Ljdk/tools/jlink/plugin/ResourcePoolModule;
            1    4     2        p  Ljava/lang/String;
            2    4     3  content  Ljdk/tools/jlink/plugin/ResourcePoolEntry;
            3    4     4       bb  Ljava/nio/ByteBuffer;
    MethodParameters:
        Name  Flags
      module  

  private jdk.tools.jlink.internal.ModuleSorter addModule(jdk.tools.jlink.plugin.ResourcePoolModule);
    descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolModule;)Ljdk/tools/jlink/internal/ModuleSorter;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.tools.jlink.internal.ModuleSorter this
        start local 1 // jdk.tools.jlink.plugin.ResourcePoolModule module
         0: .line 73
            aload 0 /* this */
            aload 1 /* module */
            invokevirtual jdk.tools.jlink.internal.ModuleSorter.addNode:(Ljdk/tools/jlink/plugin/ResourcePoolModule;)V
         1: .line 76
            aload 0 /* this */
            aload 1 /* module */
            invokevirtual jdk.tools.jlink.internal.ModuleSorter.readModuleDescriptor:(Ljdk/tools/jlink/plugin/ResourcePoolModule;)Ljava/lang/module/ModuleDescriptor;
            invokevirtual java.lang.module.ModuleDescriptor.requires:()Ljava/util/Set;
         2: .line 77
            invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
         3: .line 78
            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/ModuleDescriptor$Requires.name()Ljava/lang/String; (5)
                  (Ljava/lang/module/ModuleDescriptor$Requires;)Ljava/lang/String;
            invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
            invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
         4: .line 79
            aload 0 /* this */
            aload 1 /* module */
            invokedynamic accept(Ljdk/tools/jlink/internal/ModuleSorter;Ljdk/tools/jlink/plugin/ResourcePoolModule;)Ljava/util/function/Consumer;
              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;)V
                  jdk/tools/jlink/internal/ModuleSorter.lambda$3(Ljdk/tools/jlink/plugin/ResourcePoolModule;Ljava/lang/module/ModuleDescriptor$Requires;)V (7)
                  (Ljava/lang/module/ModuleDescriptor$Requires;)V
            invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
         5: .line 89
            aload 0 /* this */
            areturn
        end local 1 // jdk.tools.jlink.plugin.ResourcePoolModule module
        end local 0 // jdk.tools.jlink.internal.ModuleSorter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    6     0    this  Ljdk/tools/jlink/internal/ModuleSorter;
            0    6     1  module  Ljdk/tools/jlink/plugin/ResourcePoolModule;
    MethodParameters:
        Name  Flags
      module  

  private void addNode(jdk.tools.jlink.plugin.ResourcePoolModule);
    descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolModule;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.tools.jlink.internal.ModuleSorter this
        start local 1 // jdk.tools.jlink.plugin.ResourcePoolModule module
         0: .line 93
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.graph:Ljava/util/Map;
            aload 1 /* module */
            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;
                  jdk/tools/jlink/internal/ModuleSorter.lambda$4(Ljdk/tools/jlink/plugin/ResourcePoolModule;)Ljava/util/Set; (6)
                  (Ljdk/tools/jlink/plugin/ResourcePoolModule;)Ljava/util/Set;
            invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
            pop
         1: .line 94
            return
        end local 1 // jdk.tools.jlink.plugin.ResourcePoolModule module
        end local 0 // jdk.tools.jlink.internal.ModuleSorter this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Ljdk/tools/jlink/internal/ModuleSorter;
            0    2     1  module  Ljdk/tools/jlink/plugin/ResourcePoolModule;
    MethodParameters:
        Name  Flags
      module  

  private synchronized void build();
    descriptor: ()V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // jdk.tools.jlink.internal.ModuleSorter this
         0: .line 102
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.result:Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 1
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.graph:Ljava/util/Map;
            invokeinterface java.util.Map.isEmpty:()Z
            ifeq 2
         1: .line 103
      StackMap locals:
      StackMap stack:
            return
         2: .line 105
      StackMap locals:
      StackMap stack:
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 1 /* visited */
        start local 1 // java.util.Set visited
         3: .line 106
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 2 /* done */
        start local 2 // java.util.Set done
         4: .line 107
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.graph:Ljava/util/Map;
            invokeinterface java.util.Map.keySet:()Ljava/util/Set;
            invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
         5: .line 108
            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;
                  jdk/tools/jlink/plugin/ResourcePoolModule.name()Ljava/lang/String; (9 itf)
                  (Ljdk/tools/jlink/plugin/ResourcePoolModule;)Ljava/lang/String;
            invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;)Ljava/util/Comparator;
            invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
         6: .line 109
            aload 0 /* this */
            aload 1 /* visited */
            aload 2 /* done */
            invokedynamic accept(Ljdk/tools/jlink/internal/ModuleSorter;Ljava/util/Set;Ljava/util/Set;)Ljava/util/function/Consumer;
              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;)V
                  jdk/tools/jlink/internal/ModuleSorter.lambda$6(Ljava/util/Set;Ljava/util/Set;Ljdk/tools/jlink/plugin/ResourcePoolModule;)V (7)
                  (Ljdk/tools/jlink/plugin/ResourcePoolModule;)V
            invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
         7: .line 110
            return
        end local 2 // java.util.Set done
        end local 1 // java.util.Set visited
        end local 0 // jdk.tools.jlink.internal.ModuleSorter this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    8     0     this  Ljdk/tools/jlink/internal/ModuleSorter;
            3    8     1  visited  Ljava/util/Set<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;
            4    8     2     done  Ljava/util/Set<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;

  public java.util.stream.Stream<jdk.tools.jlink.plugin.ResourcePoolModule> sorted();
    descriptor: ()Ljava/util/stream/Stream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.tools.jlink.internal.ModuleSorter this
         0: .line 113
            aload 0 /* this */
            invokevirtual jdk.tools.jlink.internal.ModuleSorter.build:()V
         1: .line 114
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.result:Ljava/util/List;
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
            areturn
        end local 0 // jdk.tools.jlink.internal.ModuleSorter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/tools/jlink/internal/ModuleSorter;
    Signature: ()Ljava/util/stream/Stream<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;

  private void visit(jdk.tools.jlink.plugin.ResourcePoolModule, java.util.Set<jdk.tools.jlink.plugin.ResourcePoolModule>, java.util.Set<jdk.tools.jlink.plugin.ResourcePoolModule>);
    descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolModule;Ljava/util/Set;Ljava/util/Set;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // jdk.tools.jlink.internal.ModuleSorter this
        start local 1 // jdk.tools.jlink.plugin.ResourcePoolModule node
        start local 2 // java.util.Set visited
        start local 3 // java.util.Set done
         0: .line 120
            aload 2 /* visited */
            aload 1 /* node */
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 6
         1: .line 121
            aload 3 /* done */
            aload 1 /* node */
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifne 5
         2: .line 122
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Cyclic detected: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         3: .line 123
            aload 1 /* node */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.graph:Ljava/util/Map;
            aload 1 /* node */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         4: .line 122
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 125
      StackMap locals:
      StackMap stack:
            return
         6: .line 130
      StackMap locals:
      StackMap stack:
            aload 2 /* visited */
            aload 1 /* node */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
         7: .line 131
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.graph:Ljava/util/Map;
            aload 1 /* node */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.Set
            aload 0 /* this */
            aload 2 /* visited */
            aload 3 /* done */
            invokedynamic accept(Ljdk/tools/jlink/internal/ModuleSorter;Ljava/util/Set;Ljava/util/Set;)Ljava/util/function/Consumer;
              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;)V
                  jdk/tools/jlink/internal/ModuleSorter.lambda$7(Ljava/util/Set;Ljava/util/Set;Ljdk/tools/jlink/plugin/ResourcePoolModule;)V (7)
                  (Ljdk/tools/jlink/plugin/ResourcePoolModule;)V
            invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
         8: .line 132
            aload 3 /* done */
            aload 1 /* node */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
         9: .line 133
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.result:Ljava/util/List;
            aload 1 /* node */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        10: .line 134
            return
        end local 3 // java.util.Set done
        end local 2 // java.util.Set visited
        end local 1 // jdk.tools.jlink.plugin.ResourcePoolModule node
        end local 0 // jdk.tools.jlink.internal.ModuleSorter this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   11     0     this  Ljdk/tools/jlink/internal/ModuleSorter;
            0   11     1     node  Ljdk/tools/jlink/plugin/ResourcePoolModule;
            0   11     2  visited  Ljava/util/Set<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;
            0   11     3     done  Ljava/util/Set<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;
    Signature: (Ljdk/tools/jlink/plugin/ResourcePoolModule;Ljava/util/Set<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;Ljava/util/Set<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;)V
    MethodParameters:
         Name  Flags
      node     
      visited  
      done     

  private static jdk.tools.jlink.plugin.PluginException lambda$1(jdk.tools.jlink.plugin.ResourcePoolModule);
    descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolModule;)Ljdk/tools/jlink/plugin/PluginException;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=5, locals=1, args_size=1
         0: .line 65
            new jdk.tools.jlink.plugin.PluginException
            dup
            new java.lang.StringBuilder
            dup
            ldc "module-info.class not found for "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         1: .line 66
            aload 0
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolModule.name:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " module"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         2: .line 65
            invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/String;)V
         3: .line 66
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void lambda$3(jdk.tools.jlink.plugin.ResourcePoolModule, java.lang.module.ModuleDescriptor$Requires);
    descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolModule;Ljava/lang/module/ModuleDescriptor$Requires;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // jdk.tools.jlink.internal.ModuleSorter this
        start local 2 // java.lang.module.ModuleDescriptor$Requires req
         0: .line 81
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.moduleView:Ljdk/tools/jlink/plugin/ResourcePoolModuleView;
            aload 2 /* req */
            invokevirtual java.lang.module.ModuleDescriptor$Requires.name:()Ljava/lang/String;
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolModuleView.findModule:(Ljava/lang/String;)Ljava/util/Optional;
            aconst_null
            invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast jdk.tools.jlink.plugin.ResourcePoolModule
            astore 3 /* dep */
        start local 3 // jdk.tools.jlink.plugin.ResourcePoolModule dep
         1: .line 82
            aload 3 /* dep */
            ifnull 5
         2: .line 83
            aload 0 /* this */
            aload 3 /* dep */
            invokevirtual jdk.tools.jlink.internal.ModuleSorter.addNode:(Ljdk/tools/jlink/plugin/ResourcePoolModule;)V
         3: .line 84
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.graph:Ljava/util/Map;
            aload 1
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.Set
            aload 3 /* dep */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
         4: .line 85
            goto 7
      StackMap locals: jdk.tools.jlink.plugin.ResourcePoolModule
      StackMap stack:
         5: aload 2 /* req */
            invokevirtual java.lang.module.ModuleDescriptor$Requires.modifiers:()Ljava/util/Set;
            getstatic java.lang.module.ModuleDescriptor$Requires$Modifier.STATIC:Ljava/lang/module/ModuleDescriptor$Requires$Modifier;
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifne 7
         6: .line 86
            new jdk.tools.jlink.plugin.PluginException
            dup
            new java.lang.StringBuilder
            dup
            aload 2 /* req */
            invokevirtual java.lang.module.ModuleDescriptor$Requires.name:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " not found"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // jdk.tools.jlink.plugin.ResourcePoolModule dep
         7: .line 88
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.module.ModuleDescriptor$Requires req
        end local 0 // jdk.tools.jlink.internal.ModuleSorter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljdk/tools/jlink/internal/ModuleSorter;
            0    8     2   req  Ljava/lang/module/ModuleDescriptor$Requires;
            1    7     3   dep  Ljdk/tools/jlink/plugin/ResourcePoolModule;

  private static java.util.Set lambda$4(jdk.tools.jlink.plugin.ResourcePoolModule);
    descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolModule;)Ljava/util/Set;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.tools.jlink.plugin.ResourcePoolModule _n
         0: .line 93
            new java.util.LinkedHashSet
            dup
            invokespecial java.util.LinkedHashSet.<init>:()V
            areturn
        end local 0 // jdk.tools.jlink.plugin.ResourcePoolModule _n
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    _n  Ljdk/tools/jlink/plugin/ResourcePoolModule;

  private void lambda$6(java.util.Set, java.util.Set, jdk.tools.jlink.plugin.ResourcePoolModule);
    descriptor: (Ljava/util/Set;Ljava/util/Set;Ljdk/tools/jlink/plugin/ResourcePoolModule;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // jdk.tools.jlink.internal.ModuleSorter this
        start local 3 // jdk.tools.jlink.plugin.ResourcePoolModule node
         0: .line 109
            aload 0 /* this */
            aload 3 /* node */
            aload 1
            aload 2
            invokevirtual jdk.tools.jlink.internal.ModuleSorter.visit:(Ljdk/tools/jlink/plugin/ResourcePoolModule;Ljava/util/Set;Ljava/util/Set;)V
            return
        end local 3 // jdk.tools.jlink.plugin.ResourcePoolModule node
        end local 0 // jdk.tools.jlink.internal.ModuleSorter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jlink/internal/ModuleSorter;
            0    1     3  node  Ljdk/tools/jlink/plugin/ResourcePoolModule;

  private void lambda$7(java.util.Set, java.util.Set, jdk.tools.jlink.plugin.ResourcePoolModule);
    descriptor: (Ljava/util/Set;Ljava/util/Set;Ljdk/tools/jlink/plugin/ResourcePoolModule;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // jdk.tools.jlink.internal.ModuleSorter this
        start local 3 // jdk.tools.jlink.plugin.ResourcePoolModule x
         0: .line 131
            aload 0 /* this */
            aload 3 /* x */
            aload 1
            aload 2
            invokevirtual jdk.tools.jlink.internal.ModuleSorter.visit:(Ljdk/tools/jlink/plugin/ResourcePoolModule;Ljava/util/Set;Ljava/util/Set;)V
            return
        end local 3 // jdk.tools.jlink.plugin.ResourcePoolModule x
        end local 0 // jdk.tools.jlink.internal.ModuleSorter this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jlink/internal/ModuleSorter;
            0    1     3     x  Ljdk/tools/jlink/plugin/ResourcePoolModule;
}
SourceFile: "ModuleSorter.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public final Requires = java.lang.module.ModuleDescriptor$Requires of java.lang.module.ModuleDescriptor
  public final Modifier = java.lang.module.ModuleDescriptor$Requires$Modifier of java.lang.module.ModuleDescriptor$Requires