public class com.sun.tools.example.debug.gui.ApplicationTool 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.ApplicationTool
super_class: javax.swing.JPanel
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 310966063293205714
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.TypeScript script;
descriptor: Lcom/sun/tools/example/debug/gui/TypeScript;
flags: (0x0002) ACC_PRIVATE
private static final java.lang.String PROMPT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Input:"
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=5, locals=2, args_size=2
start local 0 // com.sun.tools.example.debug.gui.ApplicationTool this
start local 1 // com.sun.tools.example.debug.gui.Environment env
0: .line 55
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 57
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.ApplicationTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
2: .line 59
aload 0 /* this */
new com.sun.tools.example.debug.gui.TypeScript
dup
ldc "Input:"
iconst_0
invokespecial com.sun.tools.example.debug.gui.TypeScript.<init>:(Ljava/lang/String;Z)V
putfield com.sun.tools.example.debug.gui.ApplicationTool.script:Lcom/sun/tools/example/debug/gui/TypeScript;
3: .line 60
aload 0 /* this */
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.ApplicationTool.script:Lcom/sun/tools/example/debug/gui/TypeScript;
invokevirtual com.sun.tools.example.debug.gui.ApplicationTool.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
4: .line 62
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.ApplicationTool.script:Lcom/sun/tools/example/debug/gui/TypeScript;
new com.sun.tools.example.debug.gui.ApplicationTool$1
dup
aload 0 /* this */
invokespecial com.sun.tools.example.debug.gui.ApplicationTool$1.<init>:(Lcom/sun/tools/example/debug/gui/ApplicationTool;)V
invokevirtual com.sun.tools.example.debug.gui.TypeScript.addActionListener:(Ljava/awt/event/ActionListener;)V
5: .line 69
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.ApplicationTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
new com.sun.tools.example.debug.gui.TypeScriptOutputListener
dup
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.ApplicationTool.script:Lcom/sun/tools/example/debug/gui/TypeScript;
invokespecial com.sun.tools.example.debug.gui.TypeScriptOutputListener.<init>:(Lcom/sun/tools/example/debug/gui/TypeScript;)V
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.addApplicationEchoListener:(Lcom/sun/tools/example/debug/bdi/OutputListener;)V
6: .line 70
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.ApplicationTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
new com.sun.tools.example.debug.gui.TypeScriptOutputListener
dup
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.ApplicationTool.script:Lcom/sun/tools/example/debug/gui/TypeScript;
invokespecial com.sun.tools.example.debug.gui.TypeScriptOutputListener.<init>:(Lcom/sun/tools/example/debug/gui/TypeScript;)V
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.addApplicationOutputListener:(Lcom/sun/tools/example/debug/bdi/OutputListener;)V
7: .line 71
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.ApplicationTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
new com.sun.tools.example.debug.gui.TypeScriptOutputListener
dup
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.ApplicationTool.script:Lcom/sun/tools/example/debug/gui/TypeScript;
invokespecial com.sun.tools.example.debug.gui.TypeScriptOutputListener.<init>:(Lcom/sun/tools/example/debug/gui/TypeScript;)V
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.addApplicationErrorListener:(Lcom/sun/tools/example/debug/bdi/OutputListener;)V
8: .line 75
return
end local 1 // com.sun.tools.example.debug.gui.Environment env
end local 0 // com.sun.tools.example.debug.gui.ApplicationTool this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/example/debug/gui/ApplicationTool;
0 9 1 env Lcom/sun/tools/example/debug/gui/Environment;
MethodParameters:
Name Flags
env
}
SourceFile: "ApplicationTool.java"
NestMembers:
com.sun.tools.example.debug.gui.ApplicationTool$1
InnerClasses:
com.sun.tools.example.debug.gui.ApplicationTool$1