public class com.sun.tools.example.debug.gui.SourceTreeTool 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.SourceTreeTool
super_class: javax.swing.JPanel
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3336680912107956419
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.SourceManager sourceManager;
descriptor: Lcom/sun/tools/example/debug/gui/SourceManager;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.example.debug.gui.ClassManager classManager;
descriptor: Lcom/sun/tools/example/debug/gui/ClassManager;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JTree tree;
descriptor: Ljavax/swing/JTree;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode root;
descriptor: Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.example.debug.gui.SearchPath sourcePath;
descriptor: Lcom/sun/tools/example/debug/gui/SearchPath;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.example.debug.gui.CommandInterpreter interpreter;
descriptor: Lcom/sun/tools/example/debug/gui/CommandInterpreter;
flags: (0x0002) ACC_PRIVATE
private static java.lang.String HEADING;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.io.FilenameFilter filter;
descriptor: Ljava/io/FilenameFilter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "SOURCES"
putstatic com.sun.tools.example.debug.gui.SourceTreeTool.HEADING:Ljava/lang/String;
1: new com.sun.tools.example.debug.gui.SourceTreeTool$SourceOrDirectoryFilter
dup
invokespecial com.sun.tools.example.debug.gui.SourceTreeTool$SourceOrDirectoryFilter.<init>:()V
putstatic com.sun.tools.example.debug.gui.SourceTreeTool.filter:Ljava/io/FilenameFilter;
return
LocalVariableTable:
Start End Slot Name Signature
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 start local 1 0: aload 0
new java.awt.BorderLayout
dup
invokespecial java.awt.BorderLayout.<init>:()V
invokespecial javax.swing.JPanel.<init>:(Ljava/awt/LayoutManager;)V
1: aload 0
aload 1
putfield com.sun.tools.example.debug.gui.SourceTreeTool.env:Lcom/sun/tools/example/debug/gui/Environment;
2: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.gui.Environment.getExecutionManager:()Lcom/sun/tools/example/debug/bdi/ExecutionManager;
putfield com.sun.tools.example.debug.gui.SourceTreeTool.runtime:Lcom/sun/tools/example/debug/bdi/ExecutionManager;
3: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.gui.Environment.getSourceManager:()Lcom/sun/tools/example/debug/gui/SourceManager;
putfield com.sun.tools.example.debug.gui.SourceTreeTool.sourceManager:Lcom/sun/tools/example/debug/gui/SourceManager;
4: aload 0
new com.sun.tools.example.debug.gui.CommandInterpreter
dup
aload 1
invokespecial com.sun.tools.example.debug.gui.CommandInterpreter.<init>:(Lcom/sun/tools/example/debug/gui/Environment;)V
putfield com.sun.tools.example.debug.gui.SourceTreeTool.interpreter:Lcom/sun/tools/example/debug/gui/CommandInterpreter;
5: aload 0
aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool.sourceManager:Lcom/sun/tools/example/debug/gui/SourceManager;
invokevirtual com.sun.tools.example.debug.gui.SourceManager.getSourcePath:()Lcom/sun/tools/example/debug/gui/SearchPath;
putfield com.sun.tools.example.debug.gui.SourceTreeTool.sourcePath:Lcom/sun/tools/example/debug/gui/SearchPath;
6: aload 0
aload 0
getstatic com.sun.tools.example.debug.gui.SourceTreeTool.HEADING:Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.SourceTreeTool.createDirectoryTree:(Ljava/lang/String;)Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
putfield com.sun.tools.example.debug.gui.SourceTreeTool.root:Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
7: aload 0
new javax.swing.JTree
dup
new javax.swing.tree.DefaultTreeModel
dup
aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool.root:Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
invokespecial javax.swing.tree.DefaultTreeModel.<init>:(Ljavax/swing/tree/TreeNode;)V
invokespecial javax.swing.JTree.<init>:(Ljavax/swing/tree/TreeModel;)V
putfield com.sun.tools.example.debug.gui.SourceTreeTool.tree:Ljavax/swing/JTree;
8: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool.tree:Ljavax/swing/JTree;
new com.sun.tools.example.debug.gui.SingleLeafTreeSelectionModel
dup
invokespecial com.sun.tools.example.debug.gui.SingleLeafTreeSelectionModel.<init>:()V
invokevirtual javax.swing.JTree.setSelectionModel:(Ljavax/swing/tree/TreeSelectionModel;)V
9: new com.sun.tools.example.debug.gui.SourceTreeTool$1
dup
aload 0
invokespecial com.sun.tools.example.debug.gui.SourceTreeTool$1.<init>:(Lcom/sun/tools/example/debug/gui/SourceTreeTool;)V
astore 2
start local 2 10: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool.tree:Ljavax/swing/JTree;
aload 2
invokevirtual javax.swing.JTree.addMouseListener:(Ljava/awt/event/MouseListener;)V
11: new javax.swing.JScrollPane
dup
aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool.tree:Ljavax/swing/JTree;
invokespecial javax.swing.JScrollPane.<init>:(Ljava/awt/Component;)V
astore 3
start local 3 12: aload 0
aload 3
invokevirtual com.sun.tools.example.debug.gui.SourceTreeTool.add:(Ljava/awt/Component;)Ljava/awt/Component;
pop
13: new com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeToolListener
dup
aload 0
invokespecial com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeToolListener.<init>:(Lcom/sun/tools/example/debug/gui/SourceTreeTool;)V
astore 4
start local 4 14: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool.sourceManager:Lcom/sun/tools/example/debug/gui/SourceManager;
aload 4
invokevirtual com.sun.tools.example.debug.gui.SourceManager.addSourceListener:(Lcom/sun/tools/example/debug/gui/SourceListener;)V
15: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool;
0 16 1 env Lcom/sun/tools/example/debug/gui/Environment;
10 16 2 ml Ljava/awt/event/MouseListener;
12 16 3 treeView Ljavax/swing/JScrollPane;
14 16 4 listener Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeToolListener;
MethodParameters:
Name Flags
env
com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode createDirectoryTree(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
flags: (0x0000)
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode
dup
aload 0
aload 1
aconst_null
ldc ""
iconst_1
invokespecial com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.<init>:(Lcom/sun/tools/example/debug/gui/SourceTreeTool;Ljava/lang/String;Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;Ljava/lang/String;Z)V
1: areturn
2: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
3: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool.env:Lcom/sun/tools/example/debug/gui/Environment;
ldc "Cannot access source file or directory"
invokevirtual com.sun.tools.example.debug.gui.Environment.failure:(Ljava/lang/String;)V
4: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool;
0 5 1 label Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.SecurityException
MethodParameters:
Name Flags
label
}
SourceFile: "SourceTreeTool.java"
NestMembers:
com.sun.tools.example.debug.gui.SourceTreeTool$1 com.sun.tools.example.debug.gui.SourceTreeTool$SourceOrDirectoryFilter com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode$1 com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeToolListener
InnerClasses:
com.sun.tools.example.debug.gui.SourceTreeTool$1
private SourceOrDirectoryFilter = com.sun.tools.example.debug.gui.SourceTreeTool$SourceOrDirectoryFilter of com.sun.tools.example.debug.gui.SourceTreeTool
SourceTreeNode = com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode of com.sun.tools.example.debug.gui.SourceTreeTool
private SourceTreeToolListener = com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeToolListener of com.sun.tools.example.debug.gui.SourceTreeTool