final class jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings implements jdk.tools.jlink.internal.StringTable
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings
  super_class: java.lang.Object
{
  private int currentid;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

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

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

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

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings this
         0: .line 128
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 130
            aload 0 /* this */
            iconst_0
            putfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.currentid:I
         2: .line 131
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.stringsUsage:Ljava/util/Map;
         3: .line 132
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.stringsMap:Ljava/util/Map;
         4: .line 133
            aload 0 /* this */
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            putfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.reverseMap:Ljava/util/Map;
         5: .line 128
            return
        end local 0 // jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/tools/jlink/internal/ImagePluginStack$PreVisitStrings;

  public int addString(java.lang.String);
    descriptor: (Ljava/lang/String;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings this
        start local 1 // java.lang.String str
         0: .line 137
            aload 1 /* str */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 138
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.stringsUsage:Ljava/util/Map;
            aload 1 /* str */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Integer
            astore 2 /* count */
        start local 2 // java.lang.Integer count
         2: .line 139
            aload 2 /* count */
            ifnonnull 4
         3: .line 140
            iconst_0
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            astore 2 /* count */
         4: .line 142
      StackMap locals: java.lang.Integer
      StackMap stack:
            aload 2 /* count */
            invokevirtual java.lang.Integer.intValue:()I
            iconst_1
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            astore 2 /* count */
         5: .line 143
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.stringsUsage:Ljava/util/Map;
            aload 1 /* str */
            aload 2 /* count */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         6: .line 144
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.stringsMap:Ljava/util/Map;
            aload 1 /* str */
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.Integer
            astore 3 /* id */
        start local 3 // java.lang.Integer id
         7: .line 145
            aload 3 /* id */
            ifnonnull 12
         8: .line 146
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.currentid:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            astore 3 /* id */
         9: .line 147
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.stringsMap:Ljava/util/Map;
            aload 1 /* str */
            aload 3 /* id */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        10: .line 148
            aload 0 /* this */
            dup
            getfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.currentid:I
            iconst_1
            iadd
            putfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.currentid:I
        11: .line 149
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.reverseMap:Ljava/util/Map;
            aload 3 /* id */
            aload 1 /* str */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        12: .line 152
      StackMap locals: java.lang.Integer
      StackMap stack:
            aload 3 /* id */
            invokevirtual java.lang.Integer.intValue:()I
            ireturn
        end local 3 // java.lang.Integer id
        end local 2 // java.lang.Integer count
        end local 1 // java.lang.String str
        end local 0 // jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   13     0   this  Ljdk/tools/jlink/internal/ImagePluginStack$PreVisitStrings;
            0   13     1    str  Ljava/lang/String;
            2   13     2  count  Ljava/lang/Integer;
            7   13     3     id  Ljava/lang/Integer;
    MethodParameters:
      Name  Flags
      str   

  private java.util.List<java.lang.String> getSortedStrings();
    descriptor: ()Ljava/util/List;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings this
         0: .line 157
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.stringsUsage:Ljava/util/Map;
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
         1: .line 156
            astore 1 /* stream */
        start local 1 // java.util.stream.Stream stream
         2: .line 159
            aload 1 /* stream */
            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/ImagePluginStack$PreVisitStrings.lambda$0(Ljava/util/Map$Entry;)Ljava/lang/Integer; (6)
                  (Ljava/util/Map$Entry;)Ljava/lang/Integer;
         3: .line 160
            invokestatic java.util.Comparator.reverseOrder:()Ljava/util/Comparator;
         4: .line 159
            invokestatic java.util.Comparator.comparing:(Ljava/util/function/Function;Ljava/util/Comparator;)Ljava/util/Comparator;
            invokeinterface java.util.stream.Stream.sorted:(Ljava/util/Comparator;)Ljava/util/stream/Stream;
         5: .line 160
            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/ImagePluginStack$PreVisitStrings.lambda$1(Ljava/util/Map$Entry;)Z (6)
                  (Ljava/util/Map$Entry;)Z
            invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
         6: .line 162
            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;
                  java/util/Map$Entry.getKey()Ljava/lang/Object; (9 itf)
                  (Ljava/util/Map$Entry;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         7: .line 163
            invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.util.List
         8: .line 159
            astore 2 /* result */
        start local 2 // java.util.List result
         9: .line 164
            aload 2 /* result */
            areturn
        end local 2 // java.util.List result
        end local 1 // java.util.stream.Stream stream
        end local 0 // jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Ljdk/tools/jlink/internal/ImagePluginStack$PreVisitStrings;
            2   10     1  stream  Ljava/util/stream/Stream<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Integer;>;>;
            9   10     2  result  Ljava/util/List<Ljava/lang/String;>;
    Signature: ()Ljava/util/List<Ljava/lang/String;>;

  public java.lang.String getString(int);
    descriptor: (I)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings this
        start local 1 // int id
         0: .line 169
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings.reverseMap:Ljava/util/Map;
            iload 1 /* id */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            areturn
        end local 1 // int id
        end local 0 // jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jlink/internal/ImagePluginStack$PreVisitStrings;
            0    1     1    id  I
    MethodParameters:
      Name  Flags
      id    

  private static java.lang.Integer lambda$0(java.util.Map$Entry);
    descriptor: (Ljava/util/Map$Entry;)Ljava/lang/Integer;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.util.Map$Entry e
         0: .line 159
            aload 0 /* e */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.lang.Integer
            areturn
        end local 0 // java.util.Map$Entry e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     e  Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Integer;>;

  private static boolean lambda$1(java.util.Map$Entry);
    descriptor: (Ljava/util/Map$Entry;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.Map$Entry e
         0: .line 161
            aload 0 /* e */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            iconst_1
            if_icmple 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // java.util.Map$Entry e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0     e  Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Integer;>;
}
SourceFile: "ImagePluginStack.java"
NestHost: jdk.tools.jlink.internal.ImagePluginStack
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
  private final PreVisitStrings = jdk.tools.jlink.internal.ImagePluginStack$PreVisitStrings of jdk.tools.jlink.internal.ImagePluginStack