public class com.sun.tools.example.debug.gui.StackTraceTool 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.StackTraceTool
super_class: javax.swing.JPanel
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 9140041989427965718
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.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 com.sun.tools.example.debug.bdi.ThreadInfo tinfo;
descriptor: Lcom/sun/tools/example/debug/bdi/ThreadInfo;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JList list;
descriptor: Ljavax/swing/JList;
flags: (0x0002) ACC_PRIVATE
private javax.swing.ListModel stackModel;
descriptor: Ljavax/swing/ListModel;
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.StackTraceTool this
start local 1 // com.sun.tools.example.debug.gui.Environment env
0: .line 59
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 61
aload 0 /* this */
aload 1 /* env */
putfield com.sun.tools.example.debug.gui.StackTraceTool.env:Lcom/sun/tools/example/debug/gui/Environment;
2: .line 62
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.StackTraceTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
3: .line 63
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.StackTraceTool.context:Lcom/sun/tools/example/debug/gui/ContextManager;
4: .line 65
aload 0 /* this */
new javax.swing.DefaultListModel
dup
invokespecial javax.swing.DefaultListModel.<init>:()V
putfield com.sun.tools.example.debug.gui.StackTraceTool.stackModel:Ljavax/swing/ListModel;
5: .line 67
aload 0 /* this */
new javax.swing.JList
dup
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.StackTraceTool.stackModel:Ljavax/swing/ListModel;
invokespecial javax.swing.JList.<init>:(Ljavax/swing/ListModel;)V
putfield com.sun.tools.example.debug.gui.StackTraceTool.list:Ljavax/swing/JList;
6: .line 68
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.StackTraceTool.list:Ljavax/swing/JList;
new com.sun.tools.example.debug.gui.StackTraceTool$StackFrameRenderer
dup
aload 0 /* this */
invokespecial com.sun.tools.example.debug.gui.StackTraceTool$StackFrameRenderer.<init>:(Lcom/sun/tools/example/debug/gui/StackTraceTool;)V
invokevirtual javax.swing.JList.setCellRenderer:(Ljavax/swing/ListCellRenderer;)V
7: .line 70
new javax.swing.JScrollPane
dup
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.StackTraceTool.list:Ljavax/swing/JList;
invokespecial javax.swing.JScrollPane.<init>:(Ljava/awt/Component;)V
astore 2 /* listView */
start local 2 // javax.swing.JScrollPane listView
8: .line 71
aload 0 /* this */
aload 2 /* listView */
invokevirtual com.sun.tools.example.debug.gui.StackTraceTool.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
9: .line 74
new com.sun.tools.example.debug.gui.StackTraceTool$StackTraceToolListener
dup
aload 0 /* this */
invokespecial com.sun.tools.example.debug.gui.StackTraceTool$StackTraceToolListener.<init>:(Lcom/sun/tools/example/debug/gui/StackTraceTool;)V
astore 3 /* listener */
start local 3 // com.sun.tools.example.debug.gui.StackTraceTool$StackTraceToolListener listener
10: .line 75
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.StackTraceTool.context:Lcom/sun/tools/example/debug/gui/ContextManager;
aload 3 /* listener */
invokevirtual com.sun.tools.example.debug.gui.ContextManager.addContextListener:(Lcom/sun/tools/example/debug/gui/ContextListener;)V
11: .line 76
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.StackTraceTool.list:Ljavax/swing/JList;
aload 3 /* listener */
invokevirtual javax.swing.JList.addListSelectionListener:(Ljavax/swing/event/ListSelectionListener;)V
12: .line 79
return
end local 3 // com.sun.tools.example.debug.gui.StackTraceTool$StackTraceToolListener 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.StackTraceTool this
LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/example/debug/gui/StackTraceTool;
0 13 1 env Lcom/sun/tools/example/debug/gui/Environment;
8 13 2 listView Ljavax/swing/JScrollPane;
10 13 3 listener Lcom/sun/tools/example/debug/gui/StackTraceTool$StackTraceToolListener;
MethodParameters:
Name Flags
env
private void showStack(com.sun.tools.example.debug.bdi.ThreadInfo, int);
descriptor: (Lcom/sun/tools/example/debug/bdi/ThreadInfo;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 // com.sun.tools.example.debug.gui.StackTraceTool this
start local 1 // com.sun.tools.example.debug.bdi.ThreadInfo tinfo
start local 2 // int selectFrame
0: .line 169
new com.sun.tools.example.debug.gui.StackTraceTool$StackTraceListModel
dup
aload 1 /* tinfo */
invokespecial com.sun.tools.example.debug.gui.StackTraceTool$StackTraceListModel.<init>:(Lcom/sun/tools/example/debug/bdi/ThreadInfo;)V
astore 3 /* model */
start local 3 // com.sun.tools.example.debug.gui.StackTraceTool$StackTraceListModel model
1: .line 170
aload 0 /* this */
aload 3 /* model */
putfield com.sun.tools.example.debug.gui.StackTraceTool.stackModel:Ljavax/swing/ListModel;
2: .line 171
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.StackTraceTool.list:Ljavax/swing/JList;
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.StackTraceTool.stackModel:Ljavax/swing/ListModel;
invokevirtual javax.swing.JList.setModel:(Ljavax/swing/ListModel;)V
3: .line 172
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.StackTraceTool.list:Ljavax/swing/JList;
iload 2 /* selectFrame */
invokevirtual javax.swing.JList.setSelectedIndex:(I)V
4: .line 173
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.StackTraceTool.list:Ljavax/swing/JList;
iload 2 /* selectFrame */
invokevirtual javax.swing.JList.ensureIndexIsVisible:(I)V
5: .line 174
return
end local 3 // com.sun.tools.example.debug.gui.StackTraceTool$StackTraceListModel model
end local 2 // int selectFrame
end local 1 // com.sun.tools.example.debug.bdi.ThreadInfo tinfo
end local 0 // com.sun.tools.example.debug.gui.StackTraceTool this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/example/debug/gui/StackTraceTool;
0 6 1 tinfo Lcom/sun/tools/example/debug/bdi/ThreadInfo;
0 6 2 selectFrame I
1 6 3 model Lcom/sun/tools/example/debug/gui/StackTraceTool$StackTraceListModel;
MethodParameters:
Name Flags
tinfo
selectFrame
}
SourceFile: "StackTraceTool.java"
NestMembers:
com.sun.tools.example.debug.gui.StackTraceTool$StackFrameRenderer com.sun.tools.example.debug.gui.StackTraceTool$StackTraceListModel com.sun.tools.example.debug.gui.StackTraceTool$StackTraceToolListener
InnerClasses:
private StackFrameRenderer = com.sun.tools.example.debug.gui.StackTraceTool$StackFrameRenderer of com.sun.tools.example.debug.gui.StackTraceTool
private StackTraceListModel = com.sun.tools.example.debug.gui.StackTraceTool$StackTraceListModel of com.sun.tools.example.debug.gui.StackTraceTool
private StackTraceToolListener = com.sun.tools.example.debug.gui.StackTraceTool$StackTraceToolListener of com.sun.tools.example.debug.gui.StackTraceTool