public class org.apache.commons.configuration2.tree.NodeTreeWalker
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.configuration2.tree.NodeTreeWalker
super_class: java.lang.Object
{
public static final org.apache.commons.configuration2.tree.NodeTreeWalker INSTANCE;
descriptor: Lorg/apache/commons/configuration2/tree/NodeTreeWalker;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.apache.commons.configuration2.tree.NodeTreeWalker
dup
invokespecial org.apache.commons.configuration2.tree.NodeTreeWalker.<init>:()V
putstatic org.apache.commons.configuration2.tree.NodeTreeWalker.INSTANCE:Lorg/apache/commons/configuration2/tree/NodeTreeWalker;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration2/tree/NodeTreeWalker;
public <T> void walkDFS(T, org.apache.commons.configuration2.tree.ConfigurationNodeVisitor<T>, org.apache.commons.configuration2.tree.NodeHandler<T>);
descriptor: (Ljava/lang/Object;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor;Lorg/apache/commons/configuration2/tree/NodeHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
invokestatic org.apache.commons.configuration2.tree.NodeTreeWalker.checkParameters:(Ljava/lang/Object;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor;Lorg/apache/commons/configuration2/tree/NodeHandler;)Z
ifeq 2
1: aload 1
aload 2
aload 3
invokestatic org.apache.commons.configuration2.tree.NodeTreeWalker.dfs:(Ljava/lang/Object;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor;Lorg/apache/commons/configuration2/tree/NodeHandler;)V
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/configuration2/tree/NodeTreeWalker;
0 3 1 root TT;
0 3 2 visitor Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor<TT;>;
0 3 3 handler Lorg/apache/commons/configuration2/tree/NodeHandler<TT;>;
Signature: <T:Ljava/lang/Object;>(TT;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor<TT;>;Lorg/apache/commons/configuration2/tree/NodeHandler<TT;>;)V
MethodParameters:
Name Flags
root final
visitor final
handler final
public <T> void walkBFS(T, org.apache.commons.configuration2.tree.ConfigurationNodeVisitor<T>, org.apache.commons.configuration2.tree.NodeHandler<T>);
descriptor: (Ljava/lang/Object;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor;Lorg/apache/commons/configuration2/tree/NodeHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 3
invokestatic org.apache.commons.configuration2.tree.NodeTreeWalker.checkParameters:(Ljava/lang/Object;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor;Lorg/apache/commons/configuration2/tree/NodeHandler;)Z
ifeq 2
1: aload 1
aload 2
aload 3
invokestatic org.apache.commons.configuration2.tree.NodeTreeWalker.bfs:(Ljava/lang/Object;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor;Lorg/apache/commons/configuration2/tree/NodeHandler;)V
2: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/configuration2/tree/NodeTreeWalker;
0 3 1 root TT;
0 3 2 visitor Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor<TT;>;
0 3 3 handler Lorg/apache/commons/configuration2/tree/NodeHandler<TT;>;
Signature: <T:Ljava/lang/Object;>(TT;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor<TT;>;Lorg/apache/commons/configuration2/tree/NodeHandler<TT;>;)V
MethodParameters:
Name Flags
root final
visitor final
handler final
private static <T> void dfs(T, org.apache.commons.configuration2.tree.ConfigurationNodeVisitor<T>, org.apache.commons.configuration2.tree.NodeHandler<T>);
descriptor: (Ljava/lang/Object;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor;Lorg/apache/commons/configuration2/tree/NodeHandler;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.apache.commons.configuration2.tree.ConfigurationNodeVisitor.terminate:()Z
ifne 8
1: aload 1
aload 0
aload 2
invokeinterface org.apache.commons.configuration2.tree.ConfigurationNodeVisitor.visitBeforeChildren:(Ljava/lang/Object;Lorg/apache/commons/configuration2/tree/NodeHandler;)V
2: aload 2
aload 0
invokeinterface org.apache.commons.configuration2.tree.NodeHandler.getChildren:(Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: java.lang.Object org.apache.commons.configuration2.tree.ConfigurationNodeVisitor org.apache.commons.configuration2.tree.NodeHandler top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 4: aload 3
aload 1
aload 2
invokestatic org.apache.commons.configuration2.tree.NodeTreeWalker.dfs:(Ljava/lang/Object;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor;Lorg/apache/commons/configuration2/tree/NodeHandler;)V
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 1
invokeinterface org.apache.commons.configuration2.tree.ConfigurationNodeVisitor.terminate:()Z
ifne 8
7: aload 1
aload 0
aload 2
invokeinterface org.apache.commons.configuration2.tree.ConfigurationNodeVisitor.visitAfterChildren:(Ljava/lang/Object;Lorg/apache/commons/configuration2/tree/NodeHandler;)V
8: StackMap locals: java.lang.Object org.apache.commons.configuration2.tree.ConfigurationNodeVisitor org.apache.commons.configuration2.tree.NodeHandler
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 node TT;
0 9 1 visitor Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor<TT;>;
0 9 2 handler Lorg/apache/commons/configuration2/tree/NodeHandler<TT;>;
4 5 3 c TT;
Signature: <T:Ljava/lang/Object;>(TT;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor<TT;>;Lorg/apache/commons/configuration2/tree/NodeHandler<TT;>;)V
MethodParameters:
Name Flags
node final
visitor final
handler final
private static <T> void bfs(T, org.apache.commons.configuration2.tree.ConfigurationNodeVisitor<T>, org.apache.commons.configuration2.tree.NodeHandler<T>);
descriptor: (Ljava/lang/Object;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor;Lorg/apache/commons/configuration2/tree/NodeHandler;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 3
start local 3 1: aload 3
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: iconst_0
istore 4
start local 4 3: goto 11
4: StackMap locals: java.util.List int
StackMap stack:
aload 3
iconst_0
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
astore 5
start local 5 5: aload 1
aload 5
aload 2
invokeinterface org.apache.commons.configuration2.tree.ConfigurationNodeVisitor.visitBeforeChildren:(Ljava/lang/Object;Lorg/apache/commons/configuration2/tree/NodeHandler;)V
6: aload 1
invokeinterface org.apache.commons.configuration2.tree.ConfigurationNodeVisitor.terminate:()Z
istore 4
7: aload 2
aload 5
invokeinterface org.apache.commons.configuration2.tree.NodeHandler.getChildren:(Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 10
StackMap locals: java.lang.Object org.apache.commons.configuration2.tree.ConfigurationNodeVisitor org.apache.commons.configuration2.tree.NodeHandler java.util.List int java.lang.Object top java.util.Iterator
StackMap stack:
8: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 6
start local 6 9: aload 3
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 10: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 5 11: StackMap locals: java.lang.Object org.apache.commons.configuration2.tree.ConfigurationNodeVisitor org.apache.commons.configuration2.tree.NodeHandler java.util.List int
StackMap stack:
aload 3
invokeinterface java.util.List.isEmpty:()Z
ifne 12
iload 4
ifeq 4
12: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 root TT;
0 13 1 visitor Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor<TT;>;
0 13 2 handler Lorg/apache/commons/configuration2/tree/NodeHandler<TT;>;
1 13 3 pendingNodes Ljava/util/List<TT;>;
3 13 4 cancel Z
5 11 5 node TT;
9 10 6 c TT;
Signature: <T:Ljava/lang/Object;>(TT;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor<TT;>;Lorg/apache/commons/configuration2/tree/NodeHandler<TT;>;)V
MethodParameters:
Name Flags
root final
visitor final
handler final
private static <T> boolean checkParameters(T, org.apache.commons.configuration2.tree.ConfigurationNodeVisitor<T>, org.apache.commons.configuration2.tree.NodeHandler<T>);
descriptor: (Ljava/lang/Object;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor;Lorg/apache/commons/configuration2/tree/NodeHandler;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Visitor must not be null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "NodeHandler must not be null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
ifnull 5
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 root TT;
0 6 1 visitor Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor<TT;>;
0 6 2 handler Lorg/apache/commons/configuration2/tree/NodeHandler<TT;>;
Signature: <T:Ljava/lang/Object;>(TT;Lorg/apache/commons/configuration2/tree/ConfigurationNodeVisitor<TT;>;Lorg/apache/commons/configuration2/tree/NodeHandler<TT;>;)Z
MethodParameters:
Name Flags
root final
visitor final
handler final
}
SourceFile: "NodeTreeWalker.java"