final class javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration implements java.util.Enumeration<javax.swing.tree.TreeNode>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration
super_class: java.lang.Object
{
protected java.util.Stack stack;
descriptor: Ljava/util/Stack;
flags: (0x0004) ACC_PROTECTED
final javax.swing.tree.DefaultMutableTreeNode this$0;
descriptor: Ljavax/swing/tree/DefaultMutableTreeNode;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(javax.swing.tree.DefaultMutableTreeNode, javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/DefaultMutableTreeNode;Ljavax/swing/tree/TreeNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration.this$0:Ljavax/swing/tree/DefaultMutableTreeNode;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: new java.util.Vector
dup
iconst_1
invokespecial java.util.Vector.<init>:(I)V
astore 3
start local 3 3: aload 3
aload 2
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
4: aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration.stack:Ljava/util/Stack;
5: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration.stack:Ljava/util/Stack;
aload 3
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
6: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/tree/DefaultMutableTreeNode$PreorderEnumeration;
0 7 2 rootNode Ljavax/swing/tree/TreeNode;
3 7 3 v Ljava/util/Vector;
MethodParameters:
Name Flags
this$0 final
rootNode
public boolean hasMoreElements();
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$PreorderEnumeration.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.empty:()Z
ifne 3
1: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast java.util.Enumeration
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/tree/DefaultMutableTreeNode$PreorderEnumeration;
public javax.swing.tree.TreeNode nextElement();
descriptor: ()Ljavax/swing/tree/TreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast java.util.Enumeration
astore 1
start local 1 1: aload 1
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast javax.swing.tree.TreeNode
astore 2
start local 2 2: aload 2
invokeinterface javax.swing.tree.TreeNode.children:()Ljava/util/Enumeration;
astore 3
start local 3 3: aload 1
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
4: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
pop
5: StackMap locals: java.util.Enumeration javax.swing.tree.TreeNode java.util.Enumeration
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifeq 7
6: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration.stack:Ljava/util/Stack;
aload 3
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/tree/DefaultMutableTreeNode$PreorderEnumeration;
1 8 1 enumer Ljava/util/Enumeration;
2 8 2 node Ljavax/swing/tree/TreeNode;
3 8 3 children Ljava/util/Enumeration;
public java.lang.Object nextElement();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration.nextElement:()Ljavax/swing/tree/TreeNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Enumeration<Ljavax/swing/tree/TreeNode;>;
SourceFile: "DefaultMutableTreeNode.java"
NestHost: javax.swing.tree.DefaultMutableTreeNode
InnerClasses:
final PreorderEnumeration = javax.swing.tree.DefaultMutableTreeNode$PreorderEnumeration of javax.swing.tree.DefaultMutableTreeNode