public final class jdk.nashorn.tools.ShellFunctions
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.nashorn.tools.ShellFunctions
  super_class: java.lang.Object
{
  public static final java.lang.invoke.MethodHandle INPUT;
    descriptor: Ljava/lang/invoke/MethodHandle;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.lang.invoke.MethodHandle EVALINPUT;
    descriptor: Ljava/lang/invoke/MethodHandle;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=0, args_size=0
         0: .line 46
            ldc "input"
            ldc Ljava/lang/Object;
            iconst_3
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Ljava/lang/Object;
            aastore
            dup
            iconst_1
            ldc Ljava/lang/Object;
            aastore
            dup
            iconst_2
            ldc Ljava/lang/Object;
            aastore
            invokestatic jdk.nashorn.tools.ShellFunctions.findOwnMH:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
            putstatic jdk.nashorn.tools.ShellFunctions.INPUT:Ljava/lang/invoke/MethodHandle;
         1: .line 49
            ldc "evalinput"
            ldc Ljava/lang/Object;
            iconst_3
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Ljava/lang/Object;
            aastore
            dup
            iconst_1
            ldc Ljava/lang/Object;
            aastore
            dup
            iconst_2
            ldc Ljava/lang/Object;
            aastore
            invokestatic jdk.nashorn.tools.ShellFunctions.findOwnMH:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
            putstatic jdk.nashorn.tools.ShellFunctions.EVALINPUT:Ljava/lang/invoke/MethodHandle;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.tools.ShellFunctions this
         0: .line 51
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 52
            return
        end local 0 // jdk.nashorn.tools.ShellFunctions this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/nashorn/tools/ShellFunctions;

  public static java.lang.Object input(java.lang.Object, java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=7, args_size=3
        start local 0 // java.lang.Object self
        start local 1 // java.lang.Object endMarker
        start local 2 // java.lang.Object prompt
         0: .line 68
            aload 1 /* endMarker */
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            if_acmpeq 1
            aload 1 /* endMarker */
            invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
            goto 2
      StackMap locals:
      StackMap stack:
         1: ldc ""
      StackMap locals:
      StackMap stack: java.lang.String
         2: astore 3 /* endMarkerStr */
        start local 3 // java.lang.String endMarkerStr
         3: .line 69
            aload 2 /* prompt */
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            if_acmpeq 4
            aload 2 /* prompt */
            invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
            goto 5
      StackMap locals: java.lang.String
      StackMap stack:
         4: ldc ">> "
      StackMap locals:
      StackMap stack: java.lang.String
         5: astore 4 /* promptStr */
        start local 4 // java.lang.String promptStr
         6: .line 70
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 5 /* buf */
        start local 5 // java.lang.StringBuilder buf
         7: .line 72
      StackMap locals: java.lang.String java.lang.StringBuilder
      StackMap stack:
            aload 4 /* promptStr */
            invokestatic jdk.nashorn.internal.runtime.ScriptingFunctions.readLine:(Ljava/lang/Object;)Ljava/lang/String;
            astore 6 /* line */
        start local 6 // java.lang.String line
         8: .line 73
            aload 6 /* line */
            ifnull 13
            aload 6 /* line */
            aload 3 /* endMarkerStr */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 10
         9: .line 74
            goto 13
        10: .line 76
      StackMap locals: java.lang.String
      StackMap stack:
            aload 5 /* buf */
            aload 6 /* line */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            pop
        11: .line 77
            aload 5 /* buf */
            bipush 10
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
        end local 6 // java.lang.String line
        12: .line 71
            goto 7
        13: .line 79
      StackMap locals:
      StackMap stack:
            aload 5 /* buf */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 5 // java.lang.StringBuilder buf
        end local 4 // java.lang.String promptStr
        end local 3 // java.lang.String endMarkerStr
        end local 2 // java.lang.Object prompt
        end local 1 // java.lang.Object endMarker
        end local 0 // java.lang.Object self
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   14     0          self  Ljava/lang/Object;
            0   14     1     endMarker  Ljava/lang/Object;
            0   14     2        prompt  Ljava/lang/Object;
            3   14     3  endMarkerStr  Ljava/lang/String;
            6   14     4     promptStr  Ljava/lang/String;
            7   14     5           buf  Ljava/lang/StringBuilder;
            8   12     6          line  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      self       final
      endMarker  final
      prompt     final

  public static java.lang.Object evalinput(java.lang.Object, java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // java.lang.Object self
        start local 1 // java.lang.Object endMarker
        start local 2 // java.lang.Object prompt
         0: .line 95
            aload 0 /* self */
            aload 0 /* self */
            aload 1 /* endMarker */
            aload 2 /* prompt */
            invokestatic jdk.nashorn.tools.ShellFunctions.input:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            invokestatic jdk.nashorn.internal.objects.Global.eval:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 2 // java.lang.Object prompt
        end local 1 // java.lang.Object endMarker
        end local 0 // java.lang.Object self
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    1     0       self  Ljava/lang/Object;
            0    1     1  endMarker  Ljava/lang/Object;
            0    1     2     prompt  Ljava/lang/Object;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      self       final
      endMarker  final
      prompt     final

  private static java.lang.invoke.MethodHandle findOwnMH(java.lang.String, java.lang.Class<?>, java.lang.Class<?>[]);
    descriptor: (Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
    flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
    Code:
      stack=7, locals=3, args_size=3
        start local 0 // java.lang.String name
        start local 1 // java.lang.Class rtype
        start local 2 // java.lang.Class[] types
         0: .line 99
            getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
            invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
            ldc Ljdk/nashorn/tools/ShellFunctions;
            aload 0 /* name */
            getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
            aload 1 /* rtype */
            aload 2 /* types */
            invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
            invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.findStatic:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
            areturn
        end local 2 // java.lang.Class[] types
        end local 1 // java.lang.Class rtype
        end local 0 // java.lang.String name
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    1     0   name  Ljava/lang/String;
            0    1     1  rtype  Ljava/lang/Class<*>;
            0    1     2  types  [Ljava/lang/Class;
    Signature: (Ljava/lang/String;Ljava/lang/Class<*>;[Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
    MethodParameters:
       Name  Flags
      name   final
      rtype  final
      types  final
}
SourceFile: "ShellFunctions.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles