public class javax.swing.tree.DefaultTreeModel implements java.io.Serializable, javax.swing.tree.TreeModel
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.tree.DefaultTreeModel
super_class: java.lang.Object
{
protected javax.swing.tree.TreeNode root;
descriptor: Ljavax/swing/tree/TreeNode;
flags: (0x0004) ACC_PROTECTED
protected javax.swing.event.EventListenerList listenerList;
descriptor: Ljavax/swing/event/EventListenerList;
flags: (0x0004) ACC_PROTECTED
protected boolean asksAllowsChildren;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
public void <init>(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial javax.swing.tree.DefaultTreeModel.<init>:(Ljavax/swing/tree/TreeNode;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultTreeModel;
0 2 1 root Ljavax/swing/tree/TreeNode;
RuntimeVisibleAnnotations:
java.beans.ConstructorProperties(value = {"root"})
MethodParameters:
Name Flags
root
public void <init>(javax.swing.tree.TreeNode, boolean);
descriptor: (Ljavax/swing/tree/TreeNode;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new javax.swing.event.EventListenerList
dup
invokespecial javax.swing.event.EventListenerList.<init>:()V
putfield javax.swing.tree.DefaultTreeModel.listenerList:Ljavax/swing/event/EventListenerList;
2: aload 0
aload 1
putfield javax.swing.tree.DefaultTreeModel.root:Ljavax/swing/tree/TreeNode;
3: aload 0
iload 2
putfield javax.swing.tree.DefaultTreeModel.asksAllowsChildren:Z
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/tree/DefaultTreeModel;
0 5 1 root Ljavax/swing/tree/TreeNode;
0 5 2 asksAllowsChildren Z
MethodParameters:
Name Flags
root
asksAllowsChildren
public void setAsksAllowsChildren(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.tree.DefaultTreeModel.asksAllowsChildren:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultTreeModel;
0 2 1 newValue Z
MethodParameters:
Name Flags
newValue
public boolean asksAllowsChildren();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.asksAllowsChildren:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultTreeModel;
public void setRoot(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.root:Ljavax/swing/tree/TreeNode;
astore 2
start local 2 1: aload 0
aload 1
putfield javax.swing.tree.DefaultTreeModel.root:Ljavax/swing/tree/TreeNode;
2: aload 1
ifnonnull 5
aload 2
ifnull 5
3: aload 0
aload 0
aconst_null
invokevirtual javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged:(Ljava/lang/Object;Ljavax/swing/tree/TreePath;)V
4: goto 6
5: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultTreeModel.nodeStructureChanged:(Ljavax/swing/tree/TreeNode;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/tree/DefaultTreeModel;
0 7 1 root Ljavax/swing/tree/TreeNode;
1 7 2 oldRoot Ljava/lang/Object;
MethodParameters:
Name Flags
root
public java.lang.Object getRoot();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.root:Ljavax/swing/tree/TreeNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultTreeModel;
public int getIndexOfChild(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 2
ifnonnull 2
1: StackMap locals:
StackMap stack:
iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.tree.TreeNode
aload 2
checkcast javax.swing.tree.TreeNode
invokeinterface javax.swing.tree.TreeNode.getIndex:(Ljavax/swing/tree/TreeNode;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultTreeModel;
0 3 1 parent Ljava/lang/Object;
0 3 2 child Ljava/lang/Object;
MethodParameters:
Name Flags
parent
child
public java.lang.Object getChild(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
checkcast javax.swing.tree.TreeNode
iload 2
invokeinterface javax.swing.tree.TreeNode.getChildAt:(I)Ljavax/swing/tree/TreeNode;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultTreeModel;
0 1 1 parent Ljava/lang/Object;
0 1 2 index I
MethodParameters:
Name Flags
parent
index
public int getChildCount(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
checkcast javax.swing.tree.TreeNode
invokeinterface javax.swing.tree.TreeNode.getChildCount:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultTreeModel;
0 1 1 parent Ljava/lang/Object;
MethodParameters:
Name Flags
parent
public boolean isLeaf(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.asksAllowsChildren:Z
ifeq 4
1: aload 1
checkcast javax.swing.tree.TreeNode
invokeinterface javax.swing.tree.TreeNode.getAllowsChildren:()Z
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.tree.TreeNode
invokeinterface javax.swing.tree.TreeNode.isLeaf:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/tree/DefaultTreeModel;
0 5 1 node Ljava/lang/Object;
MethodParameters:
Name Flags
node
public void reload();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield javax.swing.tree.DefaultTreeModel.root:Ljavax/swing/tree/TreeNode;
invokevirtual javax.swing.tree.DefaultTreeModel.reload:(Ljavax/swing/tree/TreeNode;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultTreeModel;
public void valueForPathChanged(javax.swing.tree.TreePath, java.lang.Object);
descriptor: (Ljavax/swing/tree/TreePath;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual javax.swing.tree.TreePath.getLastPathComponent:()Ljava/lang/Object;
checkcast javax.swing.tree.MutableTreeNode
astore 3
start local 3 1: aload 3
aload 2
invokeinterface javax.swing.tree.MutableTreeNode.setUserObject:(Ljava/lang/Object;)V
2: aload 0
aload 3
invokevirtual javax.swing.tree.DefaultTreeModel.nodeChanged:(Ljavax/swing/tree/TreeNode;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/tree/DefaultTreeModel;
0 4 1 path Ljavax/swing/tree/TreePath;
0 4 2 newValue Ljava/lang/Object;
1 4 3 aNode Ljavax/swing/tree/MutableTreeNode;
MethodParameters:
Name Flags
path
newValue
public void insertNodeInto(javax.swing.tree.MutableTreeNode, javax.swing.tree.MutableTreeNode, int);
descriptor: (Ljavax/swing/tree/MutableTreeNode;Ljavax/swing/tree/MutableTreeNode;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 1
iload 3
invokeinterface javax.swing.tree.MutableTreeNode.insert:(Ljavax/swing/tree/MutableTreeNode;I)V
1: iconst_1
newarray 10
astore 4
start local 4 2: aload 4
iconst_0
iload 3
iastore
3: aload 0
aload 2
aload 4
invokevirtual javax.swing.tree.DefaultTreeModel.nodesWereInserted:(Ljavax/swing/tree/TreeNode;[I)V
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/tree/DefaultTreeModel;
0 5 1 newChild Ljavax/swing/tree/MutableTreeNode;
0 5 2 parent Ljavax/swing/tree/MutableTreeNode;
0 5 3 index I
2 5 4 newIndexs [I
MethodParameters:
Name Flags
newChild
parent
index
public void removeNodeFromParent(javax.swing.tree.MutableTreeNode);
descriptor: (Ljavax/swing/tree/MutableTreeNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.swing.tree.MutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.MutableTreeNode
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "node does not have a parent."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.swing.tree.MutableTreeNode
StackMap stack:
iconst_1
newarray 10
astore 3
start local 3 4: iconst_1
anewarray java.lang.Object
astore 4
start local 4 5: aload 3
iconst_0
aload 2
aload 1
invokeinterface javax.swing.tree.MutableTreeNode.getIndex:(Ljavax/swing/tree/TreeNode;)I
iastore
6: aload 2
aload 3
iconst_0
iaload
invokeinterface javax.swing.tree.MutableTreeNode.remove:(I)V
7: aload 4
iconst_0
aload 1
aastore
8: aload 0
aload 2
aload 3
aload 4
invokevirtual javax.swing.tree.DefaultTreeModel.nodesWereRemoved:(Ljavax/swing/tree/TreeNode;[I[Ljava/lang/Object;)V
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/tree/DefaultTreeModel;
0 10 1 node Ljavax/swing/tree/MutableTreeNode;
1 10 2 parent Ljavax/swing/tree/MutableTreeNode;
4 10 3 childIndex [I
5 10 4 removedArray [Ljava/lang/Object;
MethodParameters:
Name Flags
node
public void nodeChanged(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.listenerList:Ljavax/swing/event/EventListenerList;
ifnull 11
aload 1
ifnull 11
1: aload 1
invokeinterface javax.swing.tree.TreeNode.getParent:()Ljavax/swing/tree/TreeNode;
astore 2
start local 2 2: aload 2
ifnull 9
3: aload 2
aload 1
invokeinterface javax.swing.tree.TreeNode.getIndex:(Ljavax/swing/tree/TreeNode;)I
istore 3
start local 3 4: iload 3
iconst_m1
if_icmpeq 11
5: iconst_1
newarray 10
astore 4
start local 4 6: aload 4
iconst_0
iload 3
iastore
7: aload 0
aload 2
aload 4
invokevirtual javax.swing.tree.DefaultTreeModel.nodesChanged:(Ljavax/swing/tree/TreeNode;[I)V
end local 4 end local 3 8: goto 11
9: StackMap locals: javax.swing.tree.TreeNode
StackMap stack:
aload 1
aload 0
invokevirtual javax.swing.tree.DefaultTreeModel.getRoot:()Ljava/lang/Object;
if_acmpne 11
10: aload 0
aload 1
aconst_null
invokevirtual javax.swing.tree.DefaultTreeModel.nodesChanged:(Ljavax/swing/tree/TreeNode;[I)V
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/tree/DefaultTreeModel;
0 12 1 node Ljavax/swing/tree/TreeNode;
2 11 2 parent Ljavax/swing/tree/TreeNode;
4 8 3 anIndex I
6 8 4 cIndexs [I
MethodParameters:
Name Flags
node
public void reload(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 0
aload 0
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultTreeModel.getPathToRoot:(Ljavax/swing/tree/TreeNode;)[Ljavax/swing/tree/TreeNode;
aconst_null
aconst_null
invokevirtual javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged:(Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultTreeModel;
0 3 1 node Ljavax/swing/tree/TreeNode;
MethodParameters:
Name Flags
node
public void nodesWereInserted(javax.swing.tree.TreeNode, int[]);
descriptor: (Ljavax/swing/tree/TreeNode;[I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.listenerList:Ljavax/swing/event/EventListenerList;
ifnull 12
aload 1
ifnull 12
aload 2
ifnull 12
1: aload 2
arraylength
ifle 12
2: aload 2
arraylength
istore 3
start local 3 3: iload 3
anewarray java.lang.Object
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 8
6: StackMap locals: int java.lang.Object[] int
StackMap stack:
aload 4
iload 5
aload 1
aload 2
iload 5
iaload
invokeinterface javax.swing.tree.TreeNode.getChildAt:(I)Ljavax/swing/tree/TreeNode;
aastore
7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 3
if_icmplt 6
end local 5 9: aload 0
aload 0
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultTreeModel.getPathToRoot:(Ljavax/swing/tree/TreeNode;)[Ljavax/swing/tree/TreeNode;
aload 2
10: aload 4
11: invokevirtual javax.swing.tree.DefaultTreeModel.fireTreeNodesInserted:(Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
end local 4 end local 3 12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/tree/DefaultTreeModel;
0 13 1 node Ljavax/swing/tree/TreeNode;
0 13 2 childIndices [I
3 12 3 cCount I
4 12 4 newChildren [Ljava/lang/Object;
5 9 5 counter I
MethodParameters:
Name Flags
node
childIndices
public void nodesWereRemoved(javax.swing.tree.TreeNode, int[], java.lang.Object[]);
descriptor: (Ljavax/swing/tree/TreeNode;[I[Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 4
aload 2
ifnull 4
1: aload 0
aload 0
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultTreeModel.getPathToRoot:(Ljavax/swing/tree/TreeNode;)[Ljavax/swing/tree/TreeNode;
aload 2
2: aload 3
3: invokevirtual javax.swing.tree.DefaultTreeModel.fireTreeNodesRemoved:(Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/tree/DefaultTreeModel;
0 5 1 node Ljavax/swing/tree/TreeNode;
0 5 2 childIndices [I
0 5 3 removedChildren [Ljava/lang/Object;
MethodParameters:
Name Flags
node
childIndices
removedChildren
public void nodesChanged(javax.swing.tree.TreeNode, int[]);
descriptor: (Ljavax/swing/tree/TreeNode;[I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 18
1: aload 2
ifnull 16
2: aload 2
arraylength
istore 3
start local 3 3: iload 3
ifle 18
4: iload 3
anewarray java.lang.Object
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 11
7: StackMap locals: int java.lang.Object[] int
StackMap stack:
aload 4
iload 5
aload 1
8: aload 2
iload 5
iaload
9: invokeinterface javax.swing.tree.TreeNode.getChildAt:(I)Ljavax/swing/tree/TreeNode;
aastore
10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 3
if_icmplt 7
end local 5 12: aload 0
aload 0
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultTreeModel.getPathToRoot:(Ljavax/swing/tree/TreeNode;)[Ljavax/swing/tree/TreeNode;
13: aload 2
aload 4
14: invokevirtual javax.swing.tree.DefaultTreeModel.fireTreeNodesChanged:(Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
end local 4 end local 3 15: goto 18
16: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual javax.swing.tree.DefaultTreeModel.getRoot:()Ljava/lang/Object;
if_acmpne 18
17: aload 0
aload 0
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultTreeModel.getPathToRoot:(Ljavax/swing/tree/TreeNode;)[Ljavax/swing/tree/TreeNode;
aconst_null
aconst_null
invokevirtual javax.swing.tree.DefaultTreeModel.fireTreeNodesChanged:(Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/swing/tree/DefaultTreeModel;
0 19 1 node Ljavax/swing/tree/TreeNode;
0 19 2 childIndices [I
3 15 3 cCount I
5 15 4 cChildren [Ljava/lang/Object;
6 12 5 counter I
MethodParameters:
Name Flags
node
childIndices
public void nodeStructureChanged(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: aload 0
aload 0
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultTreeModel.getPathToRoot:(Ljavax/swing/tree/TreeNode;)[Ljavax/swing/tree/TreeNode;
aconst_null
aconst_null
invokevirtual javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged:(Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultTreeModel;
0 3 1 node Ljavax/swing/tree/TreeNode;
MethodParameters:
Name Flags
node
public javax.swing.tree.TreeNode[] getPathToRoot(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)[Ljavax/swing/tree/TreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual javax.swing.tree.DefaultTreeModel.getPathToRoot:(Ljavax/swing/tree/TreeNode;I)[Ljavax/swing/tree/TreeNode;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultTreeModel;
0 1 1 aNode Ljavax/swing/tree/TreeNode;
MethodParameters:
Name Flags
aNode
protected javax.swing.tree.TreeNode[] getPathToRoot(javax.swing.tree.TreeNode, int);
descriptor: (Ljavax/swing/tree/TreeNode;I)[Ljavax/swing/tree/TreeNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 5
1: iload 2
ifne 3
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
iload 2
anewarray javax.swing.tree.TreeNode
astore 3
start local 3 4: goto 11
end local 3 5: StackMap locals:
StackMap stack:
iinc 2 1
6: aload 1
aload 0
getfield javax.swing.tree.DefaultTreeModel.root:Ljavax/swing/tree/TreeNode;
if_acmpne 9
7: iload 2
anewarray javax.swing.tree.TreeNode
astore 3
start local 3 8: goto 10
end local 3 9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface javax.swing.tree.TreeNode.getParent:()Ljavax/swing/tree/TreeNode;
iload 2
invokevirtual javax.swing.tree.DefaultTreeModel.getPathToRoot:(Ljavax/swing/tree/TreeNode;I)[Ljavax/swing/tree/TreeNode;
astore 3
start local 3 10: StackMap locals: javax.swing.tree.TreeNode[]
StackMap stack:
aload 3
aload 3
arraylength
iload 2
isub
aload 1
aastore
11: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/tree/DefaultTreeModel;
0 12 1 aNode Ljavax/swing/tree/TreeNode;
0 12 2 depth I
4 5 3 retNodes [Ljavax/swing/tree/TreeNode;
8 9 3 retNodes [Ljavax/swing/tree/TreeNode;
10 12 3 retNodes [Ljavax/swing/tree/TreeNode;
MethodParameters:
Name Flags
aNode
depth
public void addTreeModelListener(javax.swing.event.TreeModelListener);
descriptor: (Ljavax/swing/event/TreeModelListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/TreeModelListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.add:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultTreeModel;
0 2 1 l Ljavax/swing/event/TreeModelListener;
MethodParameters:
Name Flags
l
public void removeTreeModelListener(javax.swing.event.TreeModelListener);
descriptor: (Ljavax/swing/event/TreeModelListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/TreeModelListener;
aload 1
invokevirtual javax.swing.event.EventListenerList.remove:(Ljava/lang/Class;Ljava/util/EventListener;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultTreeModel;
0 2 1 l Ljavax/swing/event/TreeModelListener;
MethodParameters:
Name Flags
l
public javax.swing.event.TreeModelListener[] getTreeModelListeners();
descriptor: ()[Ljavax/swing/event/TreeModelListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/TreeModelListener;
invokevirtual javax.swing.event.EventListenerList.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
checkcast javax.swing.event.TreeModelListener[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultTreeModel;
protected void fireTreeNodesChanged(java.lang.Object, java.lang.Object[], int[], java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.listenerList:Ljavax/swing/event/EventListenerList;
invokevirtual javax.swing.event.EventListenerList.getListenerList:()[Ljava/lang/Object;
astore 5
start local 5 1: aconst_null
astore 6
start local 6 2: aload 5
arraylength
iconst_2
isub
istore 7
start local 7 3: goto 11
4: StackMap locals: java.lang.Object[] javax.swing.event.TreeModelEvent int
StackMap stack:
aload 5
iload 7
aaload
ldc Ljavax/swing/event/TreeModelListener;
if_acmpne 10
5: aload 6
ifnonnull 9
6: new javax.swing.event.TreeModelEvent
dup
aload 1
aload 2
7: aload 3
aload 4
8: invokespecial javax.swing.event.TreeModelEvent.<init>:(Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
astore 6
9: StackMap locals:
StackMap stack:
aload 5
iload 7
iconst_1
iadd
aaload
checkcast javax.swing.event.TreeModelListener
aload 6
invokeinterface javax.swing.event.TreeModelListener.treeNodesChanged:(Ljavax/swing/event/TreeModelEvent;)V
10: StackMap locals:
StackMap stack:
iinc 7 -2
StackMap locals:
StackMap stack:
11: iload 7
ifge 4
end local 7 12: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/tree/DefaultTreeModel;
0 13 1 source Ljava/lang/Object;
0 13 2 path [Ljava/lang/Object;
0 13 3 childIndices [I
0 13 4 children [Ljava/lang/Object;
1 13 5 listeners [Ljava/lang/Object;
2 13 6 e Ljavax/swing/event/TreeModelEvent;
3 12 7 i I
MethodParameters:
Name Flags
source
path
childIndices
children
protected void fireTreeNodesInserted(java.lang.Object, java.lang.Object[], int[], java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.listenerList:Ljavax/swing/event/EventListenerList;
invokevirtual javax.swing.event.EventListenerList.getListenerList:()[Ljava/lang/Object;
astore 5
start local 5 1: aconst_null
astore 6
start local 6 2: aload 5
arraylength
iconst_2
isub
istore 7
start local 7 3: goto 11
4: StackMap locals: java.lang.Object[] javax.swing.event.TreeModelEvent int
StackMap stack:
aload 5
iload 7
aaload
ldc Ljavax/swing/event/TreeModelListener;
if_acmpne 10
5: aload 6
ifnonnull 9
6: new javax.swing.event.TreeModelEvent
dup
aload 1
aload 2
7: aload 3
aload 4
8: invokespecial javax.swing.event.TreeModelEvent.<init>:(Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
astore 6
9: StackMap locals:
StackMap stack:
aload 5
iload 7
iconst_1
iadd
aaload
checkcast javax.swing.event.TreeModelListener
aload 6
invokeinterface javax.swing.event.TreeModelListener.treeNodesInserted:(Ljavax/swing/event/TreeModelEvent;)V
10: StackMap locals:
StackMap stack:
iinc 7 -2
StackMap locals:
StackMap stack:
11: iload 7
ifge 4
end local 7 12: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/tree/DefaultTreeModel;
0 13 1 source Ljava/lang/Object;
0 13 2 path [Ljava/lang/Object;
0 13 3 childIndices [I
0 13 4 children [Ljava/lang/Object;
1 13 5 listeners [Ljava/lang/Object;
2 13 6 e Ljavax/swing/event/TreeModelEvent;
3 12 7 i I
MethodParameters:
Name Flags
source
path
childIndices
children
protected void fireTreeNodesRemoved(java.lang.Object, java.lang.Object[], int[], java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.listenerList:Ljavax/swing/event/EventListenerList;
invokevirtual javax.swing.event.EventListenerList.getListenerList:()[Ljava/lang/Object;
astore 5
start local 5 1: aconst_null
astore 6
start local 6 2: aload 5
arraylength
iconst_2
isub
istore 7
start local 7 3: goto 11
4: StackMap locals: java.lang.Object[] javax.swing.event.TreeModelEvent int
StackMap stack:
aload 5
iload 7
aaload
ldc Ljavax/swing/event/TreeModelListener;
if_acmpne 10
5: aload 6
ifnonnull 9
6: new javax.swing.event.TreeModelEvent
dup
aload 1
aload 2
7: aload 3
aload 4
8: invokespecial javax.swing.event.TreeModelEvent.<init>:(Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
astore 6
9: StackMap locals:
StackMap stack:
aload 5
iload 7
iconst_1
iadd
aaload
checkcast javax.swing.event.TreeModelListener
aload 6
invokeinterface javax.swing.event.TreeModelListener.treeNodesRemoved:(Ljavax/swing/event/TreeModelEvent;)V
10: StackMap locals:
StackMap stack:
iinc 7 -2
StackMap locals:
StackMap stack:
11: iload 7
ifge 4
end local 7 12: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/tree/DefaultTreeModel;
0 13 1 source Ljava/lang/Object;
0 13 2 path [Ljava/lang/Object;
0 13 3 childIndices [I
0 13 4 children [Ljava/lang/Object;
1 13 5 listeners [Ljava/lang/Object;
2 13 6 e Ljavax/swing/event/TreeModelEvent;
3 12 7 i I
MethodParameters:
Name Flags
source
path
childIndices
children
protected void fireTreeStructureChanged(java.lang.Object, java.lang.Object[], int[], java.lang.Object[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.listenerList:Ljavax/swing/event/EventListenerList;
invokevirtual javax.swing.event.EventListenerList.getListenerList:()[Ljava/lang/Object;
astore 5
start local 5 1: aconst_null
astore 6
start local 6 2: aload 5
arraylength
iconst_2
isub
istore 7
start local 7 3: goto 11
4: StackMap locals: java.lang.Object[] javax.swing.event.TreeModelEvent int
StackMap stack:
aload 5
iload 7
aaload
ldc Ljavax/swing/event/TreeModelListener;
if_acmpne 10
5: aload 6
ifnonnull 9
6: new javax.swing.event.TreeModelEvent
dup
aload 1
aload 2
7: aload 3
aload 4
8: invokespecial javax.swing.event.TreeModelEvent.<init>:(Ljava/lang/Object;[Ljava/lang/Object;[I[Ljava/lang/Object;)V
astore 6
9: StackMap locals:
StackMap stack:
aload 5
iload 7
iconst_1
iadd
aaload
checkcast javax.swing.event.TreeModelListener
aload 6
invokeinterface javax.swing.event.TreeModelListener.treeStructureChanged:(Ljavax/swing/event/TreeModelEvent;)V
10: StackMap locals:
StackMap stack:
iinc 7 -2
StackMap locals:
StackMap stack:
11: iload 7
ifge 4
end local 7 12: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/tree/DefaultTreeModel;
0 13 1 source Ljava/lang/Object;
0 13 2 path [Ljava/lang/Object;
0 13 3 childIndices [I
0 13 4 children [Ljava/lang/Object;
1 13 5 listeners [Ljava/lang/Object;
2 13 6 e Ljavax/swing/event/TreeModelEvent;
3 12 7 i I
MethodParameters:
Name Flags
source
path
childIndices
children
private void fireTreeStructureChanged(java.lang.Object, javax.swing.tree.TreePath);
descriptor: (Ljava/lang/Object;Ljavax/swing/tree/TreePath;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.listenerList:Ljavax/swing/event/EventListenerList;
invokevirtual javax.swing.event.EventListenerList.getListenerList:()[Ljava/lang/Object;
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 3
arraylength
iconst_2
isub
istore 5
start local 5 3: goto 9
4: StackMap locals: java.lang.Object[] javax.swing.event.TreeModelEvent int
StackMap stack:
aload 3
iload 5
aaload
ldc Ljavax/swing/event/TreeModelListener;
if_acmpne 8
5: aload 4
ifnonnull 7
6: new javax.swing.event.TreeModelEvent
dup
aload 1
aload 2
invokespecial javax.swing.event.TreeModelEvent.<init>:(Ljava/lang/Object;Ljavax/swing/tree/TreePath;)V
astore 4
7: StackMap locals:
StackMap stack:
aload 3
iload 5
iconst_1
iadd
aaload
checkcast javax.swing.event.TreeModelListener
aload 4
invokeinterface javax.swing.event.TreeModelListener.treeStructureChanged:(Ljavax/swing/event/TreeModelEvent;)V
8: StackMap locals:
StackMap stack:
iinc 5 -2
StackMap locals:
StackMap stack:
9: iload 5
ifge 4
end local 5 10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/tree/DefaultTreeModel;
0 11 1 source Ljava/lang/Object;
0 11 2 path Ljavax/swing/tree/TreePath;
1 11 3 listeners [Ljava/lang/Object;
2 11 4 e Ljavax/swing/event/TreeModelEvent;
3 10 5 i I
MethodParameters:
Name Flags
source
path
public <T extends java.util.EventListener> T[] getListeners(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)[Ljava/util/EventListener;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.tree.DefaultTreeModel.listenerList:Ljavax/swing/event/EventListenerList;
aload 1
invokevirtual javax.swing.event.EventListenerList.getListeners:(Ljava/lang/Class;)[Ljava/util/EventListener;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultTreeModel;
0 1 1 listenerType Ljava/lang/Class<TT;>;
Signature: <T::Ljava/util/EventListener;>(Ljava/lang/Class<TT;>;)[TT;
MethodParameters:
Name Flags
listenerType
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 2
start local 2 1: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
2: aload 0
getfield javax.swing.tree.DefaultTreeModel.root:Ljavax/swing/tree/TreeNode;
ifnull 5
aload 0
getfield javax.swing.tree.DefaultTreeModel.root:Ljavax/swing/tree/TreeNode;
instanceof java.io.Serializable
ifeq 5
3: aload 2
ldc "root"
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
4: aload 2
aload 0
getfield javax.swing.tree.DefaultTreeModel.root:Ljavax/swing/tree/TreeNode;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
5: StackMap locals: java.util.Vector
StackMap stack:
aload 1
aload 2
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/tree/DefaultTreeModel;
0 7 1 s Ljava/io/ObjectOutputStream;
1 7 2 values Ljava/util/Vector<Ljava/lang/Object;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.readFields:()Ljava/io/ObjectInputStream$GetField;
astore 2
start local 2 1: aload 2
ldc "listenerList"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.event.EventListenerList
astore 3
start local 3 2: aload 3
ifnonnull 4
3: new java.io.InvalidObjectException
dup
ldc "Null listenerList"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.io.ObjectInputStream$GetField javax.swing.event.EventListenerList
StackMap stack:
aload 0
aload 3
putfield javax.swing.tree.DefaultTreeModel.listenerList:Ljavax/swing/event/EventListenerList;
5: aload 0
aload 2
ldc "asksAllowsChildren"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Z)Z
putfield javax.swing.tree.DefaultTreeModel.asksAllowsChildren:Z
6: aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.util.Vector
astore 4
start local 4 7: iconst_0
istore 5
start local 5 8: aload 4
invokevirtual java.util.Vector.size:()I
istore 6
start local 6 9: iload 5
iload 6
if_icmpge 16
aload 4
iload 5
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
10: ldc "root"
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 16
11: aload 4
iinc 5 1
iload 5
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.tree.TreeNode
astore 7
start local 7 12: aload 7
ifnonnull 14
13: new java.io.InvalidObjectException
dup
ldc "Null root"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: javax.swing.tree.DefaultTreeModel java.io.ObjectInputStream java.io.ObjectInputStream$GetField javax.swing.event.EventListenerList java.util.Vector int int javax.swing.tree.TreeNode
StackMap stack:
aload 0
aload 7
putfield javax.swing.tree.DefaultTreeModel.root:Ljavax/swing/tree/TreeNode;
15: iinc 5 1
end local 7 16: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/tree/DefaultTreeModel;
0 17 1 s Ljava/io/ObjectInputStream;
1 17 2 f Ljava/io/ObjectInputStream$GetField;
2 17 3 newListenerList Ljavax/swing/event/EventListenerList;
7 17 4 values Ljava/util/Vector<*>;
8 17 5 indexCounter I
9 17 6 maxCounter I
12 16 7 newRoot Ljavax/swing/tree/TreeNode;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
}
SourceFile: "DefaultTreeModel.java"
InnerClasses:
public abstract GetField = java.io.ObjectInputStream$GetField of java.io.ObjectInputStream