final class jdk.tools.jlink.internal.ImagePluginStack$CheckOrderResourcePoolManager extends jdk.tools.jlink.internal.ResourcePoolManager
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.tools.jlink.internal.ImagePluginStack$CheckOrderResourcePoolManager
  super_class: jdk.tools.jlink.internal.ResourcePoolManager
{
  private final java.util.List<jdk.tools.jlink.plugin.ResourcePoolEntry> orderedList;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljdk/tools/jlink/plugin/ResourcePoolEntry;>;

  private int currentIndex;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  public void <init>(java.nio.ByteOrder, java.util.List<jdk.tools.jlink.plugin.ResourcePoolEntry>, jdk.tools.jlink.internal.StringTable);
    descriptor: (Ljava/nio/ByteOrder;Ljava/util/List;Ljdk/tools/jlink/internal/StringTable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=4
        start local 0 // jdk.tools.jlink.internal.ImagePluginStack$CheckOrderResourcePoolManager this
        start local 1 // java.nio.ByteOrder order
        start local 2 // java.util.List orderedList
        start local 3 // jdk.tools.jlink.internal.StringTable table
         0: .line 96
            aload 0 /* this */
            aload 1 /* order */
            aload 3 /* table */
            invokespecial jdk.tools.jlink.internal.ResourcePoolManager.<init>:(Ljava/nio/ByteOrder;Ljdk/tools/jlink/internal/StringTable;)V
         1: .line 97
            aload 0 /* this */
            aload 2 /* orderedList */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.List
            putfield jdk.tools.jlink.internal.ImagePluginStack$CheckOrderResourcePoolManager.orderedList:Ljava/util/List;
         2: .line 98
            return
        end local 3 // jdk.tools.jlink.internal.StringTable table
        end local 2 // java.util.List orderedList
        end local 1 // java.nio.ByteOrder order
        end local 0 // jdk.tools.jlink.internal.ImagePluginStack$CheckOrderResourcePoolManager this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0         this  Ljdk/tools/jlink/internal/ImagePluginStack$CheckOrderResourcePoolManager;
            0    3     1        order  Ljava/nio/ByteOrder;
            0    3     2  orderedList  Ljava/util/List<Ljdk/tools/jlink/plugin/ResourcePoolEntry;>;
            0    3     3        table  Ljdk/tools/jlink/internal/StringTable;
    Signature: (Ljava/nio/ByteOrder;Ljava/util/List<Ljdk/tools/jlink/plugin/ResourcePoolEntry;>;Ljdk/tools/jlink/internal/StringTable;)V
    MethodParameters:
             Name  Flags
      order        
      orderedList  
      table        

  public void add(jdk.tools.jlink.plugin.ResourcePoolEntry);
    descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.tools.jlink.internal.ImagePluginStack$CheckOrderResourcePoolManager this
        start local 1 // jdk.tools.jlink.plugin.ResourcePoolEntry resource
         0: .line 107
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImagePluginStack$CheckOrderResourcePoolManager.orderedList:Ljava/util/List;
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImagePluginStack$CheckOrderResourcePoolManager.currentIndex:I
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast jdk.tools.jlink.plugin.ResourcePoolEntry
            astore 2 /* ordered */
        start local 2 // jdk.tools.jlink.plugin.ResourcePoolEntry ordered
         1: .line 108
            aload 1 /* resource */
            aload 2 /* ordered */
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifne 3
         2: .line 109
            new jdk.tools.jlink.plugin.PluginException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Resource "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* resource */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " not in the right order"
            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
         3: .line 111
      StackMap locals: jdk.tools.jlink.plugin.ResourcePoolEntry
      StackMap stack:
            aload 0 /* this */
            aload 1 /* resource */
            invokespecial jdk.tools.jlink.internal.ResourcePoolManager.add:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
         4: .line 112
            aload 0 /* this */
            dup
            getfield jdk.tools.jlink.internal.ImagePluginStack$CheckOrderResourcePoolManager.currentIndex:I
            iconst_1
            iadd
            putfield jdk.tools.jlink.internal.ImagePluginStack$CheckOrderResourcePoolManager.currentIndex:I
         5: .line 113
            return
        end local 2 // jdk.tools.jlink.plugin.ResourcePoolEntry ordered
        end local 1 // jdk.tools.jlink.plugin.ResourcePoolEntry resource
        end local 0 // jdk.tools.jlink.internal.ImagePluginStack$CheckOrderResourcePoolManager this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    6     0      this  Ljdk/tools/jlink/internal/ImagePluginStack$CheckOrderResourcePoolManager;
            0    6     1  resource  Ljdk/tools/jlink/plugin/ResourcePoolEntry;
            1    6     2   ordered  Ljdk/tools/jlink/plugin/ResourcePoolEntry;
    MethodParameters:
          Name  Flags
      resource  
}
SourceFile: "ImagePluginStack.java"
NestHost: jdk.tools.jlink.internal.ImagePluginStack
InnerClasses:
  private final CheckOrderResourcePoolManager = jdk.tools.jlink.internal.ImagePluginStack$CheckOrderResourcePoolManager of jdk.tools.jlink.internal.ImagePluginStack