class jdk.tools.jlink.internal.JlinkTask$ImageHelper implements jdk.tools.jlink.internal.ImagePluginStack$ImageProvider
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.tools.jlink.internal.JlinkTask$ImageHelper
  super_class: java.lang.Object
{
  final java.nio.ByteOrder order;
    descriptor: Ljava/nio/ByteOrder;
    flags: (0x0010) ACC_FINAL

  final java.nio.file.Path packagedModulesPath;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0010) ACC_FINAL

  final boolean ignoreSigning;
    descriptor: Z
    flags: (0x0010) ACC_FINAL

  final java.util.Set<jdk.tools.jlink.internal.Archive> archives;
    descriptor: Ljava/util/Set;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/util/Set<Ljdk/tools/jlink/internal/Archive;>;

  void <init>(java.lang.module.Configuration, java.util.Map<java.lang.String, java.nio.file.Path>, java.nio.ByteOrder, java.nio.file.Path, );
    descriptor: (Ljava/lang/module/Configuration;Ljava/util/Map;Ljava/nio/ByteOrder;Ljava/nio/file/Path;Z)V
    flags: (0x0000) 
    Code:
      stack=3, locals=6, args_size=6
        start local 0 // jdk.tools.jlink.internal.JlinkTask$ImageHelper this
        start local 1 // java.lang.module.Configuration cf
        start local 2 // java.util.Map modsPaths
        start local 3 // java.nio.ByteOrder order
        start local 4 // java.nio.file.Path packagedModulesPath
        start local 5 // boolean ignoreSigning
         0: .line 718
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 723
            aload 0 /* this */
            aload 3 /* order */
            putfield jdk.tools.jlink.internal.JlinkTask$ImageHelper.order:Ljava/nio/ByteOrder;
         2: .line 724
            aload 0 /* this */
            aload 4 /* packagedModulesPath */
            putfield jdk.tools.jlink.internal.JlinkTask$ImageHelper.packagedModulesPath:Ljava/nio/file/Path;
         3: .line 725
            aload 0 /* this */
            iload 5 /* ignoreSigning */
            putfield jdk.tools.jlink.internal.JlinkTask$ImageHelper.ignoreSigning:Z
         4: .line 726
            aload 0 /* this */
            aload 2 /* modsPaths */
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
         5: .line 727
            aload 0 /* this */
            invokedynamic apply(Ljdk/tools/jlink/internal/JlinkTask$ImageHelper;)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/JlinkTask$ImageHelper.lambda$0(Ljava/util/Map$Entry;)Ljdk/tools/jlink/internal/Archive; (7)
                  (Ljava/util/Map$Entry;)Ljdk/tools/jlink/internal/Archive;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         6: .line 728
            invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.util.Set
         7: .line 726
            putfield jdk.tools.jlink.internal.JlinkTask$ImageHelper.archives:Ljava/util/Set;
         8: .line 729
            return
        end local 5 // boolean ignoreSigning
        end local 4 // java.nio.file.Path packagedModulesPath
        end local 3 // java.nio.ByteOrder order
        end local 2 // java.util.Map modsPaths
        end local 1 // java.lang.module.Configuration cf
        end local 0 // jdk.tools.jlink.internal.JlinkTask$ImageHelper this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    9     0                 this  Ljdk/tools/jlink/internal/JlinkTask$ImageHelper;
            0    9     1                   cf  Ljava/lang/module/Configuration;
            0    9     2            modsPaths  Ljava/util/Map<Ljava/lang/String;Ljava/nio/file/Path;>;
            0    9     3                order  Ljava/nio/ByteOrder;
            0    9     4  packagedModulesPath  Ljava/nio/file/Path;
            0    9     5        ignoreSigning  Z
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/lang/module/Configuration;Ljava/util/Map<Ljava/lang/String;Ljava/nio/file/Path;>;Ljava/nio/ByteOrder;Ljava/nio/file/Path;Z)V
    MethodParameters:
                     Name  Flags
      cf                   
      modsPaths            
      order                
      packagedModulesPath  
      ignoreSigning        

  private jdk.tools.jlink.internal.Archive newArchive(java.lang.String, java.nio.file.Path);
    descriptor: (Ljava/lang/String;Ljava/nio/file/Path;)Ljdk/tools/jlink/internal/Archive;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=8, locals=5, args_size=3
        start local 0 // jdk.tools.jlink.internal.JlinkTask$ImageHelper this
        start local 1 // java.lang.String module
        start local 2 // java.nio.file.Path path
         0: .line 732
            aload 2 /* path */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            ldc ".jmod"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 2
         1: .line 733
            new jdk.tools.jlink.internal.JmodArchive
            dup
            aload 1 /* module */
            aload 2 /* path */
            invokespecial jdk.tools.jlink.internal.JmodArchive.<init>:(Ljava/lang/String;Ljava/nio/file/Path;)V
            areturn
         2: .line 734
      StackMap locals:
      StackMap stack:
            aload 2 /* path */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            ldc ".jar"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 11
         3: .line 735
            new jdk.tools.jlink.internal.ModularJarArchive
            dup
            aload 1 /* module */
            aload 2 /* path */
            invokespecial jdk.tools.jlink.internal.ModularJarArchive.<init>:(Ljava/lang/String;Ljava/nio/file/Path;)V
            astore 3 /* modularJarArchive */
        start local 3 // jdk.tools.jlink.internal.ModularJarArchive modularJarArchive
         4: .line 737
            aload 3 /* modularJarArchive */
            invokevirtual jdk.tools.jlink.internal.ModularJarArchive.entries:()Ljava/util/stream/Stream;
            invokedynamic test()Ljava/util/function/Predicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Z
                  jdk/tools/jlink/internal/JlinkTask$ImageHelper.lambda$1(Ljdk/tools/jlink/internal/Archive$Entry;)Z (6)
                  (Ljdk/tools/jlink/internal/Archive$Entry;)Z
            invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
            astore 4 /* signatures */
        start local 4 // java.util.stream.Stream signatures
         5: .line 749
            aload 4 /* signatures */
            invokeinterface java.util.stream.Stream.count:()J
            lconst_0
            lcmp
            ifeq 10
         6: .line 750
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.JlinkTask$ImageHelper.ignoreSigning:Z
            ifeq 9
         7: .line 751
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            getstatic jdk.tools.jlink.internal.JlinkTask.taskHelper:Ljdk/tools/jlink/internal/TaskHelper;
            ldc "warn.signing"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 2 /* path */
            aastore
            invokevirtual jdk.tools.jlink.internal.TaskHelper.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
         8: .line 752
            goto 10
         9: .line 753
      StackMap locals: jdk.tools.jlink.internal.ModularJarArchive java.util.stream.Stream
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            getstatic jdk.tools.jlink.internal.JlinkTask.taskHelper:Ljdk/tools/jlink/internal/TaskHelper;
            ldc "err.signing"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 2 /* path */
            aastore
            invokevirtual jdk.tools.jlink.internal.TaskHelper.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        10: .line 757
      StackMap locals:
      StackMap stack:
            aload 3 /* modularJarArchive */
            areturn
        end local 4 // java.util.stream.Stream signatures
        end local 3 // jdk.tools.jlink.internal.ModularJarArchive modularJarArchive
        11: .line 758
      StackMap locals:
      StackMap stack:
            aload 2 /* path */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 13
        12: .line 759
            new jdk.tools.jlink.internal.DirArchive
            dup
            aload 2 /* path */
            invokespecial jdk.tools.jlink.internal.DirArchive.<init>:(Ljava/nio/file/Path;)V
            areturn
        13: .line 761
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
        14: .line 762
            getstatic jdk.tools.jlink.internal.JlinkTask.taskHelper:Ljdk/tools/jlink/internal/TaskHelper;
            ldc "err.not.modular.format"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* module */
            aastore
            dup
            iconst_1
            aload 2 /* path */
            aastore
            invokevirtual jdk.tools.jlink.internal.TaskHelper.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
        15: .line 761
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.nio.file.Path path
        end local 1 // java.lang.String module
        end local 0 // jdk.tools.jlink.internal.JlinkTask$ImageHelper this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   16     0               this  Ljdk/tools/jlink/internal/JlinkTask$ImageHelper;
            0   16     1             module  Ljava/lang/String;
            0   16     2               path  Ljava/nio/file/Path;
            4   11     3  modularJarArchive  Ljdk/tools/jlink/internal/ModularJarArchive;
            5   11     4         signatures  Ljava/util/stream/Stream<Ljdk/tools/jlink/internal/Archive$Entry;>;
    MethodParameters:
        Name  Flags
      module  
      path    

  public jdk.tools.jlink.internal.ExecutableImage retrieve(jdk.tools.jlink.internal.ImagePluginStack);
    descriptor: (Ljdk/tools/jlink/internal/ImagePluginStack;)Ljdk/tools/jlink/internal/ExecutableImage;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=7, args_size=2
        start local 0 // jdk.tools.jlink.internal.JlinkTask$ImageHelper this
        start local 1 // jdk.tools.jlink.internal.ImagePluginStack stack
         0: .line 768
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.JlinkTask$ImageHelper.archives:Ljava/util/Set;
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.JlinkTask$ImageHelper.order:Ljava/nio/ByteOrder;
            aload 1 /* stack */
            invokestatic jdk.tools.jlink.internal.ImageFileCreator.create:(Ljava/util/Set;Ljava/nio/ByteOrder;Ljdk/tools/jlink/internal/ImagePluginStack;)Ljdk/tools/jlink/internal/ExecutableImage;
            astore 2 /* image */
        start local 2 // jdk.tools.jlink.internal.ExecutableImage image
         1: .line 769
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.JlinkTask$ImageHelper.packagedModulesPath:Ljava/nio/file/Path;
            ifnull 9
         2: .line 771
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.JlinkTask$ImageHelper.packagedModulesPath:Ljava/nio/file/Path;
            iconst_0
            anewarray java.nio.file.attribute.FileAttribute
            invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
            pop
         3: .line 772
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.JlinkTask$ImageHelper.archives:Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 4
            goto 8
      StackMap locals: jdk.tools.jlink.internal.JlinkTask$ImageHelper jdk.tools.jlink.internal.ImagePluginStack jdk.tools.jlink.internal.ExecutableImage top java.util.Iterator
      StackMap stack:
         4: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.tools.jlink.internal.Archive
            astore 3 /* a */
        start local 3 // jdk.tools.jlink.internal.Archive a
         5: .line 773
            aload 3 /* a */
            invokeinterface jdk.tools.jlink.internal.Archive.getPath:()Ljava/nio/file/Path;
            astore 5 /* file */
        start local 5 // java.nio.file.Path file
         6: .line 774
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.JlinkTask$ImageHelper.packagedModulesPath:Ljava/nio/file/Path;
            aload 5 /* file */
            invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
            astore 6 /* dest */
        start local 6 // java.nio.file.Path dest
         7: .line 775
            aload 5 /* file */
            aload 6 /* dest */
            iconst_0
            anewarray java.nio.file.CopyOption
            invokestatic java.nio.file.Files.copy:(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
            pop
        end local 6 // java.nio.file.Path dest
        end local 5 // java.nio.file.Path file
        end local 3 // jdk.tools.jlink.internal.Archive a
         8: .line 772
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         9: .line 778
      StackMap locals: jdk.tools.jlink.internal.JlinkTask$ImageHelper jdk.tools.jlink.internal.ImagePluginStack jdk.tools.jlink.internal.ExecutableImage
      StackMap stack:
            aload 2 /* image */
            areturn
        end local 2 // jdk.tools.jlink.internal.ExecutableImage image
        end local 1 // jdk.tools.jlink.internal.ImagePluginStack stack
        end local 0 // jdk.tools.jlink.internal.JlinkTask$ImageHelper this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   10     0   this  Ljdk/tools/jlink/internal/JlinkTask$ImageHelper;
            0   10     1  stack  Ljdk/tools/jlink/internal/ImagePluginStack;
            1   10     2  image  Ljdk/tools/jlink/internal/ExecutableImage;
            5    8     3      a  Ljdk/tools/jlink/internal/Archive;
            6    8     5   file  Ljava/nio/file/Path;
            7    8     6   dest  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      stack  

  private jdk.tools.jlink.internal.Archive lambda$0(java.util.Map$Entry);
    descriptor: (Ljava/util/Map$Entry;)Ljdk/tools/jlink/internal/Archive;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.tools.jlink.internal.JlinkTask$ImageHelper this
        start local 1 // java.util.Map$Entry e
         0: .line 727
            aload 0 /* this */
            aload 1 /* e */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast java.lang.String
            aload 1 /* e */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.nio.file.Path
            invokevirtual jdk.tools.jlink.internal.JlinkTask$ImageHelper.newArchive:(Ljava/lang/String;Ljava/nio/file/Path;)Ljdk/tools/jlink/internal/Archive;
            areturn
        end local 1 // java.util.Map$Entry e
        end local 0 // jdk.tools.jlink.internal.JlinkTask$ImageHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jlink/internal/JlinkTask$ImageHelper;
            0    1     1     e  Ljava/util/Map$Entry<Ljava/lang/String;Ljava/nio/file/Path;>;

  private static boolean lambda$1(jdk.tools.jlink.internal.Archive$Entry);
    descriptor: (Ljdk/tools/jlink/internal/Archive$Entry;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // jdk.tools.jlink.internal.Archive$Entry entry
         0: .line 738
            aload 0 /* entry */
            invokevirtual jdk.tools.jlink.internal.Archive$Entry.name:()Ljava/lang/String;
            getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
            invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
            astore 1 /* name */
        start local 1 // java.lang.String name
         1: .line 740
            aload 1 /* name */
            ldc "META-INF/"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 8
            aload 1 /* name */
            bipush 47
            bipush 9
            invokevirtual java.lang.String.indexOf:(II)I
            iconst_m1
            if_icmpne 8
         2: .line 741
            aload 1 /* name */
            ldc ".SF"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifne 7
         3: .line 742
            aload 1 /* name */
            ldc ".DSA"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifne 7
         4: .line 743
            aload 1 /* name */
            ldc ".RSA"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifne 7
         5: .line 744
            aload 1 /* name */
            ldc ".EC"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifne 7
         6: .line 745
            aload 1 /* name */
            ldc "META-INF/SIG-"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 8
         7: .line 740
      StackMap locals: java.lang.String
      StackMap stack:
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         8: iconst_0
            ireturn
        end local 1 // java.lang.String name
        end local 0 // jdk.tools.jlink.internal.Archive$Entry entry
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    9     0  entry  Ljdk/tools/jlink/internal/Archive$Entry;
            1    9     1   name  Ljava/lang/String;
}
SourceFile: "JlinkTask.java"
NestHost: jdk.tools.jlink.internal.JlinkTask
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Entry = java.util.Map$Entry of java.util.Map
  public abstract Entry = jdk.tools.jlink.internal.Archive$Entry of jdk.tools.jlink.internal.Archive
  public abstract ImageProvider = jdk.tools.jlink.internal.ImagePluginStack$ImageProvider of jdk.tools.jlink.internal.ImagePluginStack
  private ImageHelper = jdk.tools.jlink.internal.JlinkTask$ImageHelper of jdk.tools.jlink.internal.JlinkTask