final class jdk.nashorn.tools.jjs.EditObject 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.EditObject
  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.nashorn.tools.jjs.Console console;
    descriptor: Ljdk/nashorn/tools/jjs/Console;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  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;>;

  private java.lang.String editor;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 45
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 0 /* s */
        start local 0 // java.util.HashSet s
         1: .line 46
            aload 0 /* s */
            ldc "editor"
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
         2: .line 47
            aload 0 /* s */
            invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
            putstatic jdk.nashorn.tools.jjs.EditObject.props:Ljava/util/Set;
        end local 0 // java.util.HashSet s
         3: .line 48
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    3     0     s  Ljava/util/HashSet<Ljava/lang/String;>;

  void <init>(jdk.nashorn.tools.jjs.Console, java.util.function.Consumer<java.lang.String>, java.util.function.Consumer<java.lang.String>);
    descriptor: (Ljdk/nashorn/tools/jjs/Console;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=4, args_size=4
        start local 0 // jdk.nashorn.tools.jjs.EditObject this
        start local 1 // jdk.nashorn.tools.jjs.Console console
        start local 2 // java.util.function.Consumer errorHandler
        start local 3 // java.util.function.Consumer evaluator
         0: .line 55
            aload 0 /* this */
            invokespecial jdk.nashorn.api.scripting.AbstractJSObject.<init>:()V
         1: .line 57
            aload 0 /* this */
            aload 1 /* console */
            putfield jdk.nashorn.tools.jjs.EditObject.console:Ljdk/nashorn/tools/jjs/Console;
         2: .line 58
            aload 0 /* this */
            aload 2 /* errorHandler */
            putfield jdk.nashorn.tools.jjs.EditObject.errorHandler:Ljava/util/function/Consumer;
         3: .line 59
            aload 0 /* this */
            aload 3 /* evaluator */
            putfield jdk.nashorn.tools.jjs.EditObject.evaluator:Ljava/util/function/Consumer;
         4: .line 60
            return
        end local 3 // java.util.function.Consumer evaluator
        end local 2 // java.util.function.Consumer errorHandler
        end local 1 // jdk.nashorn.tools.jjs.Console console
        end local 0 // jdk.nashorn.tools.jjs.EditObject this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    5     0          this  Ljdk/nashorn/tools/jjs/EditObject;
            0    5     1       console  Ljdk/nashorn/tools/jjs/Console;
            0    5     2  errorHandler  Ljava/util/function/Consumer<Ljava/lang/String;>;
            0    5     3     evaluator  Ljava/util/function/Consumer<Ljava/lang/String;>;
    Signature: (Ljdk/nashorn/tools/jjs/Console;Ljava/util/function/Consumer<Ljava/lang/String;>;Ljava/util/function/Consumer<Ljava/lang/String;>;)V
    MethodParameters:
              Name  Flags
      console       final
      errorHandler  final
      evaluator     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.EditObject this
        start local 1 // java.lang.Class hint
         0: .line 64
            aload 1 /* hint */
            ldc Ljava/lang/String;
            if_acmpne 2
         1: .line 65
            aload 0 /* this */
            invokevirtual jdk.nashorn.tools.jjs.EditObject.toString:()Ljava/lang/String;
            areturn
         2: .line 67
      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.EditObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/nashorn/tools/jjs/EditObject;
            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=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.tools.jjs.EditObject this
         0: .line 72
            ldc "function edit() { [native code] }"
            areturn
        end local 0 // jdk.nashorn.tools.jjs.EditObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/tools/jjs/EditObject;

  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.EditObject this
         0: .line 77
            getstatic jdk.nashorn.tools.jjs.EditObject.props:Ljava/util/Set;
            areturn
        end local 0 // jdk.nashorn.tools.jjs.EditObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/tools/jjs/EditObject;
    Signature: ()Ljava/util/Set<Ljava/lang/String;>;

  public java.lang.Object getMember(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Object;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.nashorn.tools.jjs.EditObject this
        start local 1 // java.lang.String name
         0: .line 82
            aload 1 /* name */
            ldc "editor"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 83
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.EditObject.editor:Ljava/lang/String;
            areturn
         2: .line 85
      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.EditObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/nashorn/tools/jjs/EditObject;
            0    3     1  name  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      name  final

  public void setMember(java.lang.String, java.lang.Object);
    descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // jdk.nashorn.tools.jjs.EditObject this
        start local 1 // java.lang.String name
        start local 2 // java.lang.Object value
         0: .line 90
            aload 1 /* name */
            ldc "editor"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 4
         1: .line 91
            aload 0 /* this */
            aload 2 /* value */
            ifnull 2
            aload 2 /* value */
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            if_acmpeq 2
            aload 2 /* value */
            invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
            goto 3
      StackMap locals:
      StackMap stack: jdk.nashorn.tools.jjs.EditObject
         2: ldc ""
      StackMap locals: jdk.nashorn.tools.jjs.EditObject java.lang.String java.lang.Object
      StackMap stack: jdk.nashorn.tools.jjs.EditObject java.lang.String
         3: putfield jdk.nashorn.tools.jjs.EditObject.editor:Ljava/lang/String;
         4: .line 93
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Object value
        end local 1 // java.lang.String name
        end local 0 // jdk.nashorn.tools.jjs.EditObject this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Ljdk/nashorn/tools/jjs/EditObject;
            0    5     1   name  Ljava/lang/String;
            0    5     2  value  Ljava/lang/Object;
    MethodParameters:
       Name  Flags
      name   final
      value  final

  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=5, locals=9, args_size=3
        start local 0 // jdk.nashorn.tools.jjs.EditObject this
        start local 1 // java.lang.Object thiz
        start local 2 // java.lang.Object[] args
         0: .line 116
            aload 2 /* args */
            arraylength
            ifle 1
            aload 2 /* args */
            iconst_0
            aaload
            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 /* initText */
        start local 3 // java.lang.String initText
         3: .line 117
            new jdk.nashorn.tools.jjs.EditObject$SaveHandler
            dup
            aload 0 /* this */
            aload 3 /* initText */
            invokespecial jdk.nashorn.tools.jjs.EditObject$SaveHandler.<init>:(Ljdk/nashorn/tools/jjs/EditObject;Ljava/lang/String;)V
            astore 4 /* saveHandler */
        start local 4 // jdk.nashorn.tools.jjs.EditObject$SaveHandler saveHandler
         4: .line 118
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.EditObject.editor:Ljava/lang/String;
            ifnull 7
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.EditObject.editor:Ljava/lang/String;
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 7
         5: .line 119
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.EditObject.editor:Ljava/lang/String;
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.EditObject.errorHandler:Ljava/util/function/Consumer;
            aload 3 /* initText */
            aload 4 /* saveHandler */
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.EditObject.console:Ljdk/nashorn/tools/jjs/Console;
            invokestatic jdk.nashorn.tools.jjs.ExternalEditor.edit:(Ljava/lang/String;Ljava/util/function/Consumer;Ljava/lang/String;Ljava/util/function/Consumer;Ljdk/nashorn/tools/jjs/Console;)V
         6: .line 120
            goto 22
         7: .line 123
      StackMap locals: java.lang.String jdk.nashorn.tools.jjs.EditObject$SaveHandler
      StackMap stack:
            ldc Ljdk/internal/editor/spi/BuildInEditorProvider;
            invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
         8: .line 122
            astore 5 /* sl */
        start local 5 // java.util.ServiceLoader sl
         9: .line 125
            aconst_null
            astore 6 /* provider */
        start local 6 // jdk.internal.editor.spi.BuildInEditorProvider provider
        10: .line 126
            aload 5 /* sl */
            invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
            astore 8
            goto 14
      StackMap locals: jdk.nashorn.tools.jjs.EditObject java.lang.Object java.lang.Object[] java.lang.String jdk.nashorn.tools.jjs.EditObject$SaveHandler java.util.ServiceLoader jdk.internal.editor.spi.BuildInEditorProvider top java.util.Iterator
      StackMap stack:
        11: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast jdk.internal.editor.spi.BuildInEditorProvider
            astore 7 /* p */
        start local 7 // jdk.internal.editor.spi.BuildInEditorProvider p
        12: .line 127
            aload 6 /* provider */
            ifnull 13
            aload 7 /* p */
            invokeinterface jdk.internal.editor.spi.BuildInEditorProvider.rank:()I
            aload 6 /* provider */
            invokeinterface jdk.internal.editor.spi.BuildInEditorProvider.rank:()I
            if_icmple 14
        13: .line 128
      StackMap locals: jdk.nashorn.tools.jjs.EditObject java.lang.Object java.lang.Object[] java.lang.String jdk.nashorn.tools.jjs.EditObject$SaveHandler java.util.ServiceLoader jdk.internal.editor.spi.BuildInEditorProvider jdk.internal.editor.spi.BuildInEditorProvider java.util.Iterator
      StackMap stack:
            aload 7 /* p */
            astore 6 /* provider */
        end local 7 // jdk.internal.editor.spi.BuildInEditorProvider p
        14: .line 126
      StackMap locals: jdk.nashorn.tools.jjs.EditObject java.lang.Object java.lang.Object[] java.lang.String jdk.nashorn.tools.jjs.EditObject$SaveHandler java.util.ServiceLoader jdk.internal.editor.spi.BuildInEditorProvider top java.util.Iterator
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 11
        15: .line 131
            aload 6 /* provider */
            ifnull 18
        16: .line 132
            aload 6 /* provider */
            aconst_null
            aload 3 /* initText */
            aload 4 /* saveHandler */
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.EditObject.errorHandler:Ljava/util/function/Consumer;
            invokeinterface jdk.internal.editor.spi.BuildInEditorProvider.edit:(Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Consumer;Ljava/util/function/Consumer;)V
        17: .line 133
            goto 22
        18: .line 134
      StackMap locals: jdk.nashorn.tools.jjs.EditObject java.lang.Object java.lang.Object[] java.lang.String jdk.nashorn.tools.jjs.EditObject$SaveHandler java.util.ServiceLoader jdk.internal.editor.spi.BuildInEditorProvider
      StackMap stack:
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.EditObject.errorHandler:Ljava/util/function/Consumer;
            ldc "jjs.err.no.builtin.editor"
            invokestatic jdk.nashorn.tools.jjs.Main.getMessage:(Ljava/lang/String;)Ljava/lang/String;
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
        end local 6 // jdk.internal.editor.spi.BuildInEditorProvider provider
        end local 5 // java.util.ServiceLoader sl
        19: .line 136
            goto 22
      StackMap locals: jdk.nashorn.tools.jjs.EditObject java.lang.Object java.lang.Object[] java.lang.String jdk.nashorn.tools.jjs.EditObject$SaveHandler
      StackMap stack: java.lang.RuntimeException
        20: pop
        21: .line 137
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.EditObject.errorHandler:Ljava/util/function/Consumer;
            ldc "jjs.err.cant.launch.editor"
            invokestatic jdk.nashorn.tools.jjs.Main.getMessage:(Ljava/lang/String;)Ljava/lang/String;
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
        22: .line 140
      StackMap locals:
      StackMap stack:
            getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
            areturn
        end local 4 // jdk.nashorn.tools.jjs.EditObject$SaveHandler saveHandler
        end local 3 // java.lang.String initText
        end local 2 // java.lang.Object[] args
        end local 1 // java.lang.Object thiz
        end local 0 // jdk.nashorn.tools.jjs.EditObject this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   23     0         this  Ljdk/nashorn/tools/jjs/EditObject;
            0   23     1         thiz  Ljava/lang/Object;
            0   23     2         args  [Ljava/lang/Object;
            3   23     3     initText  Ljava/lang/String;
            4   23     4  saveHandler  Ljdk/nashorn/tools/jjs/EditObject$SaveHandler;
            9   19     5           sl  Ljava/util/ServiceLoader<Ljdk/internal/editor/spi/BuildInEditorProvider;>;
           10   19     6     provider  Ljdk/internal/editor/spi/BuildInEditorProvider;
           12   14     7            p  Ljdk/internal/editor/spi/BuildInEditorProvider;
      Exception table:
        from    to  target  type
           7    19      20  Class java.lang.RuntimeException
    MethodParameters:
      Name  Flags
      thiz  final
      args  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.EditObject this
         0: .line 145
            iconst_1
            ireturn
        end local 0 // jdk.nashorn.tools.jjs.EditObject this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/tools/jjs/EditObject;
}
SourceFile: "EditObject.java"
NestMembers:
  jdk.nashorn.tools.jjs.EditObject$SaveHandler
InnerClasses:
  SaveHandler = jdk.nashorn.tools.jjs.EditObject$SaveHandler of jdk.nashorn.tools.jjs.EditObject