public final class jdk.tools.jlink.internal.Jlink
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.tools.jlink.internal.Jlink
  super_class: java.lang.Object
{
  public static jdk.tools.jlink.plugin.Plugin newPlugin(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.lang.ModuleLayer);
    descriptor: (Ljava/lang/String;Ljava/util/Map;Ljava/lang/ModuleLayer;)Ljdk/tools/jlink/plugin/Plugin;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // java.lang.String name
        start local 1 // java.util.Map configuration
        start local 2 // java.lang.ModuleLayer pluginsLayer
         0: .line 58
            aload 0 /* name */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 59
            aload 1 /* configuration */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 60
            aload 2 /* pluginsLayer */
            ifnonnull 3
            invokestatic java.lang.ModuleLayer.boot:()Ljava/lang/ModuleLayer;
            goto 4
      StackMap locals:
      StackMap stack:
         3: aload 2 /* pluginsLayer */
      StackMap locals:
      StackMap stack: java.lang.ModuleLayer
         4: astore 2 /* pluginsLayer */
         5: .line 61
            aload 1 /* configuration */
            aload 0 /* name */
            aload 2 /* pluginsLayer */
            invokestatic jdk.tools.jlink.internal.PluginRepository.newPlugin:(Ljava/util/Map;Ljava/lang/String;Ljava/lang/ModuleLayer;)Ljdk/tools/jlink/plugin/Plugin;
            areturn
        end local 2 // java.lang.ModuleLayer pluginsLayer
        end local 1 // java.util.Map configuration
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    6     0           name  Ljava/lang/String;
            0    6     1  configuration  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
            0    6     2   pluginsLayer  Ljava/lang/ModuleLayer;
    Signature: (Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/lang/ModuleLayer;)Ljdk/tools/jlink/plugin/Plugin;
    MethodParameters:
               Name  Flags
      name           
      configuration  
      pluginsLayer   

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // jdk.tools.jlink.internal.Jlink this
         0: .line 287
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 288
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            ifnull 4
         2: .line 289
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
         3: .line 290
            new jdk.tools.jlink.internal.JlinkPermission
            dup
            ldc "jlink"
            invokespecial jdk.tools.jlink.internal.JlinkPermission.<init>:(Ljava/lang/String;)V
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
         4: .line 292
      StackMap locals: jdk.tools.jlink.internal.Jlink
      StackMap stack:
            return
        end local 0 // jdk.tools.jlink.internal.Jlink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/tools/jlink/internal/Jlink;

  public void build(jdk.tools.jlink.internal.Jlink$JlinkConfiguration);
    descriptor: (Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // jdk.tools.jlink.internal.Jlink this
        start local 1 // jdk.tools.jlink.internal.Jlink$JlinkConfiguration config
         0: .line 301
            aload 0 /* this */
            aload 1 /* config */
            aconst_null
            invokevirtual jdk.tools.jlink.internal.Jlink.build:(Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;)V
         1: .line 302
            return
        end local 1 // jdk.tools.jlink.internal.Jlink$JlinkConfiguration config
        end local 0 // jdk.tools.jlink.internal.Jlink this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Ljdk/tools/jlink/internal/Jlink;
            0    2     1  config  Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
    MethodParameters:
        Name  Flags
      config  

  public void build(jdk.tools.jlink.internal.Jlink$JlinkConfiguration, jdk.tools.jlink.internal.Jlink$PluginsConfiguration);
    descriptor: (Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // jdk.tools.jlink.internal.Jlink this
        start local 1 // jdk.tools.jlink.internal.Jlink$JlinkConfiguration config
        start local 2 // jdk.tools.jlink.internal.Jlink$PluginsConfiguration pluginsConfig
         0: .line 312
            aload 1 /* config */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 313
            aload 2 /* pluginsConfig */
            ifnonnull 3
         2: .line 314
            new jdk.tools.jlink.internal.Jlink$PluginsConfiguration
            dup
            invokespecial jdk.tools.jlink.internal.Jlink$PluginsConfiguration.<init>:()V
            astore 2 /* pluginsConfig */
         3: .line 318
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 2 /* pluginsConfig */
            invokevirtual jdk.tools.jlink.internal.Jlink.addAutoEnabledPlugins:(Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;)Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;
            astore 2 /* pluginsConfig */
         4: .line 321
            aload 1 /* config */
            aload 2 /* pluginsConfig */
            invokestatic jdk.tools.jlink.internal.JlinkTask.createImage:(Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;)V
         5: .line 322
            goto 8
      StackMap locals:
      StackMap stack: java.lang.Exception
         6: astore 3 /* ex */
        start local 3 // java.lang.Exception ex
         7: .line 323
            new jdk.tools.jlink.plugin.PluginException
            dup
            aload 3 /* ex */
            invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.lang.Exception ex
         8: .line 325
      StackMap locals:
      StackMap stack:
            return
        end local 2 // jdk.tools.jlink.internal.Jlink$PluginsConfiguration pluginsConfig
        end local 1 // jdk.tools.jlink.internal.Jlink$JlinkConfiguration config
        end local 0 // jdk.tools.jlink.internal.Jlink this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    9     0           this  Ljdk/tools/jlink/internal/Jlink;
            0    9     1         config  Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
            0    9     2  pluginsConfig  Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;
            7    8     3             ex  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           4     5       6  Class java.lang.Exception
    MethodParameters:
               Name  Flags
      config         
      pluginsConfig  

  private jdk.tools.jlink.internal.Jlink$PluginsConfiguration addAutoEnabledPlugins(jdk.tools.jlink.internal.Jlink$PluginsConfiguration);
    descriptor: (Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;)Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // jdk.tools.jlink.internal.Jlink this
        start local 1 // jdk.tools.jlink.internal.Jlink$PluginsConfiguration pluginsConfig
         0: .line 328
            new java.util.ArrayList
            dup
            aload 1 /* pluginsConfig */
            invokevirtual jdk.tools.jlink.internal.Jlink$PluginsConfiguration.getPlugins:()Ljava/util/List;
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            astore 2 /* plugins */
        start local 2 // java.util.List plugins
         1: .line 329
            invokestatic java.lang.ModuleLayer.boot:()Ljava/lang/ModuleLayer;
            invokestatic jdk.tools.jlink.internal.PluginRepository.getPlugins:(Ljava/lang/ModuleLayer;)Ljava/util/List;
            astore 3 /* bootPlugins */
        start local 3 // java.util.List bootPlugins
         2: .line 330
            aload 3 /* bootPlugins */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 13
      StackMap locals: jdk.tools.jlink.internal.Jlink jdk.tools.jlink.internal.Jlink$PluginsConfiguration java.util.List java.util.List top java.util.Iterator
      StackMap stack:
         3: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.tools.jlink.plugin.Plugin
            astore 4 /* bp */
        start local 4 // jdk.tools.jlink.plugin.Plugin bp
         4: .line 331
            aload 4 /* bp */
            invokestatic jdk.tools.jlink.internal.Utils.isAutoEnabled:(Ljdk/tools/jlink/plugin/Plugin;)Z
            ifeq 13
         5: .line 333
            aload 4 /* bp */
            invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
            invokeinterface jdk.tools.jlink.plugin.Plugin.configure:(Ljava/util/Map;)V
         6: .line 334
            goto 12
      StackMap locals: jdk.tools.jlink.internal.Jlink jdk.tools.jlink.internal.Jlink$PluginsConfiguration java.util.List java.util.List jdk.tools.jlink.plugin.Plugin java.util.Iterator
      StackMap stack: java.lang.IllegalArgumentException
         7: astore 6 /* e */
        start local 6 // java.lang.IllegalArgumentException e
         8: .line 335
            getstatic jdk.tools.jlink.internal.JlinkTask.DEBUG:Z
            ifeq 11
         9: .line 336
            getstatic java.lang.System.err:Ljava/io/PrintStream;
            new java.lang.StringBuilder
            dup
            ldc "Plugin "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 4 /* bp */
            invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " threw exception with config: {}"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
        10: .line 337
            aload 6 /* e */
            invokevirtual java.lang.IllegalArgumentException.printStackTrace:()V
        11: .line 339
      StackMap locals: java.lang.IllegalArgumentException
      StackMap stack:
            aload 6 /* e */
            athrow
        end local 6 // java.lang.IllegalArgumentException e
        12: .line 341
      StackMap locals:
      StackMap stack:
            aload 2 /* plugins */
            aload 4 /* bp */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 4 // jdk.tools.jlink.plugin.Plugin bp
        13: .line 330
      StackMap locals: jdk.tools.jlink.internal.Jlink jdk.tools.jlink.internal.Jlink$PluginsConfiguration java.util.List java.util.List top java.util.Iterator
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
        14: .line 344
            new jdk.tools.jlink.internal.Jlink$PluginsConfiguration
            dup
            aload 2 /* plugins */
            aload 1 /* pluginsConfig */
            invokevirtual jdk.tools.jlink.internal.Jlink$PluginsConfiguration.getImageBuilder:()Ljdk/tools/jlink/builder/ImageBuilder;
        15: .line 345
            aload 1 /* pluginsConfig */
            invokevirtual jdk.tools.jlink.internal.Jlink$PluginsConfiguration.getLastSorterPluginName:()Ljava/lang/String;
        16: .line 344
            invokespecial jdk.tools.jlink.internal.Jlink$PluginsConfiguration.<init>:(Ljava/util/List;Ljdk/tools/jlink/builder/ImageBuilder;Ljava/lang/String;)V
            areturn
        end local 3 // java.util.List bootPlugins
        end local 2 // java.util.List plugins
        end local 1 // jdk.tools.jlink.internal.Jlink$PluginsConfiguration pluginsConfig
        end local 0 // jdk.tools.jlink.internal.Jlink this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   17     0           this  Ljdk/tools/jlink/internal/Jlink;
            0   17     1  pluginsConfig  Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;
            1   17     2        plugins  Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
            2   17     3    bootPlugins  Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
            4   13     4             bp  Ljdk/tools/jlink/plugin/Plugin;
            8   12     6              e  Ljava/lang/IllegalArgumentException;
      Exception table:
        from    to  target  type
           5     6       7  Class java.lang.IllegalArgumentException
    MethodParameters:
               Name  Flags
      pluginsConfig  

  public void postProcess(jdk.tools.jlink.internal.ExecutableImage, java.util.List<jdk.tools.jlink.plugin.Plugin>);
    descriptor: (Ljdk/tools/jlink/internal/ExecutableImage;Ljava/util/List;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // jdk.tools.jlink.internal.Jlink this
        start local 1 // jdk.tools.jlink.internal.ExecutableImage image
        start local 2 // java.util.List plugins
         0: .line 355
            aload 1 /* image */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 356
            aload 2 /* plugins */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 358
            aload 1 /* image */
            aload 2 /* plugins */
            invokestatic jdk.tools.jlink.internal.JlinkTask.postProcessImage:(Ljdk/tools/jlink/internal/ExecutableImage;Ljava/util/List;)V
         3: .line 359
            goto 6
      StackMap locals:
      StackMap stack: java.lang.Exception
         4: astore 3 /* ex */
        start local 3 // java.lang.Exception ex
         5: .line 360
            new jdk.tools.jlink.plugin.PluginException
            dup
            aload 3 /* ex */
            invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.lang.Exception ex
         6: .line 362
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.List plugins
        end local 1 // jdk.tools.jlink.internal.ExecutableImage image
        end local 0 // jdk.tools.jlink.internal.Jlink this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0     this  Ljdk/tools/jlink/internal/Jlink;
            0    7     1    image  Ljdk/tools/jlink/internal/ExecutableImage;
            0    7     2  plugins  Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
            5    6     3       ex  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           2     3       4  Class java.lang.Exception
    Signature: (Ljdk/tools/jlink/internal/ExecutableImage;Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;)V
    MethodParameters:
         Name  Flags
      image    
      plugins  
}
SourceFile: "Jlink.java"
NestMembers:
  jdk.tools.jlink.internal.Jlink$JlinkConfiguration  jdk.tools.jlink.internal.Jlink$PluginsConfiguration
InnerClasses:
  public final JlinkConfiguration = jdk.tools.jlink.internal.Jlink$JlinkConfiguration of jdk.tools.jlink.internal.Jlink
  public final PluginsConfiguration = jdk.tools.jlink.internal.Jlink$PluginsConfiguration of jdk.tools.jlink.internal.Jlink