final class jdk.tools.jlink.internal.ImageResourcesTree$Tree
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.tools.jlink.internal.ImageResourcesTree$Tree
  super_class: java.lang.Object
{
  private final java.util.Map<java.lang.String, jdk.tools.jlink.internal.ImageResourcesTree$Node> directAccess;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/tools/jlink/internal/ImageResourcesTree$Node;>;

  private final java.util.List<java.lang.String> paths;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljava/lang/String;>;

  private final jdk.tools.jlink.internal.ImageResourcesTree$Node root;
    descriptor: Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private jdk.tools.jlink.internal.ImageResourcesTree$Node modules;
    descriptor: Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
    flags: (0x0002) ACC_PRIVATE

  private jdk.tools.jlink.internal.ImageResourcesTree$Node packages;
    descriptor: Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
    flags: (0x0002) ACC_PRIVATE

  private void <init>(java.util.List<java.lang.String>);
    descriptor: (Ljava/util/List;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
        start local 1 // java.util.List paths
         0: .line 165
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 159
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.directAccess:Ljava/util/Map;
         2: .line 166
            aload 0 /* this */
            aload 1 /* paths */
            putfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.paths:Ljava/util/List;
         3: .line 167
            aload 0 /* this */
            new jdk.tools.jlink.internal.ImageResourcesTree$Node
            dup
            ldc ""
            aconst_null
            invokespecial jdk.tools.jlink.internal.ImageResourcesTree$Node.<init>:(Ljava/lang/String;Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)V
            putfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.root:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
         4: .line 168
            aload 0 /* this */
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Tree.buildTree:()V
         5: .line 169
            return
        end local 1 // java.util.List paths
        end local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0   this  Ljdk/tools/jlink/internal/ImageResourcesTree$Tree;
            0    6     1  paths  Ljava/util/List<Ljava/lang/String;>;
    Signature: (Ljava/util/List<Ljava/lang/String;>;)V
    MethodParameters:
       Name  Flags
      paths  

  private void buildTree();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=13, args_size=1
        start local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
         0: .line 172
            aload 0 /* this */
            new jdk.tools.jlink.internal.ImageResourcesTree$Node
            dup
            ldc "modules"
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.root:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            invokespecial jdk.tools.jlink.internal.ImageResourcesTree$Node.<init>:(Ljava/lang/String;Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)V
            putfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.modules:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
         1: .line 173
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.directAccess:Ljava/util/Map;
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.modules:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Node.getPath:()Ljava/lang/String;
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.modules:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 175
            new java.util.TreeMap
            dup
            invokespecial java.util.TreeMap.<init>:()V
            astore 1 /* moduleToPackage */
        start local 1 // java.util.Map moduleToPackage
         3: .line 176
            new java.util.TreeMap
            dup
            invokespecial java.util.TreeMap.<init>:()V
            astore 2 /* packageToModule */
        start local 2 // java.util.Map packageToModule
         4: .line 178
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.paths:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 4
            goto 51
      StackMap locals: jdk.tools.jlink.internal.ImageResourcesTree$Tree java.util.Map java.util.Map top java.util.Iterator
      StackMap stack:
         5: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 3 /* p */
        start local 3 // java.lang.String p
         6: .line 179
            aload 3 /* p */
            ldc "/"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 8
         7: .line 180
            goto 51
         8: .line 182
      StackMap locals: jdk.tools.jlink.internal.ImageResourcesTree$Tree java.util.Map java.util.Map java.lang.String java.util.Iterator
      StackMap stack:
            aload 3 /* p */
            ldc "/"
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 5 /* split */
        start local 5 // java.lang.String[] split
         9: .line 184
            aload 5 /* split */
            arraylength
            iconst_3
            if_icmpge 14
        10: .line 185
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Resources tree, invalid data structure, skipping "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        11: .line 186
            aload 3 /* p */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        12: .line 185
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        13: .line 187
            goto 51
        14: .line 189
      StackMap locals: java.lang.String[]
      StackMap stack:
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.modules:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            astore 6 /* current */
        start local 6 // jdk.tools.jlink.internal.ImageResourcesTree$Node current
        15: .line 190
            aconst_null
            astore 7 /* module */
        start local 7 // java.lang.String module
        16: .line 191
            iconst_0
            istore 8 /* i */
        start local 8 // int i
        17: goto 50
        18: .line 195
      StackMap locals: jdk.tools.jlink.internal.ImageResourcesTree$Node java.lang.String int
      StackMap stack:
            aload 6 /* current */
            instanceof jdk.tools.jlink.internal.ImageResourcesTree$ResourceNode
            ifeq 23
        19: .line 196
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Resources tree, invalid data structure, skipping "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        20: .line 197
            aload 3 /* p */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        21: .line 196
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        22: .line 198
            goto 49
        23: .line 200
      StackMap locals:
      StackMap stack:
            aload 5 /* split */
            iload 8 /* i */
            aaload
            astore 9 /* s */
        start local 9 // java.lang.String s
        24: .line 201
            aload 9 /* s */
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 49
        25: .line 204
            aload 7 /* module */
            ifnonnull 27
        26: .line 205
            aload 9 /* s */
            astore 7 /* module */
        27: .line 207
      StackMap locals: java.lang.String
      StackMap stack:
            aload 6 /* current */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Node.children:Ljava/util/Map;
            aload 9 /* s */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast jdk.tools.jlink.internal.ImageResourcesTree$Node
            astore 10 /* n */
        start local 10 // jdk.tools.jlink.internal.ImageResourcesTree$Node n
        28: .line 208
            aload 10 /* n */
            ifnonnull 48
        29: .line 209
            iload 8 /* i */
            aload 5 /* split */
            arraylength
            iconst_1
            isub
            if_icmpne 39
        30: .line 210
            new jdk.tools.jlink.internal.ImageResourcesTree$ResourceNode
            dup
            aload 9 /* s */
            aload 6 /* current */
            invokespecial jdk.tools.jlink.internal.ImageResourcesTree$ResourceNode.<init>:(Ljava/lang/String;Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)V
            astore 10 /* n */
        31: .line 211
            aload 0 /* this */
            aload 10 /* n */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Node.parent:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Tree.toPackageName:(Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)Ljava/lang/String;
            astore 11 /* pkg */
        start local 11 // java.lang.String pkg
        32: .line 213
            aload 11 /* pkg */
            ifnull 48
            aload 11 /* pkg */
            ldc "META-INF"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 48
        33: .line 214
            aload 1 /* moduleToPackage */
            aload 7 /* module */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.Set
            astore 12 /* pkgs */
        start local 12 // java.util.Set pkgs
        34: .line 215
            aload 12 /* pkgs */
            ifnonnull 37
        35: .line 216
            new java.util.TreeSet
            dup
            invokespecial java.util.TreeSet.<init>:()V
            astore 12 /* pkgs */
        36: .line 217
            aload 1 /* moduleToPackage */
            aload 7 /* module */
            aload 12 /* pkgs */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        37: .line 219
      StackMap locals: jdk.tools.jlink.internal.ImageResourcesTree$Node java.lang.String java.util.Set
      StackMap stack:
            aload 12 /* pkgs */
            aload 11 /* pkg */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        end local 12 // java.util.Set pkgs
        end local 11 // java.lang.String pkg
        38: .line 221
            goto 48
        39: .line 222
      StackMap locals:
      StackMap stack:
            new jdk.tools.jlink.internal.ImageResourcesTree$Node
            dup
            aload 9 /* s */
            aload 6 /* current */
            invokespecial jdk.tools.jlink.internal.ImageResourcesTree$Node.<init>:(Ljava/lang/String;Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)V
            astore 10 /* n */
        40: .line 223
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.directAccess:Ljava/util/Map;
            aload 10 /* n */
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Node.getPath:()Ljava/lang/String;
            aload 10 /* n */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        41: .line 224
            aload 0 /* this */
            aload 10 /* n */
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Tree.toPackageName:(Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)Ljava/lang/String;
            astore 11 /* pkg */
        start local 11 // java.lang.String pkg
        42: .line 225
            aload 11 /* pkg */
            ifnull 48
            aload 11 /* pkg */
            ldc "META-INF"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifne 48
        43: .line 226
            aload 2 /* packageToModule */
            aload 11 /* pkg */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.Set
            astore 12 /* mods */
        start local 12 // java.util.Set mods
        44: .line 227
            aload 12 /* mods */
            ifnonnull 47
        45: .line 228
            new java.util.TreeSet
            dup
            invokespecial java.util.TreeSet.<init>:()V
            astore 12 /* mods */
        46: .line 229
            aload 2 /* packageToModule */
            aload 11 /* pkg */
            aload 12 /* mods */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        47: .line 231
      StackMap locals: java.lang.String java.util.Set
      StackMap stack:
            aload 12 /* mods */
            aload 7 /* module */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        end local 12 // java.util.Set mods
        end local 11 // java.lang.String pkg
        48: .line 235
      StackMap locals:
      StackMap stack:
            aload 10 /* n */
            astore 6 /* current */
        end local 10 // jdk.tools.jlink.internal.ImageResourcesTree$Node n
        end local 9 // java.lang.String s
        49: .line 191
      StackMap locals:
      StackMap stack:
            iinc 8 /* i */ 1
      StackMap locals:
      StackMap stack:
        50: iload 8 /* i */
            aload 5 /* split */
            arraylength
            if_icmplt 18
        end local 8 // int i
        end local 7 // java.lang.String module
        end local 6 // jdk.tools.jlink.internal.ImageResourcesTree$Node current
        end local 5 // java.lang.String[] split
        end local 3 // java.lang.String p
        51: .line 178
      StackMap locals: jdk.tools.jlink.internal.ImageResourcesTree$Tree java.util.Map java.util.Map top java.util.Iterator
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        52: .line 239
            aload 0 /* this */
            new jdk.tools.jlink.internal.ImageResourcesTree$Node
            dup
            ldc "packages"
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.root:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            invokespecial jdk.tools.jlink.internal.ImageResourcesTree$Node.<init>:(Ljava/lang/String;Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)V
            putfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.packages:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
        53: .line 240
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.directAccess:Ljava/util/Map;
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.packages:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Node.getPath:()Ljava/lang/String;
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.packages:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        54: .line 243
            aload 1 /* moduleToPackage */
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 4
            goto 62
      StackMap locals:
      StackMap stack:
        55: 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
        56: .line 244
            aload 3 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.util.Set
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 6
            goto 61
      StackMap locals: jdk.tools.jlink.internal.ImageResourcesTree$Tree java.util.Map java.util.Map java.util.Map$Entry java.util.Iterator top java.util.Iterator
      StackMap stack:
        57: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 5 /* pkg */
        start local 5 // java.lang.String pkg
        58: .line 245
            new jdk.tools.jlink.internal.ImageResourcesTree$PackageNode
            dup
            aload 5 /* pkg */
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.packages:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            invokespecial jdk.tools.jlink.internal.ImageResourcesTree$PackageNode.<init>:(Ljava/lang/String;Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)V
            astore 7 /* pkgNode */
        start local 7 // jdk.tools.jlink.internal.ImageResourcesTree$PackageNode pkgNode
        59: .line 246
            aload 7 /* pkgNode */
            aload 3 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast java.lang.String
            iconst_0
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$PackageNode.addReference:(Ljava/lang/String;Z)V
        60: .line 247
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.directAccess:Ljava/util/Map;
            aload 7 /* pkgNode */
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$PackageNode.getPath:()Ljava/lang/String;
            aload 7 /* pkgNode */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 7 // jdk.tools.jlink.internal.ImageResourcesTree$PackageNode pkgNode
        end local 5 // java.lang.String pkg
        61: .line 244
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 57
        end local 3 // java.util.Map$Entry entry
        62: .line 243
      StackMap locals: jdk.tools.jlink.internal.ImageResourcesTree$Tree java.util.Map java.util.Map top java.util.Iterator
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 55
        63: .line 252
            aload 2 /* packageToModule */
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 4
            goto 73
      StackMap locals:
      StackMap stack:
        64: 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
        65: .line 254
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.packages:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            aload 3 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast java.lang.String
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Node.getChildren:(Ljava/lang/String;)Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            checkcast jdk.tools.jlink.internal.ImageResourcesTree$PackageNode
            astore 5 /* pkgNode */
        start local 5 // jdk.tools.jlink.internal.ImageResourcesTree$PackageNode pkgNode
        66: .line 255
            aload 5 /* pkgNode */
            ifnonnull 68
        67: .line 256
            new jdk.tools.jlink.internal.ImageResourcesTree$PackageNode
            dup
            aload 3 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast java.lang.String
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.packages:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            invokespecial jdk.tools.jlink.internal.ImageResourcesTree$PackageNode.<init>:(Ljava/lang/String;Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)V
            astore 5 /* pkgNode */
        68: .line 258
      StackMap locals: jdk.tools.jlink.internal.ImageResourcesTree$Tree java.util.Map java.util.Map java.util.Map$Entry java.util.Iterator jdk.tools.jlink.internal.ImageResourcesTree$PackageNode
      StackMap stack:
            aload 3 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.util.Set
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 7
            goto 71
      StackMap locals: jdk.tools.jlink.internal.ImageResourcesTree$Tree java.util.Map java.util.Map java.util.Map$Entry java.util.Iterator jdk.tools.jlink.internal.ImageResourcesTree$PackageNode top java.util.Iterator
      StackMap stack:
        69: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 6 /* module */
        start local 6 // java.lang.String module
        70: .line 259
            aload 5 /* pkgNode */
            aload 6 /* module */
            iconst_1
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$PackageNode.addReference:(Ljava/lang/String;Z)V
        end local 6 // java.lang.String module
        71: .line 258
      StackMap locals:
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 69
        72: .line 261
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.directAccess:Ljava/util/Map;
            aload 5 /* pkgNode */
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$PackageNode.getPath:()Ljava/lang/String;
            aload 5 /* pkgNode */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 5 // jdk.tools.jlink.internal.ImageResourcesTree$PackageNode pkgNode
        end local 3 // java.util.Map$Entry entry
        73: .line 252
      StackMap locals: jdk.tools.jlink.internal.ImageResourcesTree$Tree java.util.Map java.util.Map top java.util.Iterator
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 64
        74: .line 264
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.packages:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Node.children:Ljava/util/Map;
            invokeinterface java.util.Map.values:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 4
            goto 77
      StackMap locals:
      StackMap stack:
        75: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.tools.jlink.internal.ImageResourcesTree$Node
            astore 3 /* n */
        start local 3 // jdk.tools.jlink.internal.ImageResourcesTree$Node n
        76: .line 265
            aload 3 /* n */
            checkcast jdk.tools.jlink.internal.ImageResourcesTree$PackageNode
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$PackageNode.validate:()V
        end local 3 // jdk.tools.jlink.internal.ImageResourcesTree$Node n
        77: .line 264
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 75
        78: .line 268
            return
        end local 2 // java.util.Map packageToModule
        end local 1 // java.util.Map moduleToPackage
        end local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   79     0             this  Ljdk/tools/jlink/internal/ImageResourcesTree$Tree;
            3   79     1  moduleToPackage  Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
            4   79     2  packageToModule  Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
            6   51     3                p  Ljava/lang/String;
            9   51     5            split  [Ljava/lang/String;
           15   51     6          current  Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
           16   51     7           module  Ljava/lang/String;
           17   51     8                i  I
           24   49     9                s  Ljava/lang/String;
           28   49    10                n  Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
           32   38    11              pkg  Ljava/lang/String;
           34   38    12             pkgs  Ljava/util/Set<Ljava/lang/String;>;
           42   48    11              pkg  Ljava/lang/String;
           44   48    12             mods  Ljava/util/Set<Ljava/lang/String;>;
           56   62     3            entry  Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
           58   61     5              pkg  Ljava/lang/String;
           59   61     7          pkgNode  Ljdk/tools/jlink/internal/ImageResourcesTree$PackageNode;
           65   73     3            entry  Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
           66   73     5          pkgNode  Ljdk/tools/jlink/internal/ImageResourcesTree$PackageNode;
           70   71     6           module  Ljava/lang/String;
           76   77     3                n  Ljdk/tools/jlink/internal/ImageResourcesTree$Node;

  public java.lang.String toResourceName(jdk.tools.jlink.internal.ImageResourcesTree$Node);
    descriptor: (Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
        start local 1 // jdk.tools.jlink.internal.ImageResourcesTree$Node node
         0: .line 271
            aload 1 /* node */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Node.children:Ljava/util/Map;
            invokeinterface java.util.Map.isEmpty:()Z
            ifne 2
         1: .line 272
            new java.lang.RuntimeException
            dup
            ldc "Node is not a resource"
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 274
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* node */
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Tree.removeRadical:(Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)Ljava/lang/String;
            areturn
        end local 1 // jdk.tools.jlink.internal.ImageResourcesTree$Node node
        end local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/tools/jlink/internal/ImageResourcesTree$Tree;
            0    3     1  node  Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
    MethodParameters:
      Name  Flags
      node  

  public java.lang.String getModule(jdk.tools.jlink.internal.ImageResourcesTree$Node);
    descriptor: (Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
        start local 1 // jdk.tools.jlink.internal.ImageResourcesTree$Node node
         0: .line 278
            aload 1 /* node */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Node.parent:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            ifnull 2
            aload 1 /* node */
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Node.getName:()Ljava/lang/String;
            ldc "modules"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 2
         1: .line 279
            aload 1 /* node */
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Node.getName:()Ljava/lang/String;
            ldc "packages"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 3
         2: .line 280
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
         3: .line 282
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* node */
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Tree.removeRadical:(Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)Ljava/lang/String;
            astore 2 /* path */
        start local 2 // java.lang.String path
         4: .line 284
            aload 2 /* path */
            iconst_1
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 2 /* path */
         5: .line 285
            aload 2 /* path */
            ldc "/"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 3 /* i */
        start local 3 // int i
         6: .line 286
            iload 3 /* i */
            iconst_m1
            if_icmpne 8
         7: .line 287
            aload 2 /* path */
            areturn
         8: .line 289
      StackMap locals: java.lang.String int
      StackMap stack:
            aload 2 /* path */
            iconst_0
            iload 3 /* i */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            areturn
        end local 3 // int i
        end local 2 // java.lang.String path
        end local 1 // jdk.tools.jlink.internal.ImageResourcesTree$Node node
        end local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Ljdk/tools/jlink/internal/ImageResourcesTree$Tree;
            0    9     1  node  Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            4    9     2  path  Ljava/lang/String;
            6    9     3     i  I
    MethodParameters:
      Name  Flags
      node  

  public java.lang.String toPackageName(jdk.tools.jlink.internal.ImageResourcesTree$Node);
    descriptor: (Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
        start local 1 // jdk.tools.jlink.internal.ImageResourcesTree$Node node
         0: .line 294
            aload 1 /* node */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Node.parent:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            ifnonnull 2
         1: .line 295
            aconst_null
            areturn
         2: .line 297
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* node */
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Node.getPath:()Ljava/lang/String;
            ldc "/modules/"
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Tree.removeRadical:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            astore 2 /* path */
        start local 2 // java.lang.String path
         3: .line 298
            aload 0 /* this */
            aload 1 /* node */
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Tree.getModule:(Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)Ljava/lang/String;
            astore 3 /* module */
        start local 3 // java.lang.String module
         4: .line 299
            aload 2 /* path */
            aload 3 /* module */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 6
         5: .line 300
            aconst_null
            areturn
         6: .line 302
      StackMap locals: java.lang.String java.lang.String
      StackMap stack:
            aload 0 /* this */
            aload 2 /* path */
            new java.lang.StringBuilder
            dup
            aload 3 /* module */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "/"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Tree.removeRadical:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            astore 4 /* pkg */
        start local 4 // java.lang.String pkg
         7: .line 303
            aload 4 /* pkg */
            ldc "/"
            ldc "."
            invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 4 // java.lang.String pkg
        end local 3 // java.lang.String module
        end local 2 // java.lang.String path
        end local 1 // jdk.tools.jlink.internal.ImageResourcesTree$Node node
        end local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Ljdk/tools/jlink/internal/ImageResourcesTree$Tree;
            0    8     1    node  Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            3    8     2    path  Ljava/lang/String;
            4    8     3  module  Ljava/lang/String;
            7    8     4     pkg  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      node  

  public java.lang.String removeRadical(jdk.tools.jlink.internal.ImageResourcesTree$Node);
    descriptor: (Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
        start local 1 // jdk.tools.jlink.internal.ImageResourcesTree$Node node
         0: .line 307
            aload 0 /* this */
            aload 1 /* node */
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Node.getPath:()Ljava/lang/String;
            ldc "/modules"
            invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Tree.removeRadical:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            areturn
        end local 1 // jdk.tools.jlink.internal.ImageResourcesTree$Node node
        end local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jlink/internal/ImageResourcesTree$Tree;
            0    1     1  node  Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
    MethodParameters:
      Name  Flags
      node  

  private java.lang.String removeRadical(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
        start local 1 // java.lang.String path
        start local 2 // java.lang.String str
         0: .line 311
            aload 1 /* path */
            invokevirtual java.lang.String.length:()I
            aload 2 /* str */
            invokevirtual java.lang.String.length:()I
            if_icmplt 2
         1: .line 312
            aload 1 /* path */
            aload 2 /* str */
            invokevirtual java.lang.String.length:()I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 1 /* path */
         2: .line 314
      StackMap locals:
      StackMap stack:
            aload 1 /* path */
            areturn
        end local 2 // java.lang.String str
        end local 1 // java.lang.String path
        end local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/tools/jlink/internal/ImageResourcesTree$Tree;
            0    3     1  path  Ljava/lang/String;
            0    3     2   str  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      path  
      str   

  public jdk.tools.jlink.internal.ImageResourcesTree$Node getRoot();
    descriptor: ()Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
         0: .line 318
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.root:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
            areturn
        end local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jlink/internal/ImageResourcesTree$Tree;

  public java.util.Map<java.lang.String, jdk.tools.jlink.internal.ImageResourcesTree$Node> getMap();
    descriptor: ()Ljava/util/Map;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
         0: .line 322
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImageResourcesTree$Tree.directAccess:Ljava/util/Map;
            areturn
        end local 0 // jdk.tools.jlink.internal.ImageResourcesTree$Tree this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jlink/internal/ImageResourcesTree$Tree;
    Signature: ()Ljava/util/Map<Ljava/lang/String;Ljdk/tools/jlink/internal/ImageResourcesTree$Node;>;
}
SourceFile: "ImageResourcesTree.java"
NestHost: jdk.tools.jlink.internal.ImageResourcesTree
InnerClasses:
  public abstract Entry = java.util.Map$Entry of java.util.Map
  private Node = jdk.tools.jlink.internal.ImageResourcesTree$Node of jdk.tools.jlink.internal.ImageResourcesTree
  private PackageNode = jdk.tools.jlink.internal.ImageResourcesTree$PackageNode of jdk.tools.jlink.internal.ImageResourcesTree
  private final ResourceNode = jdk.tools.jlink.internal.ImageResourcesTree$ResourceNode of jdk.tools.jlink.internal.ImageResourcesTree
  private final Tree = jdk.tools.jlink.internal.ImageResourcesTree$Tree of jdk.tools.jlink.internal.ImageResourcesTree