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.Deque<jdk.tools.jlink.plugin.ResourcePoolModule> nodes;
    descriptor: Ljava/util/Deque;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Deque<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;

  private final java.util.Map<java.lang.String, java.util.Set<jdk.tools.jlink.plugin.ResourcePoolModule>> edges;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;>;

  private final java.util.Deque<jdk.tools.jlink.plugin.ResourcePoolModule> result;
    descriptor: Ljava/util/Deque;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Deque<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 54
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 48
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield jdk.tools.jlink.internal.ModuleSorter.nodes:Ljava/util/Deque;
         2: .line 49
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.tools.jlink.internal.ModuleSorter.edges:Ljava/util/Map;
         3: .line 50
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield jdk.tools.jlink.internal.ModuleSorter.result:Ljava/util/Deque;
         4: .line 55
            aload 0 /* this */
            aload 1 /* moduleView */
            putfield jdk.tools.jlink.internal.ModuleSorter.moduleView:Ljdk/tools/jlink/plugin/ResourcePoolModuleView;
         5: .line 57
            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
         6: .line 58
            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    7     0        this  Ljdk/tools/jlink/internal/ModuleSorter;
            0    7     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 61
            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 62
            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 66
            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 67
            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 71
            aload 0 /* this */
            aload 1 /* module */
            invokevirtual jdk.tools.jlink.internal.ModuleSorter.addNode:(Ljdk/tools/jlink/plugin/ResourcePoolModule;)V
         1: .line 72
            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;
            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$2(Ljdk/tools/jlink/plugin/ResourcePoolModule;Ljava/lang/module/ModuleDescriptor$Requires;)V (7)
                  (Ljava/lang/module/ModuleDescriptor$Requires;)V
            invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
         2: .line 81
            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    3     0    this  Ljdk/tools/jlink/internal/ModuleSorter;
            0    3     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 85
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.nodes:Ljava/util/Deque;
            aload 1 /* module */
            invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
            pop
         1: .line 86
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.edges:Ljava/util/Map;
            aload 1 /* module */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolModule.name:()Ljava/lang/String;
            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$3(Ljava/lang/String;)Ljava/util/Set; (6)
                  (Ljava/lang/String;)Ljava/util/Set;
            invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
            pop
         2: .line 87
            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    3     0    this  Ljdk/tools/jlink/internal/ModuleSorter;
            0    3     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=4, args_size=1
        start local 0 // jdk.tools.jlink.internal.ModuleSorter this
         0: .line 90
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.result:Ljava/util/Deque;
            invokeinterface java.util.Deque.isEmpty:()Z
            ifeq 1
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.nodes:Ljava/util/Deque;
            invokeinterface java.util.Deque.isEmpty:()Z
            ifeq 2
         1: .line 91
      StackMap locals:
      StackMap stack:
            return
         2: .line 93
      StackMap locals:
      StackMap stack:
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            astore 1 /* visited */
        start local 1 // java.util.Deque visited
         3: .line 94
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            astore 2 /* done */
        start local 2 // java.util.Deque done
         4: .line 96
            goto 7
        start local 3 // jdk.tools.jlink.plugin.ResourcePoolModule node
         5: .line 97
      StackMap locals: java.util.Deque java.util.Deque jdk.tools.jlink.plugin.ResourcePoolModule
      StackMap stack:
            aload 1 /* visited */
            aload 3 /* node */
            invokeinterface java.util.Deque.contains:(Ljava/lang/Object;)Z
            ifne 7
         6: .line 98
            aload 0 /* this */
            aload 3 /* node */
            aload 1 /* visited */
            aload 2 /* done */
            invokevirtual jdk.tools.jlink.internal.ModuleSorter.visit:(Ljdk/tools/jlink/plugin/ResourcePoolModule;Ljava/util/Deque;Ljava/util/Deque;)V
        end local 3 // jdk.tools.jlink.plugin.ResourcePoolModule node
         7: .line 96
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.nodes:Ljava/util/Deque;
            invokeinterface java.util.Deque.poll:()Ljava/lang/Object;
            checkcast jdk.tools.jlink.plugin.ResourcePoolModule
            dup
            astore 3 /* node */
        start local 3 // jdk.tools.jlink.plugin.ResourcePoolModule node
         8: ifnonnull 5
         9: .line 101
            return
        end local 3 // jdk.tools.jlink.plugin.ResourcePoolModule node
        end local 2 // java.util.Deque done
        end local 1 // java.util.Deque visited
        end local 0 // jdk.tools.jlink.internal.ModuleSorter this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Ljdk/tools/jlink/internal/ModuleSorter;
            3   10     1  visited  Ljava/util/Deque<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;
            4   10     2     done  Ljava/util/Deque<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;
            5    7     3     node  Ljdk/tools/jlink/plugin/ResourcePoolModule;
            8   10     3     node  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 104
            aload 0 /* this */
            invokevirtual jdk.tools.jlink.internal.ModuleSorter.build:()V
         1: .line 105
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.result:Ljava/util/Deque;
            invokeinterface java.util.Deque.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.Deque<jdk.tools.jlink.plugin.ResourcePoolModule>, java.util.Deque<jdk.tools.jlink.plugin.ResourcePoolModule>);
    descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolModule;Ljava/util/Deque;Ljava/util/Deque;)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.Deque visited
        start local 3 // java.util.Deque done
         0: .line 111
            aload 2 /* visited */
            aload 1 /* node */
            invokeinterface java.util.Deque.contains:(Ljava/lang/Object;)Z
            ifeq 6
         1: .line 112
            aload 3 /* done */
            aload 1 /* node */
            invokeinterface java.util.Deque.contains:(Ljava/lang/Object;)Z
            ifne 5
         2: .line 113
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Cyclic detected: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         3: .line 114
            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.edges:Ljava/util/Map;
            aload 1 /* node */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolModule.name:()Ljava/lang/String;
            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 113
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         5: .line 116
      StackMap locals:
      StackMap stack:
            return
         6: .line 118
      StackMap locals:
      StackMap stack:
            aload 2 /* visited */
            aload 1 /* node */
            invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
            pop
         7: .line 119
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.edges:Ljava/util/Map;
            aload 1 /* node */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolModule.name:()Ljava/lang/String;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.Set
         8: .line 120
            aload 0 /* this */
            aload 2 /* visited */
            aload 3 /* done */
            invokedynamic accept(Ljdk/tools/jlink/internal/ModuleSorter;Ljava/util/Deque;Ljava/util/Deque;)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$4(Ljava/util/Deque;Ljava/util/Deque;Ljdk/tools/jlink/plugin/ResourcePoolModule;)V (7)
                  (Ljdk/tools/jlink/plugin/ResourcePoolModule;)V
            invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
         9: .line 121
            aload 3 /* done */
            aload 1 /* node */
            invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
            pop
        10: .line 122
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.result:Ljava/util/Deque;
            aload 1 /* node */
            invokeinterface java.util.Deque.addLast:(Ljava/lang/Object;)V
        11: .line 123
            return
        end local 3 // java.util.Deque done
        end local 2 // java.util.Deque 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   12     0     this  Ljdk/tools/jlink/internal/ModuleSorter;
            0   12     1     node  Ljdk/tools/jlink/plugin/ResourcePoolModule;
            0   12     2  visited  Ljava/util/Deque<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;
            0   12     3     done  Ljava/util/Deque<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;
    Signature: (Ljdk/tools/jlink/plugin/ResourcePoolModule;Ljava/util/Deque<Ljdk/tools/jlink/plugin/ResourcePoolModule;>;Ljava/util/Deque<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 63
            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 64
            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 63
            invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/String;)V
         3: .line 64
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void lambda$2(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 73
            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 74
            aload 3 /* dep */
            ifnull 5
         2: .line 75
            aload 0 /* this */
            aload 3 /* dep */
            invokevirtual jdk.tools.jlink.internal.ModuleSorter.addNode:(Ljdk/tools/jlink/plugin/ResourcePoolModule;)V
         3: .line 76
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ModuleSorter.edges:Ljava/util/Map;
            aload 1
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolModule.name:()Ljava/lang/String;
            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 77
            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 78
            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 80
      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$3(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/Set;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.lang.String _n
         0: .line 86
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            areturn
        end local 0 // java.lang.String _n
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    _n  Ljava/lang/String;

  private void lambda$4(java.util.Deque, java.util.Deque, jdk.tools.jlink.plugin.ResourcePoolModule);
    descriptor: (Ljava/util/Deque;Ljava/util/Deque;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 120
            aload 0 /* this */
            aload 3 /* x */
            aload 1
            aload 2
            invokevirtual jdk.tools.jlink.internal.ModuleSorter.visit:(Ljdk/tools/jlink/plugin/ResourcePoolModule;Ljava/util/Deque;Ljava/util/Deque;)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