public class javax.swing.tree.DefaultMutableTreeNode implements java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.tree.DefaultMutableTreeNode
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -4298474751201349152
public static final java.util.Enumeration<javax.swing.tree.TreeNode> EMPTY_ENUMERATION;
descriptor: Ljava/util/Enumeration;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Enumeration<Ljavax/swing/tree/TreeNode;>;
protected javax.swing.tree.MutableTreeNode parent;
descriptor: Ljavax/swing/tree/MutableTreeNode;
flags: (0x0004) ACC_PROTECTED
protected java.util.Vector<javax.swing.tree.TreeNode> children;
descriptor: Ljava/util/Vector;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Vector<Ljavax/swing/tree/TreeNode;>;
protected transient java.lang.Object userObject;
descriptor: Ljava/lang/Object;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected boolean allowsChildren;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.util.Collections.emptyEnumeration:()Ljava/util/Enumeration;
1: putstatic javax.swing.tree.DefaultMutableTreeNode.EMPTY_ENUMERATION:Ljava/util/Enumeration;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial javax.swing.tree.DefaultMutableTreeNode.<init>:(Ljava/lang/Object;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
public void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)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_1
invokespecial javax.swing.tree.DefaultMutableTreeNode.<init>:(Ljava/lang/Object;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 2 1 userObject Ljava/lang/Object;
MethodParameters:
Name Flags
userObject
public void <init>(java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
aconst_null
putfield javax.swing.tree.DefaultMutableTreeNode.parent:Ljavax/swing/tree/MutableTreeNode;
2: aload 0
iload 2
putfield javax.swing.tree.DefaultMutableTreeNode.allowsChildren:Z
3: aload 0
aload 1
putfield javax.swing.tree.DefaultMutableTreeNode.userObject:Ljava/lang/Object;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 5 1 userObject Ljava/lang/Object;
0 5 2 allowsChildren Z
MethodParameters:
Name Flags
userObject
allowsChildren
public void insert(javax.swing.tree.MutableTreeNode, int);
descriptor: (Ljavax/swing/tree/MutableTreeNode;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.allowsChildren:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "node does not allow children"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "new child is null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.isNodeAncestor:(Ljavax/swing/tree/TreeNode;)Z
ifeq 6
5: new java.lang.IllegalArgumentException
dup
ldc "new child is an ancestor"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.tree.MutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.MutableTreeNode
astore 3
start local 3 7: aload 3
ifnull 9
8: aload 3
aload 1
invokeinterface javax.swing.tree.MutableTreeNode.remove:(Ljavax/swing/tree/MutableTreeNode;)V
9: StackMap locals: javax.swing.tree.MutableTreeNode
StackMap stack:
aload 1
aload 0
invokeinterface javax.swing.tree.MutableTreeNode.setParent:(Ljavax/swing/tree/MutableTreeNode;)V
10: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.children:Ljava/util/Vector;
ifnonnull 12
11: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield javax.swing.tree.DefaultMutableTreeNode.children:Ljava/util/Vector;
12: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.children:Ljava/util/Vector;
aload 1
iload 2
invokevirtual java.util.Vector.insertElementAt:(Ljava/lang/Object;I)V
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 14 1 newChild Ljavax/swing/tree/MutableTreeNode;
0 14 2 childIndex I
7 14 3 oldParent Ljavax/swing/tree/MutableTreeNode;
MethodParameters:
Name Flags
newChild
childIndex
public void remove(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildAt:(I)Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.MutableTreeNode
astore 2
start local 2 1: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.children:Ljava/util/Vector;
iload 1
invokevirtual java.util.Vector.removeElementAt:(I)V
2: aload 2
aconst_null
invokeinterface javax.swing.tree.MutableTreeNode.setParent:(Ljavax/swing/tree/MutableTreeNode;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 4 1 childIndex I
1 4 2 child Ljavax/swing/tree/MutableTreeNode;
MethodParameters:
Name Flags
childIndex
public void setParent(javax.swing.tree.MutableTreeNode);
descriptor: (Ljavax/swing/tree/MutableTreeNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.tree.DefaultMutableTreeNode.parent:Ljavax/swing/tree/MutableTreeNode;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 2 1 newParent Ljavax/swing/tree/MutableTreeNode;
RuntimeVisibleAnnotations:
java.beans.Transient()
MethodParameters:
Name Flags
newParent
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 javax.swing.tree.DefaultMutableTreeNode.parent:Ljavax/swing/tree/MutableTreeNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
public javax.swing.tree.TreeNode getChildAt(int);
descriptor: (I)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
getfield javax.swing.tree.DefaultMutableTreeNode.children:Ljava/util/Vector;
ifnonnull 2
1: new java.lang.ArrayIndexOutOfBoundsException
dup
ldc "node has no children"
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.children:Ljava/util/Vector;
iload 1
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.tree.TreeNode
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 3 1 index I
MethodParameters:
Name Flags
index
public int getChildCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.children:Ljava/util/Vector;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.children:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
public int getIndex(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "argument is null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.isNodeChild:(Ljavax/swing/tree/TreeNode;)Z
ifne 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.children:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.indexOf:(Ljava/lang/Object;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 5 1 aChild Ljavax/swing/tree/TreeNode;
MethodParameters:
Name Flags
aChild
public java.util.Enumeration<javax.swing.tree.TreeNode> children();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.children:Ljava/util/Vector;
ifnonnull 2
1: getstatic javax.swing.tree.DefaultMutableTreeNode.EMPTY_ENUMERATION:Ljava/util/Enumeration;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.children:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
Signature: ()Ljava/util/Enumeration<Ljavax/swing/tree/TreeNode;>;
public void setAllowsChildren(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.allowsChildren:Z
if_icmpeq 4
1: aload 0
iload 1
putfield javax.swing.tree.DefaultMutableTreeNode.allowsChildren:Z
2: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.allowsChildren:Z
ifne 4
3: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.removeAllChildren:()V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 5 1 allows Z
MethodParameters:
Name Flags
allows
public boolean getAllowsChildren();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.allowsChildren:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
public void setUserObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.tree.DefaultMutableTreeNode.userObject:Ljava/lang/Object;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 2 1 userObject Ljava/lang/Object;
MethodParameters:
Name Flags
userObject
public java.lang.Object getUserObject();
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.DefaultMutableTreeNode.userObject:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
public void removeFromParent();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.MutableTreeNode
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
aload 0
invokeinterface javax.swing.tree.MutableTreeNode.remove:(Ljavax/swing/tree/MutableTreeNode;)V
3: StackMap locals: javax.swing.tree.MutableTreeNode
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
1 4 1 parent Ljavax/swing/tree/MutableTreeNode;
public void remove(javax.swing.tree.MutableTreeNode);
descriptor: (Ljavax/swing/tree/MutableTreeNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "argument is null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.isNodeChild:(Ljavax/swing/tree/TreeNode;)Z
ifne 4
3: new java.lang.IllegalArgumentException
dup
ldc "argument is not a child"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getIndex:(Ljavax/swing/tree/TreeNode;)I
invokevirtual javax.swing.tree.DefaultMutableTreeNode.remove:(I)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 6 1 aChild Ljavax/swing/tree/MutableTreeNode;
MethodParameters:
Name Flags
aChild
public void removeAllChildren();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildCount:()I
iconst_1
isub
istore 1
start local 1 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.remove:(I)V
3: iinc 1 -1
StackMap locals:
StackMap stack:
4: iload 1
ifge 2
end local 1 5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
1 5 1 i I
public void add(javax.swing.tree.MutableTreeNode);
descriptor: (Ljavax/swing/tree/MutableTreeNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
aload 1
invokeinterface javax.swing.tree.MutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
aload 0
if_acmpne 2
1: aload 0
aload 1
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildCount:()I
iconst_1
isub
invokevirtual javax.swing.tree.DefaultMutableTreeNode.insert:(Ljavax/swing/tree/MutableTreeNode;I)V
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildCount:()I
invokevirtual javax.swing.tree.DefaultMutableTreeNode.insert:(Ljavax/swing/tree/MutableTreeNode;I)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 4 1 newChild Ljavax/swing/tree/MutableTreeNode;
MethodParameters:
Name Flags
newChild
public boolean isNodeAncestor(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
astore 2
start local 2 3: StackMap locals: javax.swing.tree.TreeNode
StackMap stack:
aload 2
aload 1
if_acmpne 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface javax.swing.tree.TreeNode.getParent:()Ljavax/swing/tree/TreeNode;
dup
astore 2
ifnonnull 3
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 7 1 anotherNode Ljavax/swing/tree/TreeNode;
3 7 2 ancestor Ljavax/swing/tree/TreeNode;
MethodParameters:
Name Flags
anotherNode
public boolean isNodeDescendant(javax.swing.tree.DefaultMutableTreeNode);
descriptor: (Ljavax/swing/tree/DefaultMutableTreeNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.isNodeAncestor:(Ljavax/swing/tree/TreeNode;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 3 1 anotherNode Ljavax/swing/tree/DefaultMutableTreeNode;
MethodParameters:
Name Flags
anotherNode
public javax.swing.tree.TreeNode getSharedAncestor(javax.swing.tree.DefaultMutableTreeNode);
descriptor: (Ljavax/swing/tree/DefaultMutableTreeNode;)Ljavax/swing/tree/TreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getLevel:()I
istore 2
start local 2 5: aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getLevel:()I
istore 3
start local 3 6: iload 3
iload 2
if_icmple 11
7: iload 3
iload 2
isub
istore 4
start local 4 8: aload 1
astore 5
start local 5 9: aload 0
astore 6
start local 6 10: goto 17
end local 6 end local 5 end local 4 11: StackMap locals: int int
StackMap stack:
iload 2
iload 3
isub
istore 4
start local 4 12: aload 0
astore 5
start local 5 13: aload 1
astore 6
start local 6 14: goto 17
15: StackMap locals: int javax.swing.tree.TreeNode javax.swing.tree.TreeNode
StackMap stack:
aload 5
invokeinterface javax.swing.tree.TreeNode.getParent:()Ljavax/swing/tree/TreeNode;
astore 5
16: iinc 4 -1
17: StackMap locals:
StackMap stack:
iload 4
ifgt 15
18: StackMap locals:
StackMap stack:
aload 5
aload 6
if_acmpne 20
19: aload 5
areturn
20: StackMap locals:
StackMap stack:
aload 5
invokeinterface javax.swing.tree.TreeNode.getParent:()Ljavax/swing/tree/TreeNode;
astore 5
21: aload 6
invokeinterface javax.swing.tree.TreeNode.getParent:()Ljavax/swing/tree/TreeNode;
astore 6
22: aload 5
ifnonnull 18
23: aload 5
ifnonnull 24
aload 6
ifnull 25
24: StackMap locals:
StackMap stack:
new java.lang.Error
dup
ldc "nodes should be null"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
aconst_null
areturn
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 26 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 26 1 aNode Ljavax/swing/tree/DefaultMutableTreeNode;
5 26 2 level1 I
6 26 3 level2 I
8 11 4 diff I
12 26 4 diff I
9 11 5 node1 Ljavax/swing/tree/TreeNode;
13 26 5 node1 Ljavax/swing/tree/TreeNode;
10 11 6 node2 Ljavax/swing/tree/TreeNode;
14 26 6 node2 Ljavax/swing/tree/TreeNode;
MethodParameters:
Name Flags
aNode
public boolean isNodeRelated(javax.swing.tree.DefaultMutableTreeNode);
descriptor: (Ljavax/swing/tree/DefaultMutableTreeNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getRoot:()Ljavax/swing/tree/TreeNode;
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getRoot:()Ljavax/swing/tree/TreeNode;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 2 1 aNode Ljavax/swing/tree/DefaultMutableTreeNode;
MethodParameters:
Name Flags
aNode
public int getDepth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.breadthFirstEnumeration:()Ljava/util/Enumeration;
astore 2
start local 2 2: goto 4
3: StackMap locals: java.lang.Object java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
astore 1
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
5: aload 1
ifnonnull 7
6: new java.lang.Error
dup
ldc "nodes should be null"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
checkcast javax.swing.tree.DefaultMutableTreeNode
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getLevel:()I
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getLevel:()I
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
1 8 1 last Ljava/lang/Object;
2 8 2 enum_ Ljava/util/Enumeration<Ljavax/swing/tree/TreeNode;>;
public int getLevel();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: iconst_0
istore 2
start local 2 1: aload 0
astore 1
start local 1 2: goto 4
3: StackMap locals: javax.swing.tree.TreeNode int
StackMap stack:
iinc 2 1
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.tree.TreeNode.getParent:()Ljavax/swing/tree/TreeNode;
dup
astore 1
ifnonnull 3
5: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
2 6 1 ancestor Ljavax/swing/tree/TreeNode;
1 6 2 levels I
public javax.swing.tree.TreeNode[] getPath();
descriptor: ()[Ljavax/swing/tree/TreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
iconst_0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getPathToRoot:(Ljavax/swing/tree/TreeNode;I)[Ljavax/swing/tree/TreeNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
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 8
end local 3 5: StackMap locals:
StackMap stack:
iinc 2 1
6: aload 0
aload 1
invokeinterface javax.swing.tree.TreeNode.getParent:()Ljavax/swing/tree/TreeNode;
iload 2
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getPathToRoot:(Ljavax/swing/tree/TreeNode;I)[Ljavax/swing/tree/TreeNode;
astore 3
start local 3 7: aload 3
aload 3
arraylength
iload 2
isub
aload 1
aastore
8: StackMap locals: javax.swing.tree.TreeNode[]
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 9 1 aNode Ljavax/swing/tree/TreeNode;
0 9 2 depth I
4 5 3 retNodes [Ljavax/swing/tree/TreeNode;
7 9 3 retNodes [Ljavax/swing/tree/TreeNode;
MethodParameters:
Name Flags
aNode
depth
public java.lang.Object[] getUserObjectPath();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getPath:()[Ljavax/swing/tree/TreeNode;
astore 1
start local 1 1: aload 1
arraylength
anewarray java.lang.Object
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: javax.swing.tree.TreeNode[] java.lang.Object[] int
StackMap stack:
aload 2
iload 3
aload 1
iload 3
aaload
checkcast javax.swing.tree.DefaultMutableTreeNode
5: invokevirtual javax.swing.tree.DefaultMutableTreeNode.getUserObject:()Ljava/lang/Object;
6: aastore
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 1
arraylength
if_icmplt 4
end local 3 9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
1 10 1 realPath [Ljavax/swing/tree/TreeNode;
2 10 2 retPath [Ljava/lang/Object;
3 9 3 counter I
public javax.swing.tree.TreeNode getRoot();
descriptor: ()Ljavax/swing/tree/TreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: StackMap locals: javax.swing.tree.TreeNode
StackMap stack:
aload 1
astore 2
start local 2 2: aload 1
invokeinterface javax.swing.tree.TreeNode.getParent:()Ljavax/swing/tree/TreeNode;
astore 1
3: aload 1
ifnonnull 1
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
1 5 1 ancestor Ljavax/swing/tree/TreeNode;
2 5 2 previous Ljavax/swing/tree/TreeNode;
public boolean isRoot();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
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 Ljavax/swing/tree/DefaultMutableTreeNode;
public javax.swing.tree.DefaultMutableTreeNode getNextNode();
descriptor: ()Ljavax/swing/tree/DefaultMutableTreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildCount:()I
ifne 12
1: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getNextSibling:()Ljavax/swing/tree/DefaultMutableTreeNode;
astore 1
start local 1 2: aload 1
ifnonnull 11
3: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.DefaultMutableTreeNode
astore 2
start local 2 4: StackMap locals: javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 2
ifnonnull 6
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getNextSibling:()Ljavax/swing/tree/DefaultMutableTreeNode;
astore 1
7: aload 1
ifnull 9
8: aload 1
areturn
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.DefaultMutableTreeNode
astore 2
10: goto 4
end local 2 11: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 12: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildAt:(I)Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.DefaultMutableTreeNode
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
2 12 1 nextSibling Ljavax/swing/tree/DefaultMutableTreeNode;
4 11 2 aNode Ljavax/swing/tree/DefaultMutableTreeNode;
public javax.swing.tree.DefaultMutableTreeNode getPreviousNode();
descriptor: ()Ljavax/swing/tree/DefaultMutableTreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.DefaultMutableTreeNode
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: javax.swing.tree.DefaultMutableTreeNode top javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getPreviousSibling:()Ljavax/swing/tree/DefaultMutableTreeNode;
astore 1
start local 1 4: aload 1
ifnull 8
5: aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildCount:()I
ifne 7
6: aload 1
areturn
7: StackMap locals: javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getLastLeaf:()Ljavax/swing/tree/DefaultMutableTreeNode;
areturn
8: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
4 9 1 previousSibling Ljavax/swing/tree/DefaultMutableTreeNode;
1 9 2 myParent Ljavax/swing/tree/DefaultMutableTreeNode;
public java.util.Enumeration<javax.swing.tree.TreeNode> preorderEnumeration();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration
dup
aload 0
aload 0
invokespecial javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration.<init>:(Ljavax/swing/tree/DefaultMutableTreeNode;Ljavax/swing/tree/TreeNode;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
Signature: ()Ljava/util/Enumeration<Ljavax/swing/tree/TreeNode;>;
public java.util.Enumeration<javax.swing.tree.TreeNode> postorderEnumeration();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new javax.swing.tree.DefaultMutableTreeNode$PostorderEnumeration
dup
aload 0
aload 0
invokespecial javax.swing.tree.DefaultMutableTreeNode$PostorderEnumeration.<init>:(Ljavax/swing/tree/DefaultMutableTreeNode;Ljavax/swing/tree/TreeNode;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
Signature: ()Ljava/util/Enumeration<Ljavax/swing/tree/TreeNode;>;
public java.util.Enumeration<javax.swing.tree.TreeNode> breadthFirstEnumeration();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new javax.swing.tree.DefaultMutableTreeNode$BreadthFirstEnumeration
dup
aload 0
aload 0
invokespecial javax.swing.tree.DefaultMutableTreeNode$BreadthFirstEnumeration.<init>:(Ljavax/swing/tree/DefaultMutableTreeNode;Ljavax/swing/tree/TreeNode;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
Signature: ()Ljava/util/Enumeration<Ljavax/swing/tree/TreeNode;>;
public java.util.Enumeration<javax.swing.tree.TreeNode> depthFirstEnumeration();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.postorderEnumeration:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
Signature: ()Ljava/util/Enumeration<Ljavax/swing/tree/TreeNode;>;
public java.util.Enumeration<javax.swing.tree.TreeNode> pathFromAncestorEnumeration(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new javax.swing.tree.DefaultMutableTreeNode$PathBetweenNodesEnumeration
dup
aload 0
aload 1
aload 0
invokespecial javax.swing.tree.DefaultMutableTreeNode$PathBetweenNodesEnumeration.<init>:(Ljavax/swing/tree/DefaultMutableTreeNode;Ljavax/swing/tree/TreeNode;Ljavax/swing/tree/TreeNode;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 1 1 ancestor Ljavax/swing/tree/TreeNode;
Signature: (Ljavax/swing/tree/TreeNode;)Ljava/util/Enumeration<Ljavax/swing/tree/TreeNode;>;
MethodParameters:
Name Flags
ancestor
public boolean isNodeChild(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: iconst_0
istore 2
start local 2 2: goto 9
end local 2 3: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildCount:()I
ifne 6
4: iconst_0
istore 2
start local 2 5: goto 9
end local 2 6: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.tree.TreeNode.getParent:()Ljavax/swing/tree/TreeNode;
aload 0
if_acmpne 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 2
start local 2 9: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 10 1 aNode Ljavax/swing/tree/TreeNode;
2 3 2 retval Z
5 6 2 retval Z
9 10 2 retval Z
MethodParameters:
Name Flags
aNode
public javax.swing.tree.TreeNode getFirstChild();
descriptor: ()Ljavax/swing/tree/TreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildCount:()I
ifne 2
1: new java.util.NoSuchElementException
dup
ldc "node has no children"
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildAt:(I)Ljavax/swing/tree/TreeNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
public javax.swing.tree.TreeNode getLastChild();
descriptor: ()Ljavax/swing/tree/TreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildCount:()I
ifne 2
1: new java.util.NoSuchElementException
dup
ldc "node has no children"
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildCount:()I
iconst_1
isub
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildAt:(I)Ljavax/swing/tree/TreeNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
public javax.swing.tree.TreeNode getChildAfter(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)Ljavax/swing/tree/TreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "argument is null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getIndex:(Ljavax/swing/tree/TreeNode;)I
istore 2
start local 2 3: iload 2
iconst_m1
if_icmpne 5
4: new java.lang.IllegalArgumentException
dup
ldc "node is not a child"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
iload 2
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildCount:()I
iconst_1
isub
if_icmpge 7
6: aload 0
iload 2
iconst_1
iadd
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildAt:(I)Ljavax/swing/tree/TreeNode;
areturn
7: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 8 1 aChild Ljavax/swing/tree/TreeNode;
3 8 2 index I
MethodParameters:
Name Flags
aChild
public javax.swing.tree.TreeNode getChildBefore(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)Ljavax/swing/tree/TreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "argument is null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getIndex:(Ljavax/swing/tree/TreeNode;)I
istore 2
start local 2 3: iload 2
iconst_m1
if_icmpne 5
4: new java.lang.IllegalArgumentException
dup
ldc "argument is not a child"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
iload 2
ifle 7
6: aload 0
iload 2
iconst_1
isub
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildAt:(I)Ljavax/swing/tree/TreeNode;
areturn
7: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 8 1 aChild Ljavax/swing/tree/TreeNode;
3 8 2 index I
MethodParameters:
Name Flags
aChild
public boolean isNodeSibling(javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/TreeNode;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: iconst_0
istore 2
start local 2 2: goto 13
end local 2 StackMap locals:
StackMap stack:
3: aload 1
aload 0
if_acmpne 6
4: iconst_1
istore 2
start local 2 5: goto 13
end local 2 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
astore 3
start local 3 7: aload 3
ifnull 8
aload 3
aload 1
invokeinterface javax.swing.tree.TreeNode.getParent:()Ljavax/swing/tree/TreeNode;
if_acmpne 8
iconst_1
goto 9
StackMap locals: javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.TreeNode top javax.swing.tree.TreeNode
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 2
start local 2 10: iload 2
ifeq 13
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.DefaultMutableTreeNode
11: aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.isNodeChild:(Ljavax/swing/tree/TreeNode;)Z
ifne 13
12: new java.lang.Error
dup
ldc "sibling has different parent"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 3 13: StackMap locals: javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.TreeNode int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 14 1 anotherNode Ljavax/swing/tree/TreeNode;
2 3 2 retval Z
5 6 2 retval Z
10 14 2 retval Z
7 13 3 myParent Ljavax/swing/tree/TreeNode;
MethodParameters:
Name Flags
anotherNode
public int getSiblingCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_1
ireturn
3: StackMap locals: javax.swing.tree.TreeNode
StackMap stack:
aload 1
invokeinterface javax.swing.tree.TreeNode.getChildCount:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
1 4 1 myParent Ljavax/swing/tree/TreeNode;
public javax.swing.tree.DefaultMutableTreeNode getNextSibling();
descriptor: ()Ljavax/swing/tree/DefaultMutableTreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.DefaultMutableTreeNode
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aconst_null
astore 1
start local 1 3: goto 5
end local 1 4: StackMap locals: javax.swing.tree.DefaultMutableTreeNode top javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 2
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildAfter:(Ljavax/swing/tree/TreeNode;)Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.DefaultMutableTreeNode
astore 1
start local 1 5: StackMap locals: javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 1
ifnull 7
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.isNodeSibling:(Ljavax/swing/tree/TreeNode;)Z
ifne 7
6: new java.lang.Error
dup
ldc "child of parent is not a sibling"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
3 4 1 retval Ljavax/swing/tree/DefaultMutableTreeNode;
5 8 1 retval Ljavax/swing/tree/DefaultMutableTreeNode;
1 8 2 myParent Ljavax/swing/tree/DefaultMutableTreeNode;
public javax.swing.tree.DefaultMutableTreeNode getPreviousSibling();
descriptor: ()Ljavax/swing/tree/DefaultMutableTreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.DefaultMutableTreeNode
astore 2
start local 2 1: aload 2
ifnonnull 4
2: aconst_null
astore 1
start local 1 3: goto 5
end local 1 4: StackMap locals: javax.swing.tree.DefaultMutableTreeNode top javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 2
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildBefore:(Ljavax/swing/tree/TreeNode;)Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.DefaultMutableTreeNode
astore 1
start local 1 5: StackMap locals: javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 1
ifnull 7
aload 0
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.isNodeSibling:(Ljavax/swing/tree/TreeNode;)Z
ifne 7
6: new java.lang.Error
dup
ldc "child of parent is not a sibling"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
3 4 1 retval Ljavax/swing/tree/DefaultMutableTreeNode;
5 8 1 retval Ljavax/swing/tree/DefaultMutableTreeNode;
1 8 2 myParent Ljavax/swing/tree/DefaultMutableTreeNode;
public boolean isLeaf();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getChildCount:()I
ifne 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 Ljavax/swing/tree/DefaultMutableTreeNode;
public javax.swing.tree.DefaultMutableTreeNode getFirstLeaf();
descriptor: ()Ljavax/swing/tree/DefaultMutableTreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: goto 3
2: StackMap locals: javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getFirstChild:()Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.DefaultMutableTreeNode
astore 1
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.isLeaf:()Z
ifeq 2
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
1 5 1 node Ljavax/swing/tree/DefaultMutableTreeNode;
public javax.swing.tree.DefaultMutableTreeNode getLastLeaf();
descriptor: ()Ljavax/swing/tree/DefaultMutableTreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: goto 3
2: StackMap locals: javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getLastChild:()Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.DefaultMutableTreeNode
astore 1
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.isLeaf:()Z
ifeq 2
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
1 5 1 node Ljavax/swing/tree/DefaultMutableTreeNode;
public javax.swing.tree.DefaultMutableTreeNode getNextLeaf();
descriptor: ()Ljavax/swing/tree/DefaultMutableTreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.DefaultMutableTreeNode
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: javax.swing.tree.DefaultMutableTreeNode top javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getNextSibling:()Ljavax/swing/tree/DefaultMutableTreeNode;
astore 1
start local 1 4: aload 1
ifnull 6
5: aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getFirstLeaf:()Ljavax/swing/tree/DefaultMutableTreeNode;
areturn
6: StackMap locals: javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 2
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getNextLeaf:()Ljavax/swing/tree/DefaultMutableTreeNode;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
4 7 1 nextSibling Ljavax/swing/tree/DefaultMutableTreeNode;
1 7 2 myParent Ljavax/swing/tree/DefaultMutableTreeNode;
public javax.swing.tree.DefaultMutableTreeNode getPreviousLeaf();
descriptor: ()Ljavax/swing/tree/DefaultMutableTreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getParent:()Ljavax/swing/tree/TreeNode;
checkcast javax.swing.tree.DefaultMutableTreeNode
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: javax.swing.tree.DefaultMutableTreeNode top javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getPreviousSibling:()Ljavax/swing/tree/DefaultMutableTreeNode;
astore 1
start local 1 4: aload 1
ifnull 6
5: aload 1
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getLastLeaf:()Ljavax/swing/tree/DefaultMutableTreeNode;
areturn
6: StackMap locals: javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 2
invokevirtual javax.swing.tree.DefaultMutableTreeNode.getPreviousLeaf:()Ljavax/swing/tree/DefaultMutableTreeNode;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
4 7 1 previousSibling Ljavax/swing/tree/DefaultMutableTreeNode;
1 7 2 myParent Ljavax/swing/tree/DefaultMutableTreeNode;
public int getLeafCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode.breadthFirstEnumeration:()Ljava/util/Enumeration;
astore 3
start local 3 2: goto 6
3: StackMap locals: javax.swing.tree.DefaultMutableTreeNode int top java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast javax.swing.tree.TreeNode
astore 2
start local 2 4: aload 2
invokeinterface javax.swing.tree.TreeNode.isLeaf:()Z
ifeq 6
5: iinc 1 1
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
7: iload 1
iconst_1
if_icmpge 9
8: new java.lang.Error
dup
ldc "tree has zero leaves"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
1 10 1 count I
4 6 2 node Ljavax/swing/tree/TreeNode;
2 10 3 enum_ Ljava/util/Enumeration<Ljavax/swing/tree/TreeNode;>;
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 javax.swing.tree.DefaultMutableTreeNode.userObject:Ljava/lang/Object;
ifnonnull 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.userObject:Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
checkcast javax.swing.tree.DefaultMutableTreeNode
astore 1
start local 1 1: aload 1
aconst_null
putfield javax.swing.tree.DefaultMutableTreeNode.children:Ljava/util/Vector;
2: aload 1
aconst_null
putfield javax.swing.tree.DefaultMutableTreeNode.parent:Ljavax/swing/tree/MutableTreeNode;
3: goto 6
end local 1 StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
4: astore 2
start local 2 5: new java.lang.Error
dup
aload 2
invokevirtual java.lang.CloneNotSupportedException.toString:()Ljava/lang/String;
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 2 start local 1 6: StackMap locals: javax.swing.tree.DefaultMutableTreeNode
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
1 4 1 newNode Ljavax/swing/tree/DefaultMutableTreeNode;
6 7 1 newNode Ljavax/swing/tree/DefaultMutableTreeNode;
5 6 2 e Ljava/lang/CloneNotSupportedException;
Exception table:
from to target type
0 3 4 Class java.lang.CloneNotSupportedException
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.userObject:Ljava/lang/Object;
ifnull 6
aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.userObject:Ljava/lang/Object;
instanceof java.io.Serializable
ifeq 6
2: iconst_2
anewarray java.lang.Object
astore 2
start local 2 3: aload 2
iconst_0
ldc "userObject"
aastore
4: aload 2
iconst_1
aload 0
getfield javax.swing.tree.DefaultMutableTreeNode.userObject:Ljava/lang/Object;
aastore
5: goto 7
end local 2 6: StackMap locals:
StackMap stack:
iconst_0
anewarray java.lang.Object
astore 2
start local 2 7: StackMap locals: java.lang.Object[]
StackMap stack:
aload 1
aload 2
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 9 1 s Ljava/io/ObjectOutputStream;
3 6 2 tValues [Ljava/lang/Object;
7 9 2 tValues [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=6, 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 0
aload 2
ldc "parent"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.tree.MutableTreeNode
putfield javax.swing.tree.DefaultMutableTreeNode.parent:Ljavax/swing/tree/MutableTreeNode;
2: aload 2
ldc "children"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Vector
astore 3
start local 3 3: aload 2
ldc "allowsChildren"
iconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Z)Z
istore 4
start local 4 4: iload 4
ifne 6
aload 3
ifnull 6
aload 3
invokevirtual java.util.Vector.size:()I
ifle 6
5: new java.lang.IllegalStateException
dup
ldc "node does not allow children"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.io.ObjectInputStream$GetField java.util.Vector int
StackMap stack:
aload 0
aload 3
putfield javax.swing.tree.DefaultMutableTreeNode.children:Ljava/util/Vector;
7: aload 0
iload 4
putfield javax.swing.tree.DefaultMutableTreeNode.allowsChildren:Z
8: aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.lang.Object[]
astore 5
start local 5 9: aload 5
arraylength
ifle 11
aload 5
iconst_0
aaload
ldc "userObject"
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 11
10: aload 0
aload 5
iconst_1
aaload
putfield javax.swing.tree.DefaultMutableTreeNode.userObject:Ljava/lang/Object;
11: StackMap locals: java.lang.Object[]
StackMap stack:
return
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 12 0 this Ljavax/swing/tree/DefaultMutableTreeNode;
0 12 1 s Ljava/io/ObjectInputStream;
1 12 2 f Ljava/io/ObjectInputStream$GetField;
3 12 3 newChildren Ljava/util/Vector<Ljavax/swing/tree/TreeNode;>;
4 12 4 newAllowsChildren Z
9 12 5 tValues [Ljava/lang/Object;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
}
SourceFile: "DefaultMutableTreeNode.java"
NestMembers:
javax.swing.tree.DefaultMutableTreeNode$BreadthFirstEnumeration javax.swing.tree.DefaultMutableTreeNode$BreadthFirstEnumeration$Queue javax.swing.tree.DefaultMutableTreeNode$BreadthFirstEnumeration$Queue$QNode javax.swing.tree.DefaultMutableTreeNode$PathBetweenNodesEnumeration javax.swing.tree.DefaultMutableTreeNode$PostorderEnumeration javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration
InnerClasses:
public abstract GetField = java.io.ObjectInputStream$GetField of java.io.ObjectInputStream
final BreadthFirstEnumeration = javax.swing.tree.DefaultMutableTreeNode$BreadthFirstEnumeration of javax.swing.tree.DefaultMutableTreeNode
final PathBetweenNodesEnumeration = javax.swing.tree.DefaultMutableTreeNode$PathBetweenNodesEnumeration of javax.swing.tree.DefaultMutableTreeNode
final PostorderEnumeration = javax.swing.tree.DefaultMutableTreeNode$PostorderEnumeration of javax.swing.tree.DefaultMutableTreeNode
private final PreorderEnumeration = javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration of javax.swing.tree.DefaultMutableTreeNode