final class javax.swing.tree.DefaultMutableTreeNode$PathBetweenNodesEnumeration 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$PathBetweenNodesEnumeration
super_class: java.lang.Object
{
protected java.util.Stack<javax.swing.tree.TreeNode> stack;
descriptor: Ljava/util/Stack;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Stack<Ljavax/swing/tree/TreeNode;>;
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, javax.swing.tree.TreeNode);
descriptor: (Ljavax/swing/tree/DefaultMutableTreeNode;Ljavax/swing/tree/TreeNode;Ljavax/swing/tree/TreeNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield javax.swing.tree.DefaultMutableTreeNode$PathBetweenNodesEnumeration.this$0:Ljavax/swing/tree/DefaultMutableTreeNode;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 2
ifnull 3
aload 3
ifnonnull 4
3: StackMap locals: javax.swing.tree.DefaultMutableTreeNode$PathBetweenNodesEnumeration javax.swing.tree.DefaultMutableTreeNode javax.swing.tree.TreeNode javax.swing.tree.TreeNode
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "argument is null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield javax.swing.tree.DefaultMutableTreeNode$PathBetweenNodesEnumeration.stack:Ljava/util/Stack;
5: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode$PathBetweenNodesEnumeration.stack:Ljava/util/Stack;
aload 3
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 3
astore 4
start local 4 7: goto 14
8: StackMap locals: javax.swing.tree.TreeNode
StackMap stack:
aload 4
invokeinterface javax.swing.tree.TreeNode.getParent:()Ljavax/swing/tree/TreeNode;
astore 4
9: aload 4
ifnonnull 13
aload 3
aload 2
if_acmpeq 13
10: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "node "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
11: ldc " is not an ancestor of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.tree.DefaultMutableTreeNode$PathBetweenNodesEnumeration.stack:Ljava/util/Stack;
aload 4
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
14: StackMap locals:
StackMap stack:
aload 4
aload 2
if_acmpne 8
15: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/tree/DefaultMutableTreeNode$PathBetweenNodesEnumeration;
0 16 2 ancestor Ljavax/swing/tree/TreeNode;
0 16 3 descendant Ljavax/swing/tree/TreeNode;
7 16 4 current Ljavax/swing/tree/TreeNode;
MethodParameters:
Name Flags
this$0 final
ancestor
descendant
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$PathBetweenNodesEnumeration.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.size:()I
ifle 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$PathBetweenNodesEnumeration;
public javax.swing.tree.TreeNode nextElement();
descriptor: ()Ljavax/swing/tree/TreeNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.tree.DefaultMutableTreeNode$PathBetweenNodesEnumeration.stack:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
checkcast javax.swing.tree.TreeNode
1: areturn
2: StackMap locals:
StackMap stack: java.util.EmptyStackException
pop
3: new java.util.NoSuchElementException
dup
ldc "No more elements"
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/tree/DefaultMutableTreeNode$PathBetweenNodesEnumeration;
Exception table:
from to target type
0 1 2 Class java.util.EmptyStackException
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$PathBetweenNodesEnumeration.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 PathBetweenNodesEnumeration = javax.swing.tree.DefaultMutableTreeNode$PathBetweenNodesEnumeration of javax.swing.tree.DefaultMutableTreeNode