final class jdk.nashorn.tools.jjs.HistoryObject extends jdk.nashorn.api.scripting.AbstractJSObject
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.nashorn.tools.jjs.HistoryObject
  super_class: jdk.nashorn.api.scripting.AbstractJSObject
{
  private static final java.util.Set<java.lang.String> props;
    descriptor: Ljava/util/Set;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/Set<Ljava/lang/String;>;

  private final jdk.internal.jline.console.history.History hist;
    descriptor: Ljdk/internal/jline/console/history/History;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.io.PrintWriter err;
    descriptor: Ljava/io/PrintWriter;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 52
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 0 /* s */
        start local 0 // java.util.HashSet s
         1: .line 53
            aload 0 /* s */
            ldc "clear"
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
         2: .line 54
            aload 0 /* s */
            ldc "forEach"
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
         3: .line 55
            aload 0 /* s */
            ldc "load"
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
         4: .line 56
            aload 0 /* s */
            ldc "print"
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
         5: .line 57
            aload 0 /* s */
            ldc "save"
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
         6: .line 58
            aload 0 /* s */
            ldc "size"
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
         7: .line 59
            aload 0 /* s */
            ldc "toString"
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
         8: .line 60
            aload 0 /* s */
            invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
            putstatic jdk.nashorn.tools.jjs.HistoryObject.props:Ljava/util/Set;
        end local 0 // java.util.HashSet s
         9: .line 61
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    9     0     s  Ljava/util/HashSet<Ljava/lang/String;>;

  void <init>(jdk.internal.jline.console.history.History, java.io.PrintWriter, java.util.function.Consumer<java.lang.String>);
    descriptor: (Ljdk/internal/jline/console/history/History;Ljava/io/PrintWriter;Ljava/util/function/Consumer;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // jdk.nashorn.tools.jjs.HistoryObject this
        start local 1 // jdk.internal.jline.console.history.History hist
        start local 2 // java.io.PrintWriter err
        start local 3 // java.util.function.Consumer evaluator
         0: .line 67
            aload 0 /* this */
            invokespecial jdk.nashorn.api.scripting.AbstractJSObject.<init>:()V
         1: .line 69
            aload 0 /* this */
            aload 1 /* hist */
            putfield jdk.nashorn.tools.jjs.HistoryObject.hist:Ljdk/internal/jline/console/history/History;
         2: .line 70
            aload 0 /* this */
            aload 2 /* err */
            putfield jdk.nashorn.tools.jjs.HistoryObject.err:Ljava/io/PrintWriter;
         3: .line 71
            aload 0 /* this */
            aload 3 /* evaluator */
            putfield jdk.nashorn.tools.jjs.HistoryObject.evaluator:Ljava/util/function/Consumer;
         4: .line 72
            return
        end local 3 // java.util.function.Consumer evaluator
        end local 2 // java.io.PrintWriter err
        end local 1 // jdk.internal.jline.console.history.History hist
        end local 0 // jdk.nashorn.tools.jjs.HistoryObject this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Ljdk/nashorn/tools/jjs/HistoryObject;
            0    5     1       hist  Ljdk/internal/jline/console/history/History;
            0    5     2        err  Ljava/io/PrintWriter;
            0    5     3  evaluator  Ljava/util/function/Consumer<Ljava/lang/String;>;
    Signature: (Ljdk/internal/jline/console/history/History;Ljava/io/PrintWriter;Ljava/util/function/Consumer<Ljava/lang/String;>;)V
    MethodParameters:
           Name  Flags
      hist       final
      err        final
      evaluator  final

  public boolean isFunction();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.tools.jjs.HistoryObject this
         0: .line 76
            iconst_1
            ireturn
        end local 0 // jdk.nashorn.tools.jjs.HistoryObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/tools/jjs/HistoryObject;

  public java.lang.Object call(java.lang.Object, java.lang.Object[]);
    descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
    Code:
      stack=4, locals=5, args_size=3
        start local 0 // jdk.nashorn.tools.jjs.HistoryObject this
        start local 1 // java.lang.Object thiz
        start local 2 // java.lang.Object[] args
         0: .line 81
            aload 2 /* args */
            arraylength
            ifle 14
         1: .line 82
            aload 2 /* args */
            iconst_0
            aaload
            invokestatic jdk.nashorn.internal.runtime.JSType.toInteger:(Ljava/lang/Object;)I
            istore 3 /* index */
        start local 3 // int index
         2: .line 83
            iload 3 /* index */
            ifge 5
         3: .line 84
            iload 3 /* index */
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.hist:Ljdk/internal/jline/console/history/History;
            invokeinterface jdk.internal.jline.console.history.History.size:()I
            iconst_1
            isub
            iadd
            istore 3 /* index */
         4: .line 85
            goto 6
         5: .line 86
      StackMap locals: int
      StackMap stack:
            iinc 3 /* index */ -1
         6: .line 89
      StackMap locals:
      StackMap stack:
            iload 3 /* index */
            iflt 12
            iload 3 /* index */
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.hist:Ljdk/internal/jline/console/history/History;
            invokeinterface jdk.internal.jline.console.history.History.size:()I
            iconst_1
            isub
            if_icmpge 12
         7: .line 90
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.hist:Ljdk/internal/jline/console/history/History;
            iload 3 /* index */
            invokeinterface jdk.internal.jline.console.history.History.get:(I)Ljava/lang/CharSequence;
            astore 4 /* src */
        start local 4 // java.lang.CharSequence src
         8: .line 91
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.hist:Ljdk/internal/jline/console/history/History;
            aload 4 /* src */
            invokeinterface jdk.internal.jline.console.history.History.replace:(Ljava/lang/CharSequence;)V
         9: .line 92
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.err:Ljava/io/PrintWriter;
            aload 4 /* src */
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/Object;)V
        10: .line 93
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.evaluator:Ljava/util/function/Consumer;
            aload 4 /* src */
            invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
        end local 4 // java.lang.CharSequence src
        11: .line 94
            goto 14
        12: .line 95
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.hist:Ljdk/internal/jline/console/history/History;
            invokeinterface jdk.internal.jline.console.history.History.removeLast:()Ljava/lang/CharSequence;
            pop
        13: .line 96
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.err:Ljava/io/PrintWriter;
            new java.lang.StringBuilder
            dup
            ldc "no history entry @ "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 3 /* index */
            iconst_1
            iadd
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
        end local 3 // int index
        14: .line 99
      StackMap locals:
      StackMap stack:
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            areturn
        end local 2 // java.lang.Object[] args
        end local 1 // java.lang.Object thiz
        end local 0 // jdk.nashorn.tools.jjs.HistoryObject this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   15     0   this  Ljdk/nashorn/tools/jjs/HistoryObject;
            0   15     1   thiz  Ljava/lang/Object;
            0   15     2   args  [Ljava/lang/Object;
            2   14     3  index  I
            8   11     4    src  Ljava/lang/CharSequence;
    MethodParameters:
      Name  Flags
      thiz  final
      args  final

  public java.lang.Object getMember(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.nashorn.tools.jjs.HistoryObject this
        start local 1 // java.lang.String name
         0: .line 104
            aload 1 /* name */
            dup
            astore 2
            invokevirtual java.lang.String.hashCode:()I
            lookupswitch { // 7
          -1776922004: 1
           -678635926: 2
              3327206: 3
              3522941: 4
              3530753: 5
             94746189: 6
            106934957: 7
              default: 15
          }
      StackMap locals: java.lang.String
      StackMap stack:
         1: aload 2
            ldc "toString"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 14
            goto 15
      StackMap locals:
      StackMap stack:
         2: aload 2
            ldc "forEach"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 9
            goto 15
      StackMap locals:
      StackMap stack:
         3: aload 2
            ldc "load"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 10
            goto 15
      StackMap locals:
      StackMap stack:
         4: aload 2
            ldc "save"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 12
            goto 15
      StackMap locals:
      StackMap stack:
         5: aload 2
            ldc "size"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 13
            goto 15
      StackMap locals:
      StackMap stack:
         6: aload 2
            ldc "clear"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 8
            goto 15
      StackMap locals:
      StackMap stack:
         7: aload 2
            ldc "print"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 11
            goto 15
         8: .line 106
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.hist:Ljdk/internal/jline/console/history/History;
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic run(Ljdk/internal/jline/console/history/History;)Ljava/lang/Runnable;
              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:
                  ()V
                  jdk/internal/jline/console/history/History.clear()V (9 itf)
                  ()V
            areturn
         9: .line 108
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokedynamic apply(Ljdk/nashorn/tools/jjs/HistoryObject;)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/nashorn/tools/jjs/HistoryObject.iterate(Ljdk/nashorn/api/scripting/JSObject;)Ljava/lang/Object; (7)
                  (Ljdk/nashorn/api/scripting/JSObject;)Ljava/lang/Object;
            areturn
        10: .line 110
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokedynamic accept(Ljdk/nashorn/tools/jjs/HistoryObject;)Ljava/util/function/Consumer;
              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;)V
                  jdk/nashorn/tools/jjs/HistoryObject.load(Ljava/lang/Object;)V (7)
                  (Ljava/lang/Object;)V
            areturn
        11: .line 112
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokedynamic run(Ljdk/nashorn/tools/jjs/HistoryObject;)Ljava/lang/Runnable;
              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:
                  ()V
                  jdk/nashorn/tools/jjs/HistoryObject.print()V (7)
                  ()V
            areturn
        12: .line 114
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokedynamic accept(Ljdk/nashorn/tools/jjs/HistoryObject;)Ljava/util/function/Consumer;
              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;)V
                  jdk/nashorn/tools/jjs/HistoryObject.save(Ljava/lang/Object;)V (7)
                  (Ljava/lang/Object;)V
            areturn
        13: .line 116
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.hist:Ljdk/internal/jline/console/history/History;
            invokeinterface jdk.internal.jline.console.history.History.size:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            areturn
        14: .line 118
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokedynamic get(Ljdk/nashorn/tools/jjs/HistoryObject;)Ljava/util/function/Supplier;
              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;
                  jdk/nashorn/tools/jjs/HistoryObject.toString()Ljava/lang/String; (5)
                  ()Ljava/lang/String;
            areturn
        15: .line 120
      StackMap locals:
      StackMap stack:
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            areturn
        end local 1 // java.lang.String name
        end local 0 // jdk.nashorn.tools.jjs.HistoryObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   16     0  this  Ljdk/nashorn/tools/jjs/HistoryObject;
            0   16     1  name  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      name  final

  public  getDefaultValue(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.nashorn.tools.jjs.HistoryObject this
        start local 1 // java.lang.Class hint
         0: .line 125
            aload 1 /* hint */
            ldc Ljava/lang/String;
            if_acmpne 2
         1: .line 126
            aload 0 /* this */
            invokevirtual jdk.nashorn.tools.jjs.HistoryObject.toString:()Ljava/lang/String;
            areturn
         2: .line 128
      StackMap locals:
      StackMap stack:
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            areturn
        end local 1 // java.lang.Class hint
        end local 0 // jdk.nashorn.tools.jjs.HistoryObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/nashorn/tools/jjs/HistoryObject;
            0    3     1  hint  Ljava/lang/Class<*>;
    Signature: (Ljava/lang/Class<*>;)Ljava/lang/Object;
    MethodParameters:
      Name  Flags
      hint  final

  public java.lang.String toString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=1
        start local 0 // jdk.nashorn.tools.jjs.HistoryObject this
         0: .line 133
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 1 /* buf */
        start local 1 // java.lang.StringBuilder buf
         1: .line 134
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.hist:Ljdk/internal/jline/console/history/History;
            invokeinterface jdk.internal.jline.console.history.History.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: jdk.nashorn.tools.jjs.HistoryObject java.lang.StringBuilder top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.internal.jline.console.history.History$Entry
            astore 2 /* e */
        start local 2 // jdk.internal.jline.console.history.History$Entry e
         3: .line 135
            aload 1 /* buf */
            aload 2 /* e */
            invokeinterface jdk.internal.jline.console.history.History$Entry.value:()Ljava/lang/CharSequence;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
            bipush 10
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        end local 2 // jdk.internal.jline.console.history.History$Entry e
         4: .line 134
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 137
            aload 1 /* buf */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 1 // java.lang.StringBuilder buf
        end local 0 // jdk.nashorn.tools.jjs.HistoryObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/nashorn/tools/jjs/HistoryObject;
            1    6     1   buf  Ljava/lang/StringBuilder;
            3    4     2     e  Ljdk/internal/jline/console/history/History$Entry;

  public java.util.Set<java.lang.String> keySet();
    descriptor: ()Ljava/util/Set;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.tools.jjs.HistoryObject this
         0: .line 142
            getstatic jdk.nashorn.tools.jjs.HistoryObject.props:Ljava/util/Set;
            areturn
        end local 0 // jdk.nashorn.tools.jjs.HistoryObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/tools/jjs/HistoryObject;
    Signature: ()Ljava/util/Set<Ljava/lang/String;>;

  private void save(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=8, args_size=2
        start local 0 // jdk.nashorn.tools.jjs.HistoryObject this
        start local 1 // java.lang.Object obj
         0: .line 146
            aload 1 /* obj */
            invokestatic jdk.nashorn.tools.jjs.HistoryObject.getFile:(Ljava/lang/Object;)Ljava/io/File;
            astore 2 /* file */
        start local 2 // java.io.File file
         1: .line 147
            aconst_null
            astore 3
            aconst_null
            astore 4
         2: new java.io.PrintWriter
            dup
            aload 2 /* file */
            invokespecial java.io.PrintWriter.<init>:(Ljava/io/File;)V
            astore 5 /* pw */
        start local 5 // java.io.PrintWriter pw
         3: .line 148
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.hist:Ljdk/internal/jline/console/history/History;
            invokeinterface jdk.internal.jline.console.history.History.iterator:()Ljava/util/Iterator;
            astore 7
            goto 6
      StackMap locals: jdk.nashorn.tools.jjs.HistoryObject java.lang.Object java.io.File java.lang.Throwable java.lang.Throwable java.io.PrintWriter top java.util.Iterator
      StackMap stack:
         4: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.internal.jline.console.history.History$Entry
            astore 6 /* e */
        start local 6 // jdk.internal.jline.console.history.History$Entry e
         5: .line 149
            aload 5 /* pw */
            aload 6 /* e */
            invokeinterface jdk.internal.jline.console.history.History$Entry.value:()Ljava/lang/CharSequence;
            invokevirtual java.io.PrintWriter.println:(Ljava/lang/Object;)V
        end local 6 // jdk.internal.jline.console.history.History$Entry e
         6: .line 148
      StackMap locals:
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
         7: .line 151
            aload 5 /* pw */
            ifnull 15
            aload 5 /* pw */
            invokevirtual java.io.PrintWriter.close:()V
            goto 15
      StackMap locals: jdk.nashorn.tools.jjs.HistoryObject java.lang.Object java.io.File java.lang.Throwable java.lang.Throwable java.io.PrintWriter
      StackMap stack: java.lang.Throwable
         8: astore 3
            aload 5 /* pw */
            ifnull 9
            aload 5 /* pw */
            invokevirtual java.io.PrintWriter.close:()V
        end local 5 // java.io.PrintWriter pw
      StackMap locals:
      StackMap stack:
         9: aload 3
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        10: astore 4
            aload 3
            ifnonnull 11
            aload 4
            astore 3
            goto 12
      StackMap locals:
      StackMap stack:
        11: aload 3
            aload 4
            if_acmpeq 12
            aload 3
            aload 4
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        12: aload 3
            athrow
      StackMap locals: jdk.nashorn.tools.jjs.HistoryObject java.lang.Object java.io.File
      StackMap stack: java.io.IOException
        13: astore 3 /* exp */
        start local 3 // java.io.IOException exp
        14: .line 152
            new java.lang.RuntimeException
            dup
            aload 3 /* exp */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.io.IOException exp
        15: .line 154
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.io.File file
        end local 1 // java.lang.Object obj
        end local 0 // jdk.nashorn.tools.jjs.HistoryObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   16     0  this  Ljdk/nashorn/tools/jjs/HistoryObject;
            0   16     1   obj  Ljava/lang/Object;
            1   16     2  file  Ljava/io/File;
            3    9     5    pw  Ljava/io/PrintWriter;
            5    6     6     e  Ljdk/internal/jline/console/history/History$Entry;
           14   15     3   exp  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           3     7       8  any
           2    10      10  any
           1    13      13  Class java.io.IOException
    MethodParameters:
      Name  Flags
      obj   final

  private void load(java.lang.Object);
    descriptor: (Ljava/lang/Object;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // jdk.nashorn.tools.jjs.HistoryObject this
        start local 1 // java.lang.Object obj
         0: .line 157
            aload 1 /* obj */
            invokestatic jdk.nashorn.tools.jjs.HistoryObject.getFile:(Ljava/lang/Object;)Ljava/io/File;
            astore 2 /* file */
        start local 2 // java.io.File file
         1: .line 158
            aconst_null
            astore 3 /* item */
        start local 3 // java.lang.String item
         2: .line 159
            aconst_null
            astore 4
            aconst_null
            astore 5
         3: new java.io.BufferedReader
            dup
            new java.io.FileReader
            dup
            aload 2 /* file */
            invokespecial java.io.FileReader.<init>:(Ljava/io/File;)V
            invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
            astore 6 /* r */
        start local 6 // java.io.BufferedReader r
         4: .line 160
            goto 6
         5: .line 161
      StackMap locals: jdk.nashorn.tools.jjs.HistoryObject java.lang.Object java.io.File java.lang.String java.lang.Throwable java.lang.Throwable java.io.BufferedReader
      StackMap stack:
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.hist:Ljdk/internal/jline/console/history/History;
            aload 3 /* item */
            invokeinterface jdk.internal.jline.console.history.History.add:(Ljava/lang/CharSequence;)V
         6: .line 160
      StackMap locals:
      StackMap stack:
            aload 6 /* r */
            invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
            dup
            astore 3 /* item */
            ifnonnull 5
         7: .line 163
            aload 6 /* r */
            ifnull 15
            aload 6 /* r */
            invokevirtual java.io.BufferedReader.close:()V
            goto 15
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: astore 4
            aload 6 /* r */
            ifnull 9
            aload 6 /* r */
            invokevirtual java.io.BufferedReader.close:()V
        end local 6 // java.io.BufferedReader r
      StackMap locals:
      StackMap stack:
         9: aload 4
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        10: astore 5
            aload 4
            ifnonnull 11
            aload 5
            astore 4
            goto 12
      StackMap locals:
      StackMap stack:
        11: aload 4
            aload 5
            if_acmpeq 12
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        12: aload 4
            athrow
      StackMap locals: jdk.nashorn.tools.jjs.HistoryObject java.lang.Object java.io.File java.lang.String
      StackMap stack: java.io.IOException
        13: astore 4 /* exp */
        start local 4 // java.io.IOException exp
        14: .line 164
            new java.lang.RuntimeException
            dup
            aload 4 /* exp */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 4 // java.io.IOException exp
        15: .line 166
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.lang.String item
        end local 2 // java.io.File file
        end local 1 // java.lang.Object obj
        end local 0 // jdk.nashorn.tools.jjs.HistoryObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   16     0  this  Ljdk/nashorn/tools/jjs/HistoryObject;
            0   16     1   obj  Ljava/lang/Object;
            1   16     2  file  Ljava/io/File;
            2   16     3  item  Ljava/lang/String;
            4    9     6     r  Ljava/io/BufferedReader;
           14   15     4   exp  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           4     7       8  any
           3    10      10  any
           2    13      13  Class java.io.IOException
    MethodParameters:
      Name  Flags
      obj   final

  private void print();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=3, args_size=1
        start local 0 // jdk.nashorn.tools.jjs.HistoryObject this
         0: .line 169
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.hist:Ljdk/internal/jline/console/history/History;
            invokeinterface jdk.internal.jline.console.history.History.iterator:()Ljava/util/Iterator;
            astore 2
            goto 3
      StackMap locals: jdk.nashorn.tools.jjs.HistoryObject top java.util.Iterator
      StackMap stack:
         1: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.internal.jline.console.history.History$Entry
            astore 1 /* e */
        start local 1 // jdk.internal.jline.console.history.History$Entry e
         2: .line 170
            getstatic java.lang.System.out:Ljava/io/PrintStream;
            ldc "%3d %s\n"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* e */
            invokeinterface jdk.internal.jline.console.history.History$Entry.index:()I
            iconst_1
            iadd
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 1 /* e */
            invokeinterface jdk.internal.jline.console.history.History$Entry.value:()Ljava/lang/CharSequence;
            aastore
            invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
            pop
        end local 1 // jdk.internal.jline.console.history.History$Entry e
         3: .line 169
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         4: .line 172
            return
        end local 0 // jdk.nashorn.tools.jjs.HistoryObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/nashorn/tools/jjs/HistoryObject;
            2    3     1     e  Ljdk/internal/jline/console/history/History$Entry;

  private java.lang.Object iterate(jdk.nashorn.api.scripting.JSObject);
    descriptor: (Ljdk/nashorn/api/scripting/JSObject;)Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=4, args_size=2
        start local 0 // jdk.nashorn.tools.jjs.HistoryObject this
        start local 1 // jdk.nashorn.api.scripting.JSObject func
         0: .line 175
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.HistoryObject.hist:Ljdk/internal/jline/console/history/History;
            invokeinterface jdk.internal.jline.console.history.History.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: jdk.nashorn.tools.jjs.HistoryObject jdk.nashorn.api.scripting.JSObject top java.util.Iterator
      StackMap stack:
         1: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.internal.jline.console.history.History$Entry
            astore 2 /* e */
        start local 2 // jdk.internal.jline.console.history.History$Entry e
         2: .line 176
            aload 1 /* func */
            aload 0 /* this */
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 2 /* e */
            invokeinterface jdk.internal.jline.console.history.History$Entry.value:()Ljava/lang/CharSequence;
            invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
            aastore
            invokeinterface jdk.nashorn.api.scripting.JSObject.call:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            invokestatic jdk.nashorn.internal.runtime.JSType.toBoolean:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 177
            goto 5
        end local 2 // jdk.internal.jline.console.history.History$Entry e
         4: .line 175
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         5: .line 180
      StackMap locals: jdk.nashorn.tools.jjs.HistoryObject jdk.nashorn.api.scripting.JSObject
      StackMap stack:
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            areturn
        end local 1 // jdk.nashorn.api.scripting.JSObject func
        end local 0 // jdk.nashorn.tools.jjs.HistoryObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/nashorn/tools/jjs/HistoryObject;
            0    6     1  func  Ljdk/nashorn/api/scripting/JSObject;
            2    4     2     e  Ljdk/internal/jline/console/history/History$Entry;
    MethodParameters:
      Name  Flags
      func  final

  private static java.io.File getFile(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Ljava/io/File;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // java.lang.Object obj
         0: .line 184
            aconst_null
            astore 1 /* file */
        start local 1 // java.io.File file
         1: .line 185
            aload 0 /* obj */
            instanceof java.lang.String
            ifeq 4
         2: .line 186
            new java.io.File
            dup
            aload 0 /* obj */
            checkcast java.lang.String
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            astore 1 /* file */
         3: .line 187
            goto 8
      StackMap locals: java.io.File
      StackMap stack:
         4: aload 0 /* obj */
            instanceof java.io.File
            ifeq 7
         5: .line 188
            aload 0 /* obj */
            checkcast java.io.File
            astore 1 /* file */
         6: .line 189
            goto 8
         7: .line 190
      StackMap locals:
      StackMap stack:
            ldc "not.a.file"
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            aload 0 /* obj */
            invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
            aastore
            invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
            athrow
         8: .line 193
      StackMap locals:
      StackMap stack:
            aload 1 /* file */
            areturn
        end local 1 // java.io.File file
        end local 0 // java.lang.Object obj
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0   obj  Ljava/lang/Object;
            1    9     1  file  Ljava/io/File;
    MethodParameters:
      Name  Flags
      obj   final
}
SourceFile: "HistoryObject.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Entry = jdk.internal.jline.console.history.History$Entry of jdk.internal.jline.console.history.History