public class com.sun.tools.example.debug.gui.CommandTool extends javax.swing.JPanel
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.sun.tools.example.debug.gui.CommandTool
  super_class: javax.swing.JPanel
{
  private static final long serialVersionUID;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 8613516856378346415

  private com.sun.tools.example.debug.gui.Environment env;
    descriptor: Lcom/sun/tools/example/debug/gui/Environment;
    flags: (0x0002) ACC_PRIVATE

  private com.sun.tools.example.debug.gui.ContextManager context;
    descriptor: Lcom/sun/tools/example/debug/gui/ContextManager;
    flags: (0x0002) ACC_PRIVATE

  private com.sun.tools.example.debug.bdi.ExecutionManager runtime;
    descriptor: Lcom/sun/tools/example/debug/bdi/ExecutionManager;
    flags: (0x0002) ACC_PRIVATE

  private com.sun.tools.example.debug.gui.SourceManager sourceManager;
    descriptor: Lcom/sun/tools/example/debug/gui/SourceManager;
    flags: (0x0002) ACC_PRIVATE

  private com.sun.tools.example.debug.gui.TypeScript script;
    descriptor: Lcom/sun/tools/example/debug/gui/TypeScript;
    flags: (0x0002) ACC_PRIVATE

  private static final java.lang.String DEFAULT_CMD_PROMPT;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "Command:"

  public void <init>(com.sun.tools.example.debug.gui.Environment);
    descriptor: (Lcom/sun/tools/example/debug/gui/Environment;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=5, args_size=2
        start local 0 // com.sun.tools.example.debug.gui.CommandTool this
        start local 1 // com.sun.tools.example.debug.gui.Environment env
         0: .line 66
            aload 0 /* this */
            new java.awt.BorderLayout
            dup
            invokespecial java.awt.BorderLayout.<init>:()V
            invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
         1: .line 68
            aload 0 /* this */
            aload 1 /* env */
            putfield com.sun.tools.example.debug.gui.CommandTool.env:Lcom/sun/tools/example/debug/gui/Environment;
         2: .line 69
            aload 0 /* this */
            aload 1 /* env */
            invokevirtual com.sun.tools.example.debug.gui.Environment.getContextManager:()Lcom/sun/tools/example/debug/gui/ContextManager;
            putfield com.sun.tools.example.debug.gui.CommandTool.context:Lcom/sun/tools/example/debug/gui/ContextManager;
         3: .line 70
            aload 0 /* this */
            aload 1 /* env */
            invokevirtual com.sun.tools.example.debug.gui.Environment.getExecutionManager:()Lcom/sun/tools/example/debug/bdi/ExecutionManager;
            putfield com.sun.tools.example.debug.gui.CommandTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
         4: .line 71
            aload 0 /* this */
            aload 1 /* env */
            invokevirtual com.sun.tools.example.debug.gui.Environment.getSourceManager:()Lcom/sun/tools/example/debug/gui/SourceManager;
            putfield com.sun.tools.example.debug.gui.CommandTool.sourceManager:Lcom/sun/tools/example/debug/gui/SourceManager;
         5: .line 73
            aload 0 /* this */
            new com.sun.tools.example.debug.gui.TypeScript
            dup
            ldc "Command:"
            iconst_0
            invokespecial com.sun.tools.example.debug.gui.TypeScript.<init>:(Ljava/lang/String;Z)V
            putfield com.sun.tools.example.debug.gui.CommandTool.script:Lcom/sun/tools/example/debug/gui/TypeScript;
         6: .line 74
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.tools.example.debug.gui.CommandTool.script:Lcom/sun/tools/example/debug/gui/TypeScript;
            invokevirtual com.sun.tools.example.debug.gui.CommandTool.add:(Ljava/awt/Component;)Ljava/awt/Component;
            pop
         7: .line 77
            new com.sun.tools.example.debug.gui.CommandInterpreter
            dup
            aload 1 /* env */
            invokespecial com.sun.tools.example.debug.gui.CommandInterpreter.<init>:(Lcom/sun/tools/example/debug/gui/Environment;)V
         8: .line 76
            astore 2 /* interpreter */
        start local 2 // com.sun.tools.example.debug.gui.CommandInterpreter interpreter
         9: .line 81
            aload 0 /* this */
            getfield com.sun.tools.example.debug.gui.CommandTool.script:Lcom/sun/tools/example/debug/gui/TypeScript;
            new com.sun.tools.example.debug.gui.CommandTool$1
            dup
            aload 0 /* this */
            aload 2 /* interpreter */
            invokespecial com.sun.tools.example.debug.gui.CommandTool$1.<init>:(Lcom/sun/tools/example/debug/gui/CommandTool;Lcom/sun/tools/example/debug/gui/CommandInterpreter;)V
            invokevirtual com.sun.tools.example.debug.gui.TypeScript.addActionListener:(Ljava/awt/event/ActionListener;)V
        10: .line 91
            new com.sun.tools.example.debug.gui.TypeScriptOutputListener
            dup
            aload 0 /* this */
            getfield com.sun.tools.example.debug.gui.CommandTool.script:Lcom/sun/tools/example/debug/gui/TypeScript;
            iconst_1
            invokespecial com.sun.tools.example.debug.gui.TypeScriptOutputListener.<init>:(Lcom/sun/tools/example/debug/gui/TypeScript;Z)V
        11: .line 90
            astore 3 /* diagnosticsListener */
        start local 3 // com.sun.tools.example.debug.bdi.OutputListener diagnosticsListener
        12: .line 92
            aload 0 /* this */
            getfield com.sun.tools.example.debug.gui.CommandTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
            aload 3 /* diagnosticsListener */
            invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.addDiagnosticsListener:(Lcom/sun/tools/example/debug/bdi/OutputListener;)V
        13: .line 96
            aload 1 /* env */
            new java.io.PrintWriter
            dup
            new com.sun.tools.example.debug.gui.TypeScriptWriter
            dup
            aload 0 /* this */
            getfield com.sun.tools.example.debug.gui.CommandTool.script:Lcom/sun/tools/example/debug/gui/TypeScript;
            invokespecial com.sun.tools.example.debug.gui.TypeScriptWriter.<init>:(Lcom/sun/tools/example/debug/gui/TypeScript;)V
            invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
            invokevirtual com.sun.tools.example.debug.gui.Environment.setTypeScript:(Ljava/io/PrintWriter;)V
        14: .line 100
            new com.sun.tools.example.debug.gui.CommandTool$TTYDebugListener
            dup
            aload 0 /* this */
            aload 3 /* diagnosticsListener */
            invokespecial com.sun.tools.example.debug.gui.CommandTool$TTYDebugListener.<init>:(Lcom/sun/tools/example/debug/gui/CommandTool;Lcom/sun/tools/example/debug/bdi/OutputListener;)V
            astore 4 /* listener */
        start local 4 // com.sun.tools.example.debug.gui.CommandTool$TTYDebugListener listener
        15: .line 102
            aload 0 /* this */
            getfield com.sun.tools.example.debug.gui.CommandTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
            aload 4 /* listener */
            invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.addJDIListener:(Lcom/sun/tools/example/debug/event/JDIListener;)V
        16: .line 103
            aload 0 /* this */
            getfield com.sun.tools.example.debug.gui.CommandTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
            aload 4 /* listener */
            invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.addSessionListener:(Lcom/sun/tools/example/debug/bdi/SessionListener;)V
        17: .line 104
            aload 0 /* this */
            getfield com.sun.tools.example.debug.gui.CommandTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
            aload 4 /* listener */
            invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.addSpecListener:(Lcom/sun/tools/example/debug/bdi/SpecListener;)V
        18: .line 105
            aload 0 /* this */
            getfield com.sun.tools.example.debug.gui.CommandTool.context:Lcom/sun/tools/example/debug/gui/ContextManager;
            aload 4 /* listener */
            invokevirtual com.sun.tools.example.debug.gui.ContextManager.addContextListener:(Lcom/sun/tools/example/debug/gui/ContextListener;)V
        19: .line 109
            return
        end local 4 // com.sun.tools.example.debug.gui.CommandTool$TTYDebugListener listener
        end local 3 // com.sun.tools.example.debug.bdi.OutputListener diagnosticsListener
        end local 2 // com.sun.tools.example.debug.gui.CommandInterpreter interpreter
        end local 1 // com.sun.tools.example.debug.gui.Environment env
        end local 0 // com.sun.tools.example.debug.gui.CommandTool this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0   20     0                 this  Lcom/sun/tools/example/debug/gui/CommandTool;
            0   20     1                  env  Lcom/sun/tools/example/debug/gui/Environment;
            9   20     2          interpreter  Lcom/sun/tools/example/debug/gui/CommandInterpreter;
           12   20     3  diagnosticsListener  Lcom/sun/tools/example/debug/bdi/OutputListener;
           15   20     4             listener  Lcom/sun/tools/example/debug/gui/CommandTool$TTYDebugListener;
    MethodParameters:
      Name  Flags
      env   

  private java.lang.String locationString(com.sun.tools.example.debug.event.LocatableEventSet);
    descriptor: (Lcom/sun/tools/example/debug/event/LocatableEventSet;)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // com.sun.tools.example.debug.gui.CommandTool this
        start local 1 // com.sun.tools.example.debug.event.LocatableEventSet e
         0: .line 319
            aload 1 /* e */
            invokevirtual com.sun.tools.example.debug.event.LocatableEventSet.getLocation:()Lcom/sun/jdi/Location;
            astore 2 /* loc */
        start local 2 // com.sun.jdi.Location loc
         1: .line 320
            new java.lang.StringBuilder
            dup
            ldc "thread=\""
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* e */
            invokevirtual com.sun.tools.example.debug.event.LocatableEventSet.getThread:()Lcom/sun/jdi/ThreadReference;
            invokeinterface com.sun.jdi.ThreadReference.name:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         2: .line 321
            ldc "\", "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 2 /* loc */
            invokestatic com.sun.tools.example.debug.bdi.Utils.locationString:(Lcom/sun/jdi/Location;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         3: .line 320
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 2 // com.sun.jdi.Location loc
        end local 1 // com.sun.tools.example.debug.event.LocatableEventSet e
        end local 0 // com.sun.tools.example.debug.gui.CommandTool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/sun/tools/example/debug/gui/CommandTool;
            0    4     1     e  Lcom/sun/tools/example/debug/event/LocatableEventSet;
            1    4     2   loc  Lcom/sun/jdi/Location;
    MethodParameters:
      Name  Flags
      e     

  private void setThread(com.sun.tools.example.debug.event.LocatableEventSet);
    descriptor: (Lcom/sun/tools/example/debug/event/LocatableEventSet;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.sun.tools.example.debug.gui.CommandTool this
        start local 1 // com.sun.tools.example.debug.event.LocatableEventSet e
         0: .line 325
            aload 1 /* e */
            invokevirtual com.sun.tools.example.debug.event.LocatableEventSet.suspendedNone:()Z
            ifne 3
         1: .line 326
            invokestatic java.lang.Thread.yield:()V
         2: .line 327
            aload 0 /* this */
            getfield com.sun.tools.example.debug.gui.CommandTool.script:Lcom/sun/tools/example/debug/gui/TypeScript;
            aload 0 /* this */
            aload 1 /* e */
            invokevirtual com.sun.tools.example.debug.event.LocatableEventSet.getThread:()Lcom/sun/jdi/ThreadReference;
            iconst_0
            invokevirtual com.sun.tools.example.debug.gui.CommandTool.promptString:(Lcom/sun/jdi/ThreadReference;I)Ljava/lang/String;
            invokevirtual com.sun.tools.example.debug.gui.TypeScript.setPrompt:(Ljava/lang/String;)V
         3: .line 332
      StackMap locals:
      StackMap stack:
            return
        end local 1 // com.sun.tools.example.debug.event.LocatableEventSet e
        end local 0 // com.sun.tools.example.debug.gui.CommandTool this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/sun/tools/example/debug/gui/CommandTool;
            0    4     1     e  Lcom/sun/tools/example/debug/event/LocatableEventSet;
    MethodParameters:
      Name  Flags
      e     

  private java.lang.String promptString(com.sun.jdi.ThreadReference, int);
    descriptor: (Lcom/sun/jdi/ThreadReference;I)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // com.sun.tools.example.debug.gui.CommandTool this
        start local 1 // com.sun.jdi.ThreadReference thread
        start local 2 // int frameIndex
         0: .line 335
            aload 1 /* thread */
            ifnonnull 2
         1: .line 336
            ldc "Command:"
            areturn
         2: .line 339
      StackMap locals:
      StackMap stack:
            new java.lang.StringBuilder
            dup
            aload 1 /* thread */
            invokeinterface com.sun.jdi.ThreadReference.name:()Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "["
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            iload 2 /* frameIndex */
            iconst_1
            iadd
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "]:"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 2 // int frameIndex
        end local 1 // com.sun.jdi.ThreadReference thread
        end local 0 // com.sun.tools.example.debug.gui.CommandTool this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    3     0        this  Lcom/sun/tools/example/debug/gui/CommandTool;
            0    3     1      thread  Lcom/sun/jdi/ThreadReference;
            0    3     2  frameIndex  I
    MethodParameters:
            Name  Flags
      thread      
      frameIndex  
}
SourceFile: "CommandTool.java"
NestMembers:
  com.sun.tools.example.debug.gui.CommandTool$1  com.sun.tools.example.debug.gui.CommandTool$TTYDebugListener
InnerClasses:
  com.sun.tools.example.debug.gui.CommandTool$1
  private TTYDebugListener = com.sun.tools.example.debug.gui.CommandTool$TTYDebugListener of com.sun.tools.example.debug.gui.CommandTool