class com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode implements javax.swing.tree.TreeNode
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode
super_class: java.lang.Object
{
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean isDirectory;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode parent;
descriptor: Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode[] children;
descriptor: [Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
flags: (0x0002) ACC_PRIVATE
private java.lang.String relativePath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean isExpanded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
final com.sun.tools.example.debug.gui.SourceTreeTool this$0;
descriptor: Lcom/sun/tools/example/debug/gui/SourceTreeTool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(com.sun.tools.example.debug.gui.SourceTreeTool, java.lang.String, com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode, java.lang.String, boolean);
descriptor: (Lcom/sun/tools/example/debug/gui/SourceTreeTool;Ljava/lang/String;Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;Ljava/lang/String;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=6
start local 0 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
putfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.this$0:Lcom/sun/tools/example/debug/gui/SourceTreeTool;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aload 2
putfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.name:Ljava/lang/String;
3: aload 0
aload 4
putfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.relativePath:Ljava/lang/String;
4: aload 0
aload 3
putfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.parent:Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
5: aload 0
iload 5
putfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.isDirectory:Z
6: return
end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
0 7 2 label Ljava/lang/String;
0 7 3 parent Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
0 7 4 relativePath Ljava/lang/String;
0 7 5 isDirectory Z
MethodParameters:
Name Flags
this$0 final
label
parent
relativePath
isDirectory
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
public java.lang.String getRelativePath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.relativePath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
private void expandIfNeeded();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=6, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.isExpanded:Z
ifne 18
aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.isDirectory:Z
ifeq 18
1: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.this$0:Lcom/sun/tools/example/debug/gui/SourceTreeTool;
getfield com.sun.tools.example.debug.gui.SourceTreeTool.sourcePath:Lcom/sun/tools/example/debug/gui/SearchPath;
aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.relativePath:Ljava/lang/String;
getstatic com.sun.tools.example.debug.gui.SourceTreeTool.filter:Ljava/io/FilenameFilter;
invokevirtual com.sun.tools.example.debug.gui.SearchPath.children:(Ljava/lang/String;Ljava/io/FilenameFilter;)[Ljava/lang/String;
astore 1
start local 1 2: aload 0
aload 1
arraylength
anewarray com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode
putfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.children:[Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
3: iconst_0
istore 2
start local 2 4: goto 17
5: StackMap locals: java.lang.String[] int
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.relativePath:Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: aload 1
iload 2
aaload
goto 8
7: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.relativePath:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: StackMap locals:
StackMap stack: java.lang.String
astore 3
start local 3 9: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.this$0:Lcom/sun/tools/example/debug/gui/SourceTreeTool;
getfield com.sun.tools.example.debug.gui.SourceTreeTool.sourcePath:Lcom/sun/tools/example/debug/gui/SearchPath;
aload 3
invokevirtual com.sun.tools.example.debug.gui.SearchPath.resolve:(Ljava/lang/String;)Ljava/io/File;
astore 4
start local 4 10: aload 4
ifnull 11
aload 4
invokevirtual java.io.File.isDirectory:()Z
ifeq 11
iconst_1
goto 12
StackMap locals: java.lang.String java.io.File
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: istore 5
start local 5 13: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.children:[Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
iload 2
14: new com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode
dup
aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.this$0:Lcom/sun/tools/example/debug/gui/SourceTreeTool;
aload 1
iload 2
aaload
aload 0
aload 3
iload 5
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
15: aastore
end local 5 end local 4 end local 3 16: iinc 2 1
StackMap locals:
StackMap stack:
17: iload 2
aload 1
arraylength
if_icmplt 5
end local 2 end local 1 18: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.isExpanded:Z
19: goto 23
StackMap locals:
StackMap stack: java.lang.SecurityException
20: pop
21: aload 0
aconst_null
putfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.children:[Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
22: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.this$0:Lcom/sun/tools/example/debug/gui/SourceTreeTool;
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
23: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
2 18 1 files [Ljava/lang/String;
4 18 2 i I
9 16 3 childName Ljava/lang/String;
10 16 4 file Ljava/io/File;
13 16 5 isDir Z
Exception table:
from to target type
0 19 20 Class java.lang.SecurityException
public javax.swing.tree.TreeNode getChildAt(int);
descriptor: (I)Ljavax/swing/tree/TreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.expandIfNeeded:()V
1: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.children:[Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
0 2 1 childIndex I
MethodParameters:
Name Flags
childIndex
public int getChildCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.expandIfNeeded:()V
1: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.children:[Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
public javax.swing.tree.TreeNode getParent();
descriptor: ()Ljavax/swing/tree/TreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.parent:Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
public int getIndex(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.expandIfNeeded:()V
1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.children:[Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
iload 2
aaload
aload 1
if_acmpne 5
4: iload 2
ireturn
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.children:[Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
arraylength
if_icmplt 3
end local 2 7: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
0 8 1 node Ljavax/swing/tree/TreeNode;
2 7 2 i I
MethodParameters:
Name Flags
node
public boolean getAllowsChildren();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.isDirectory:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
public boolean isLeaf();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.expandIfNeeded:()V
1: aload 0
getfield com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.isDirectory:Z
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
public java.util.Enumeration children();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode.expandIfNeeded:()V
1: new com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode$1
dup
aload 0
invokespecial com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode$1.<init>:(Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/SourceTreeTool$SourceTreeNode;
}
SourceFile: "SourceTreeTool.java"
NestHost: com.sun.tools.example.debug.gui.SourceTreeTool
InnerClasses:
SourceTreeNode = com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode of com.sun.tools.example.debug.gui.SourceTreeTool
com.sun.tools.example.debug.gui.SourceTreeTool$SourceTreeNode$1