class com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode extends javax.swing.tree.DefaultMutableTreeNode
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode
super_class: javax.swing.tree.DefaultMutableTreeNode
{
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private com.sun.jdi.ReferenceType refTy;
descriptor: Lcom/sun/jdi/ReferenceType;
flags: (0x0002) ACC_PRIVATE
final com.sun.tools.example.debug.gui.ClassTreeTool this$0;
descriptor: Lcom/sun/tools/example/debug/gui/ClassTreeTool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.tools.example.debug.gui.ClassTreeTool, java.lang.String, com.sun.jdi.ReferenceType);
descriptor: (Lcom/sun/tools/example/debug/gui/ClassTreeTool;Ljava/lang/String;Lcom/sun/jdi/ReferenceType;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.this$0:Lcom/sun/tools/example/debug/gui/ClassTreeTool;
aload 0
invokespecial javax.swing.tree.DefaultMutableTreeNode.<init>:()V
1: aload 0
aload 2
putfield com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.name:Ljava/lang/String;
2: aload 0
aload 3
putfield com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.refTy:Lcom/sun/jdi/ReferenceType;
3: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
0 4 2 name Ljava/lang/String;
0 4 3 refTy Lcom/sun/jdi/ReferenceType;
MethodParameters:
Name Flags
this$0 final
name
refTy
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.ClassTreeTool$ClassTreeNode.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
public com.sun.jdi.ReferenceType getReferenceType();
descriptor: ()Lcom/sun/jdi/ReferenceType;
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.ClassTreeTool$ClassTreeNode.refTy:Lcom/sun/jdi/ReferenceType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
public java.lang.String getReferenceTypeName();
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.ClassTreeTool$ClassTreeNode.refTy:Lcom/sun/jdi/ReferenceType;
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
private boolean isPackage();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.refTy:Lcom/sun/jdi/ReferenceType;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
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.ClassTreeTool$ClassTreeNode.isPackage:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
public void addClass(com.sun.jdi.ReferenceType);
descriptor: (Lcom/sun/jdi/ReferenceType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface com.sun.jdi.ReferenceType.name:()Ljava/lang/String;
aload 1
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.addClass:(Ljava/lang/String;Lcom/sun/jdi/ReferenceType;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
0 2 1 refTy Lcom/sun/jdi/ReferenceType;
MethodParameters:
Name Flags
refTy
private void addClass(java.lang.String, com.sun.jdi.ReferenceType);
descriptor: (Ljava/lang/String;Lcom/sun/jdi/ReferenceType;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 3: iload 3
ifge 6
4: aload 0
aload 1
aload 2
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.insertNode:(Ljava/lang/String;Lcom/sun/jdi/ReferenceType;)Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
pop
5: goto 10
6: StackMap locals: int
StackMap stack:
aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 7: aload 1
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
start local 5 8: aload 0
aload 4
aconst_null
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.insertNode:(Ljava/lang/String;Lcom/sun/jdi/ReferenceType;)Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
astore 6
start local 6 9: aload 6
aload 5
aload 2
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.addClass:(Ljava/lang/String;Lcom/sun/jdi/ReferenceType;)V
end local 6 end local 5 end local 4 10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
0 11 1 className Ljava/lang/String;
0 11 2 refTy Lcom/sun/jdi/ReferenceType;
3 11 3 pos I
7 10 4 head Ljava/lang/String;
8 10 5 tail Ljava/lang/String;
9 10 6 child Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
MethodParameters:
Name Flags
className
refTy
private com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode insertNode(java.lang.String, com.sun.jdi.ReferenceType);
descriptor: (Ljava/lang/String;Lcom/sun/jdi/ReferenceType;)Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 11
2: StackMap locals: int
StackMap stack:
aload 0
iload 3
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.getChildAt:(I)Ljavax/swing/tree/TreeNode;
checkcast com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode
astore 4
start local 4 3: aload 1
aload 4
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.toString:()Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
istore 5
start local 5 4: iload 5
ifne 6
5: aload 4
areturn
6: StackMap locals: com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode int
StackMap stack:
iload 5
ifge 10
7: new com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode
dup
aload 0
getfield com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.this$0:Lcom/sun/tools/example/debug/gui/ClassTreeTool;
aload 1
aload 2
invokespecial com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.<init>:(Lcom/sun/tools/example/debug/gui/ClassTreeTool;Ljava/lang/String;Lcom/sun/jdi/ReferenceType;)V
astore 6
start local 6 8: aload 0
getfield com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.this$0:Lcom/sun/tools/example/debug/gui/ClassTreeTool;
getfield com.sun.tools.example.debug.gui.ClassTreeTool.treeModel:Ljavax/swing/tree/DefaultTreeModel;
aload 6
aload 0
iload 3
invokevirtual javax.swing.tree.DefaultTreeModel.insertNodeInto:(Ljavax/swing/tree/MutableTreeNode;Ljavax/swing/tree/MutableTreeNode;I)V
9: aload 6
areturn
end local 6 end local 5 end local 4 10: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
aload 0
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.getChildCount:()I
if_icmplt 2
end local 3 12: new com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode
dup
aload 0
getfield com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.this$0:Lcom/sun/tools/example/debug/gui/ClassTreeTool;
aload 1
aload 2
invokespecial com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.<init>:(Lcom/sun/tools/example/debug/gui/ClassTreeTool;Ljava/lang/String;Lcom/sun/jdi/ReferenceType;)V
astore 3
start local 3 13: aload 0
getfield com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.this$0:Lcom/sun/tools/example/debug/gui/ClassTreeTool;
getfield com.sun.tools.example.debug.gui.ClassTreeTool.treeModel:Ljavax/swing/tree/DefaultTreeModel;
aload 3
aload 0
aload 0
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.getChildCount:()I
invokevirtual javax.swing.tree.DefaultTreeModel.insertNodeInto:(Ljavax/swing/tree/MutableTreeNode;Ljavax/swing/tree/MutableTreeNode;I)V
14: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
0 15 1 name Ljava/lang/String;
0 15 2 refTy Lcom/sun/jdi/ReferenceType;
1 12 3 i I
3 10 4 child Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
4 10 5 cmp I
8 10 6 newChild Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
13 15 3 newChild Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
MethodParameters:
Name Flags
name
refTy
public void removeClass(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 3: iload 2
ifge 8
4: aload 0
aload 1
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.findNode:(Ljava/lang/String;)Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
astore 3
start local 3 5: aload 0
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.isPackage:()Z
ifne 14
6: aload 0
getfield com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.this$0:Lcom/sun/tools/example/debug/gui/ClassTreeTool;
getfield com.sun.tools.example.debug.gui.ClassTreeTool.treeModel:Ljavax/swing/tree/DefaultTreeModel;
aload 3
invokevirtual javax.swing.tree.DefaultTreeModel.removeNodeFromParent:(Ljavax/swing/tree/MutableTreeNode;)V
end local 3 7: goto 14
8: StackMap locals: int
StackMap stack:
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 9: aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 10: aload 0
aload 3
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.findNode:(Ljava/lang/String;)Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
astore 5
start local 5 11: aload 5
aload 4
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.removeClass:(Ljava/lang/String;)V
12: aload 0
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.isPackage:()Z
ifeq 14
aload 5
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.getChildCount:()I
iconst_1
if_icmpge 14
13: aload 0
getfield com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.this$0:Lcom/sun/tools/example/debug/gui/ClassTreeTool;
getfield com.sun.tools.example.debug.gui.ClassTreeTool.treeModel:Ljavax/swing/tree/DefaultTreeModel;
aload 5
invokevirtual javax.swing.tree.DefaultTreeModel.removeNodeFromParent:(Ljavax/swing/tree/MutableTreeNode;)V
end local 5 end local 4 end local 3 14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
0 15 1 className Ljava/lang/String;
3 15 2 pos I
5 7 3 child Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
9 14 3 head Ljava/lang/String;
10 14 4 tail Ljava/lang/String;
11 14 5 child Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
MethodParameters:
Name Flags
className
private com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode findNode(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.getChildAt:(I)Ljavax/swing/tree/TreeNode;
checkcast com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode
astore 3
start local 3 3: aload 1
aload 3
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.toString:()Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
istore 4
start local 4 4: iload 4
ifne 6
5: aload 3
areturn
6: StackMap locals: com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode int
StackMap stack:
iload 4
ifle 8
7: aconst_null
areturn
end local 4 end local 3 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
invokevirtual com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode.getChildCount:()I
if_icmplt 2
end local 2 10: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
0 11 1 name Ljava/lang/String;
1 10 2 i I
3 8 3 child Lcom/sun/tools/example/debug/gui/ClassTreeTool$ClassTreeNode;
4 8 4 cmp I
MethodParameters:
Name Flags
name
}
SourceFile: "ClassTreeTool.java"
NestHost: com.sun.tools.example.debug.gui.ClassTreeTool
InnerClasses:
ClassTreeNode = com.sun.tools.example.debug.gui.ClassTreeTool$ClassTreeNode of com.sun.tools.example.debug.gui.ClassTreeTool