public class javax.swing.JTree$TreeModelHandler implements javax.swing.event.TreeModelListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.JTree$TreeModelHandler
super_class: java.lang.Object
{
final javax.swing.JTree this$0;
descriptor: Ljavax/swing/JTree;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(javax.swing.JTree);
descriptor: (Ljavax/swing/JTree;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JTree$TreeModelHandler;
MethodParameters:
Name Flags
this$0 final
public void treeNodesChanged(javax.swing.event.TreeModelEvent);
descriptor: (Ljavax/swing/event/TreeModelEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JTree$TreeModelHandler;
0 1 1 e Ljavax/swing/event/TreeModelEvent;
MethodParameters:
Name Flags
e
public void treeNodesInserted(javax.swing.event.TreeModelEvent);
descriptor: (Ljavax/swing/event/TreeModelEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/JTree$TreeModelHandler;
0 1 1 e Ljavax/swing/event/TreeModelEvent;
MethodParameters:
Name Flags
e
public void treeStructureChanged(javax.swing.event.TreeModelEvent);
descriptor: (Ljavax/swing/event/TreeModelEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
invokevirtual javax.swing.JTree.getModel:()Ljavax/swing/tree/TreeModel;
invokestatic sun.swing.SwingUtilities2.getTreePath:(Ljavax/swing/event/TreeModelEvent;Ljavax/swing/tree/TreeModel;)Ljavax/swing/tree/TreePath;
astore 2
start local 2 3: aload 2
ifnonnull 5
4: return
5: StackMap locals: javax.swing.tree.TreePath
StackMap stack:
aload 2
invokevirtual javax.swing.tree.TreePath.getPathCount:()I
iconst_1
if_icmpne 12
6: aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
invokevirtual javax.swing.JTree.clearToggledPaths:()V
7: aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
getfield javax.swing.JTree.treeModel:Ljavax/swing/tree/TreeModel;
invokeinterface javax.swing.tree.TreeModel.getRoot:()Ljava/lang/Object;
astore 3
start local 3 8: aload 3
ifnull 25
9: aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
getfield javax.swing.JTree.treeModel:Ljavax/swing/tree/TreeModel;
aload 3
invokeinterface javax.swing.tree.TreeModel.isLeaf:(Ljava/lang/Object;)Z
ifne 25
10: aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
getfield javax.swing.JTree.expandedState:Ljava/util/Hashtable;
aload 2
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 11: goto 25
12: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
getfield javax.swing.JTree.expandedState:Ljava/util/Hashtable;
aload 2
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 25
13: new java.util.Vector
dup
iconst_1
invokespecial java.util.Vector.<init>:(I)V
astore 3
start local 3 14: aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
aload 2
invokevirtual javax.swing.JTree.isExpanded:(Ljavax/swing/tree/TreePath;)Z
istore 4
start local 4 15: aload 3
aload 2
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
16: aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
aload 3
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
invokevirtual javax.swing.JTree.removeDescendantToggledPaths:(Ljava/util/Enumeration;)V
17: iload 4
ifeq 25
18: aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
invokevirtual javax.swing.JTree.getModel:()Ljavax/swing/tree/TreeModel;
astore 5
start local 5 19: aload 5
ifnull 23
aload 5
20: aload 2
invokevirtual javax.swing.tree.TreePath.getLastPathComponent:()Ljava/lang/Object;
21: invokeinterface javax.swing.tree.TreeModel.isLeaf:(Ljava/lang/Object;)Z
22: ifeq 24
23: StackMap locals: java.util.Vector int javax.swing.tree.TreeModel
StackMap stack:
aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
aload 2
invokevirtual javax.swing.JTree.collapsePath:(Ljavax/swing/tree/TreePath;)V
goto 25
24: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
getfield javax.swing.JTree.expandedState:Ljava/util/Hashtable;
aload 2
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 end local 3 25: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
aload 2
iconst_0
invokevirtual javax.swing.JTree.removeDescendantSelectedPaths:(Ljavax/swing/tree/TreePath;Z)Z
pop
26: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/swing/JTree$TreeModelHandler;
0 27 1 e Ljavax/swing/event/TreeModelEvent;
3 27 2 parent Ljavax/swing/tree/TreePath;
8 11 3 treeRoot Ljava/lang/Object;
14 25 3 toRemove Ljava/util/Vector<Ljavax/swing/tree/TreePath;>;
15 25 4 isExpanded Z
19 25 5 model Ljavax/swing/tree/TreeModel;
MethodParameters:
Name Flags
e
public void treeNodesRemoved(javax.swing.event.TreeModelEvent);
descriptor: (Ljavax/swing/event/TreeModelEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
invokevirtual javax.swing.JTree.getModel:()Ljavax/swing/tree/TreeModel;
invokestatic sun.swing.SwingUtilities2.getTreePath:(Ljavax/swing/event/TreeModelEvent;Ljavax/swing/tree/TreeModel;)Ljavax/swing/tree/TreePath;
astore 2
start local 2 3: aload 1
invokevirtual javax.swing.event.TreeModelEvent.getChildren:()[Ljava/lang/Object;
astore 3
start local 3 4: aload 3
ifnonnull 6
5: return
6: StackMap locals: javax.swing.tree.TreePath java.lang.Object[]
StackMap stack:
new java.util.Vector
dup
iconst_1
aload 3
arraylength
invokestatic java.lang.Math.max:(II)I
invokespecial java.util.Vector.<init>:(I)V
7: astore 5
start local 5 8: aload 3
arraylength
iconst_1
isub
istore 6
start local 6 9: goto 14
10: StackMap locals: javax.swing.JTree$TreeModelHandler javax.swing.event.TreeModelEvent javax.swing.tree.TreePath java.lang.Object[] top java.util.Vector int
StackMap stack:
aload 2
aload 3
iload 6
aaload
invokevirtual javax.swing.tree.TreePath.pathByAddingChild:(Ljava/lang/Object;)Ljavax/swing/tree/TreePath;
astore 4
start local 4 11: aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
getfield javax.swing.JTree.expandedState:Ljava/util/Hashtable;
aload 4
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 13
12: aload 5
aload 4
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
13: StackMap locals: javax.swing.JTree$TreeModelHandler javax.swing.event.TreeModelEvent javax.swing.tree.TreePath java.lang.Object[] javax.swing.tree.TreePath java.util.Vector int
StackMap stack:
iinc 6 -1
end local 4 StackMap locals: javax.swing.JTree$TreeModelHandler javax.swing.event.TreeModelEvent javax.swing.tree.TreePath java.lang.Object[] top java.util.Vector int
StackMap stack:
14: iload 6
ifge 10
end local 6 15: aload 5
invokevirtual java.util.Vector.size:()I
ifle 17
16: aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
aload 5
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
invokevirtual javax.swing.JTree.removeDescendantToggledPaths:(Ljava/util/Enumeration;)V
17: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
invokevirtual javax.swing.JTree.getModel:()Ljavax/swing/tree/TreeModel;
astore 6
start local 6 18: aload 6
ifnull 19
aload 6
aload 2
invokevirtual javax.swing.tree.TreePath.getLastPathComponent:()Ljava/lang/Object;
invokeinterface javax.swing.tree.TreeModel.isLeaf:(Ljava/lang/Object;)Z
ifeq 20
19: StackMap locals: javax.swing.tree.TreeModel
StackMap stack:
aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
getfield javax.swing.JTree.expandedState:Ljava/util/Hashtable;
aload 2
invokevirtual java.util.Hashtable.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
20: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.JTree$TreeModelHandler.this$0:Ljavax/swing/JTree;
aload 1
invokevirtual javax.swing.JTree.removeDescendantSelectedPaths:(Ljavax/swing/event/TreeModelEvent;)V
21: return
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljavax/swing/JTree$TreeModelHandler;
0 22 1 e Ljavax/swing/event/TreeModelEvent;
3 22 2 parent Ljavax/swing/tree/TreePath;
4 22 3 children [Ljava/lang/Object;
11 14 4 rPath Ljavax/swing/tree/TreePath;
8 22 5 toRemove Ljava/util/Vector<Ljavax/swing/tree/TreePath;>;
9 15 6 counter I
18 22 6 model Ljavax/swing/tree/TreeModel;
MethodParameters:
Name Flags
e
}
SourceFile: "JTree.java"
NestHost: javax.swing.JTree
InnerClasses:
protected TreeModelHandler = javax.swing.JTree$TreeModelHandler of javax.swing.JTree