class com.sun.tools.example.debug.gui.SourceTreeTool$1 extends java.awt.event.MouseAdapter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.example.debug.gui.SourceTreeTool$1
super_class: java.awt.event.MouseAdapter
{
final com.sun.tools.example.debug.gui.SourceTreeTool this$0;
descriptor: Lcom/sun/tools/example/debug/gui/SourceTreeTool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.tools.example.debug.gui.SourceTreeTool);
descriptor: (Lcom/sun/tools/example/debug/gui/SourceTreeTool;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // com.sun.tools.example.debug.gui.SourceTreeTool$1 this
0: .line 92
aload 0 /* this */
aload 1
putfield com.sun.tools.example.debug.gui.SourceTreeTool$1.this$0:Lcom/sun/tools/example/debug/gui/SourceTreeTool;
aload 0 /* this */
invokespecial java.awt.event.MouseAdapter.<init>:()V
return
end local 0 // com.sun.tools.example.debug.gui.SourceTreeTool$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool$1;
MethodParameters:
Name Flags
this$0 final
public void mouseClicked(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 // com.sun.tools.example.debug.gui.SourceTreeTool$1 this
start local 1 // java.awt.event.MouseEvent e
0: .line 95
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.SourceTreeTool$1.this$0:Lcom/sun/tools/example/debug/gui/SourceTreeTool;
getfield com.sun.tools.example.debug.gui.SourceTreeTool.tree:Ljavax/swing/JTree;
aload 1 /* e */
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1 /* e */
invokevirtual java.awt.event.MouseEvent.getY:()I
invokevirtual javax.swing.JTree.getRowForLocation:(II)I
istore 2 /* selRow */
start local 2 // int selRow
1: .line 96
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.SourceTreeTool$1.this$0:Lcom/sun/tools/example/debug/gui/SourceTreeTool;
getfield com.sun.tools.example.debug.gui.SourceTreeTool.tree:Ljavax/swing/JTree;
aload 1 /* e */
invokevirtual java.awt.event.MouseEvent.getX:()I
aload 1 /* e */
invokevirtual java.awt.event.MouseEvent.getY:()I
invokevirtual javax.swing.JTree.getPathForLocation:(II)Ljavax/swing/tree/TreePath;
astore 3 /* selPath */
start local 3 // javax.swing.tree.TreePath selPath
2: .line 97
iload 2 /* selRow */
iconst_m1
if_icmpeq 9
3: .line 98
aload 1 /* e */
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
iconst_1
if_icmpne 9
4: .line 100
aload 3 /* selPath */
invokevirtual javax.swing.tree.TreePath.getLastPathComponent:()Ljava/lang/Object;
checkcast com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode
5: .line 99
astore 4 /* node */
start local 4 // com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode node
6: .line 102
aload 4 /* node */
invokevirtual com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.isLeaf:()Z
ifeq 9
7: .line 103
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.SourceTreeTool$1.this$0:Lcom/sun/tools/example/debug/gui/SourceTreeTool;
getfield com.sun.tools.example.debug.gui.SourceTreeTool.tree:Ljavax/swing/JTree;
aload 3 /* selPath */
invokevirtual javax.swing.JTree.setSelectionPath:(Ljavax/swing/tree/TreePath;)V
8: .line 104
aload 0 /* this */
getfield com.sun.tools.example.debug.gui.SourceTreeTool$1.this$0:Lcom/sun/tools/example/debug/gui/SourceTreeTool;
getfield com.sun.tools.example.debug.gui.SourceTreeTool.interpreter:Lcom/sun/tools/example/debug/gui/CommandInterpreter;
new java.lang.StringBuilder
dup
ldc "view "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4 /* node */
invokevirtual com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.getRelativePath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.example.debug.gui.CommandInterpreter.executeCommand:(Ljava/lang/String;)V
end local 4 // com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode node
9: .line 108
StackMap locals: int javax.swing.tree.TreePath
StackMap stack:
return
end local 3 // javax.swing.tree.TreePath selPath
end local 2 // int selRow
end local 1 // java.awt.event.MouseEvent e
end local 0 // com.sun.tools.example.debug.gui.SourceTreeTool$1 this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool$1;
0 10 1 e Ljava/awt/event/MouseEvent;
1 10 2 selRow I
2 10 3 selPath Ljavax/swing/tree/TreePath;
6 9 4 node Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
MethodParameters:
Name Flags
e
}
SourceFile: "SourceTreeTool.java"
EnclosingMethod: com.sun.tools.example.debug.gui.SourceTreeTool.<init>:(Lcom/sun/tools/example/debug/gui/Environment;)V
NestHost: com.sun.tools.example.debug.gui.SourceTreeTool
InnerClasses:
com.sun.tools.example.debug.gui.SourceTreeTool$1
SourceTreeNode = com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode of com.sun.tools.example.debug.gui.SourceTreeTool