public class com.sun.tools.example.debug.gui.MonitorTool 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.MonitorTool
super_class: javax.swing.JPanel
{
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.ContextManager context;
descriptor: Lcom/sun/tools/example/debug/gui/ContextManager;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JList list;
descriptor: Ljavax/swing/JList;
flags: (0x0002) ACC_PRIVATE
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=4, locals=4, args_size=2
start local 0 // com.sun.tools.example.debug.gui.MonitorTool this
start local 1 // com.sun.tools.example.debug.gui.Environment env
0: .line 50
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 51
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.MonitorTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
2: .line 52
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.MonitorTool.context:Lcom/sun/tools/example/debug/gui/ContextManager;
3: .line 54
aload 0 /* this */
new javax.swing.JList
dup
aload 1 /* env */
invokevirtual com.sun.tools.example.debug.gui.Environment.getMonitorListModel:()Lcom/sun/tools/example/debug/gui/MonitorListModel;
invokespecial javax.swing.JList.<init>:(Ljavax/swing/ListModel;)V
putfield com.sun.tools.example.debug.gui.MonitorTool.list:Ljavax/swing/JList;
4: .line 55
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.MonitorTool.list:Ljavax/swing/JList;
new com.sun.tools.example.debug.gui.MonitorTool$MonitorRenderer
dup
aload 0 /* this */
invokespecial com.sun.tools.example.debug.gui.MonitorTool$MonitorRenderer.<init>:(Lcom/sun/tools/example/debug/gui/MonitorTool;)V
invokevirtual javax.swing.JList.setCellRenderer:(Ljavax/swing/ListCellRenderer;)V
5: .line 57
new javax.swing.JScrollPane
dup
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.MonitorTool.list:Ljavax/swing/JList;
invokespecial javax.swing.JScrollPane.<init>:(Ljava/awt/Component;)V
astore 2 /* listView */
start local 2 // javax.swing.JScrollPane listView
6: .line 58
aload 0 /* this */
aload 2 /* listView */
invokevirtual com.sun.tools.example.debug.gui.MonitorTool.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
7: .line 61
new com.sun.tools.example.debug.gui.MonitorTool$MonitorToolListener
dup
aload 0 /* this */
invokespecial com.sun.tools.example.debug.gui.MonitorTool$MonitorToolListener.<init>:(Lcom/sun/tools/example/debug/gui/MonitorTool;)V
astore 3 /* listener */
start local 3 // com.sun.tools.example.debug.gui.MonitorTool$MonitorToolListener listener
8: .line 62
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.MonitorTool.list:Ljavax/swing/JList;
aload 3 /* listener */
invokevirtual javax.swing.JList.addListSelectionListener:(Ljavax/swing/event/ListSelectionListener;)V
9: .line 64
return
end local 3 // com.sun.tools.example.debug.gui.MonitorTool$MonitorToolListener listener
end local 2 // javax.swing.JScrollPane listView
end local 1 // com.sun.tools.example.debug.gui.Environment env
end local 0 // com.sun.tools.example.debug.gui.MonitorTool this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/example/debug/gui/MonitorTool;
0 10 1 env Lcom/sun/tools/example/debug/gui/Environment;
6 10 2 listView Ljavax/swing/JScrollPane;
8 10 3 listener Lcom/sun/tools/example/debug/gui/MonitorTool$MonitorToolListener;
MethodParameters:
Name Flags
env
private com.sun.jdi.Value evaluate(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/jdi/Value;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 // com.sun.tools.example.debug.gui.MonitorTool this
start local 1 // java.lang.String expr
0: .line 80
new com.sun.tools.example.debug.gui.MonitorTool$1
dup
aload 0 /* this */
invokespecial com.sun.tools.example.debug.gui.MonitorTool$1.<init>:(Lcom/sun/tools/example/debug/gui/MonitorTool;)V
1: .line 79
astore 2 /* frameGetter */
start local 2 // com.sun.tools.example.debug.expr.ExpressionParser$GetFrame frameGetter
2: .line 91
aload 1 /* expr */
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.MonitorTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
invokevirtual com.sun.tools.example.debug.bdi.ExecutionManager.vm:()Lcom/sun/jdi/VirtualMachine;
aload 2 /* frameGetter */
invokestatic com.sun.tools.example.debug.expr.ExpressionParser.evaluate:(Ljava/lang/String;Lcom/sun/jdi/VirtualMachine;Lcom/sun/tools/example/debug/expr/ExpressionParser$GetFrame;)Lcom/sun/jdi/Value;
areturn
end local 2 // com.sun.tools.example.debug.expr.ExpressionParser$GetFrame frameGetter
end local 1 // java.lang.String expr
end local 0 // com.sun.tools.example.debug.gui.MonitorTool this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/gui/MonitorTool;
0 3 1 expr Ljava/lang/String;
2 3 2 frameGetter Lcom/sun/tools/example/debug/expr/ExpressionParser$GetFrame;
Exceptions:
throws com.sun.tools.example.debug.expr.ParseException, com.sun.jdi.InvocationException, com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException, com.sun.jdi.IncompatibleThreadStateException
MethodParameters:
Name Flags
expr
}
SourceFile: "MonitorTool.java"
NestMembers:
com.sun.tools.example.debug.gui.MonitorTool$1 com.sun.tools.example.debug.gui.MonitorTool$MonitorRenderer com.sun.tools.example.debug.gui.MonitorTool$MonitorToolListener
InnerClasses:
public abstract GetFrame = com.sun.tools.example.debug.expr.ExpressionParser$GetFrame of com.sun.tools.example.debug.expr.ExpressionParser
com.sun.tools.example.debug.gui.MonitorTool$1
private MonitorRenderer = com.sun.tools.example.debug.gui.MonitorTool$MonitorRenderer of com.sun.tools.example.debug.gui.MonitorTool
private MonitorToolListener = com.sun.tools.example.debug.gui.MonitorTool$MonitorToolListener of com.sun.tools.example.debug.gui.MonitorTool