public class org.apache.commons.configuration.tree.MergeCombiner extends org.apache.commons.configuration.tree.NodeCombiner
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.configuration.tree.MergeCombiner
super_class: org.apache.commons.configuration.tree.NodeCombiner
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.commons.configuration.tree.NodeCombiner.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration/tree/MergeCombiner;
public org.apache.commons.configuration.tree.ConfigurationNode combine(org.apache.commons.configuration.tree.ConfigurationNode, org.apache.commons.configuration.tree.ConfigurationNode);
descriptor: (Lorg/apache/commons/configuration/tree/ConfigurationNode;Lorg/apache/commons/configuration/tree/ConfigurationNode;)Lorg/apache/commons/configuration/tree/ConfigurationNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.commons.configuration.tree.MergeCombiner.createViewNode:()Lorg/apache/commons/configuration/tree/ViewNode;
astore 3
start local 3 1: aload 3
aload 1
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getName:()Ljava/lang/String;
invokevirtual org.apache.commons.configuration.tree.ViewNode.setName:(Ljava/lang/String;)V
2: aload 3
aload 1
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getValue:()Ljava/lang/Object;
invokevirtual org.apache.commons.configuration.tree.ViewNode.setValue:(Ljava/lang/Object;)V
3: aload 0
aload 3
aload 1
aload 2
invokevirtual org.apache.commons.configuration.tree.MergeCombiner.addAttributes:(Lorg/apache/commons/configuration/tree/ViewNode;Lorg/apache/commons/configuration/tree/ConfigurationNode;Lorg/apache/commons/configuration/tree/ConfigurationNode;)V
4: new java.util.LinkedList
dup
aload 2
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getChildren:()Ljava/util/List;
invokespecial java.util.LinkedList.<init>:(Ljava/util/Collection;)V
astore 4
start local 4 5: aload 1
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getChildren:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: org.apache.commons.configuration.tree.MergeCombiner org.apache.commons.configuration.tree.ConfigurationNode org.apache.commons.configuration.tree.ConfigurationNode org.apache.commons.configuration.tree.ViewNode java.util.List top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.configuration.tree.ConfigurationNode
astore 5
start local 5 7: aload 0
aload 1
aload 2
aload 5
aload 4
invokevirtual org.apache.commons.configuration.tree.MergeCombiner.canCombine:(Lorg/apache/commons/configuration/tree/ConfigurationNode;Lorg/apache/commons/configuration/tree/ConfigurationNode;Lorg/apache/commons/configuration/tree/ConfigurationNode;Ljava/util/List;)Lorg/apache/commons/configuration/tree/ConfigurationNode;
astore 7
start local 7 8: aload 7
ifnull 12
9: aload 3
aload 0
aload 5
aload 7
invokevirtual org.apache.commons.configuration.tree.MergeCombiner.combine:(Lorg/apache/commons/configuration/tree/ConfigurationNode;Lorg/apache/commons/configuration/tree/ConfigurationNode;)Lorg/apache/commons/configuration/tree/ConfigurationNode;
invokevirtual org.apache.commons.configuration.tree.ViewNode.addChild:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)V
10: aload 4
aload 7
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
11: goto 13
12: StackMap locals: org.apache.commons.configuration.tree.MergeCombiner org.apache.commons.configuration.tree.ConfigurationNode org.apache.commons.configuration.tree.ConfigurationNode org.apache.commons.configuration.tree.ViewNode java.util.List org.apache.commons.configuration.tree.ConfigurationNode java.util.Iterator org.apache.commons.configuration.tree.ConfigurationNode
StackMap stack:
aload 3
aload 5
invokevirtual org.apache.commons.configuration.tree.ViewNode.addChild:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)V
end local 7 end local 5 13: StackMap locals: org.apache.commons.configuration.tree.MergeCombiner org.apache.commons.configuration.tree.ConfigurationNode org.apache.commons.configuration.tree.ConfigurationNode org.apache.commons.configuration.tree.ViewNode java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
14: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 17
StackMap locals:
StackMap stack:
15: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.configuration.tree.ConfigurationNode
astore 5
start local 5 16: aload 3
aload 5
invokevirtual org.apache.commons.configuration.tree.ViewNode.addChild:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)V
end local 5 17: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
18: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/commons/configuration/tree/MergeCombiner;
0 19 1 node1 Lorg/apache/commons/configuration/tree/ConfigurationNode;
0 19 2 node2 Lorg/apache/commons/configuration/tree/ConfigurationNode;
1 19 3 result Lorg/apache/commons/configuration/tree/ViewNode;
5 19 4 children2 Ljava/util/List<Lorg/apache/commons/configuration/tree/ConfigurationNode;>;
7 13 5 child1 Lorg/apache/commons/configuration/tree/ConfigurationNode;
8 13 7 child2 Lorg/apache/commons/configuration/tree/ConfigurationNode;
16 17 5 c Lorg/apache/commons/configuration/tree/ConfigurationNode;
MethodParameters:
Name Flags
node1
node2
protected void addAttributes(org.apache.commons.configuration.tree.ViewNode, org.apache.commons.configuration.tree.ConfigurationNode, org.apache.commons.configuration.tree.ConfigurationNode);
descriptor: (Lorg/apache/commons/configuration/tree/ViewNode;Lorg/apache/commons/configuration/tree/ConfigurationNode;Lorg/apache/commons/configuration/tree/ConfigurationNode;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokevirtual org.apache.commons.configuration.tree.ViewNode.appendAttributes:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)V
1: aload 3
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getAttributes:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: org.apache.commons.configuration.tree.MergeCombiner org.apache.commons.configuration.tree.ViewNode org.apache.commons.configuration.tree.ConfigurationNode org.apache.commons.configuration.tree.ConfigurationNode top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.configuration.tree.ConfigurationNode
astore 4
start local 4 3: aload 2
aload 4
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getName:()Ljava/lang/String;
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getAttributeCount:(Ljava/lang/String;)I
ifne 5
4: aload 1
aload 4
invokevirtual org.apache.commons.configuration.tree.ViewNode.addAttribute:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)V
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/configuration/tree/MergeCombiner;
0 7 1 result Lorg/apache/commons/configuration/tree/ViewNode;
0 7 2 node1 Lorg/apache/commons/configuration/tree/ConfigurationNode;
0 7 3 node2 Lorg/apache/commons/configuration/tree/ConfigurationNode;
3 5 4 attr Lorg/apache/commons/configuration/tree/ConfigurationNode;
MethodParameters:
Name Flags
result
node1
node2
protected org.apache.commons.configuration.tree.ConfigurationNode canCombine(org.apache.commons.configuration.tree.ConfigurationNode, org.apache.commons.configuration.tree.ConfigurationNode, org.apache.commons.configuration.tree.ConfigurationNode, java.util.List<org.apache.commons.configuration.tree.ConfigurationNode>);
descriptor: (Lorg/apache/commons/configuration/tree/ConfigurationNode;Lorg/apache/commons/configuration/tree/ConfigurationNode;Lorg/apache/commons/configuration/tree/ConfigurationNode;Ljava/util/List;)Lorg/apache/commons/configuration/tree/ConfigurationNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=13, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getAttributes:()Ljava/util/List;
astore 5
start local 5 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 2: aload 2
aload 3
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getName:()Ljava/lang/String;
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getChildren:(Ljava/lang/String;)Ljava/util/List;
astore 7
start local 7 3: aload 7
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
start local 8 4: goto 17
5: StackMap locals: org.apache.commons.configuration.tree.MergeCombiner org.apache.commons.configuration.tree.ConfigurationNode org.apache.commons.configuration.tree.ConfigurationNode org.apache.commons.configuration.tree.ConfigurationNode java.util.List java.util.List java.util.List java.util.List java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.configuration.tree.ConfigurationNode
astore 9
start local 9 6: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
start local 10 7: goto 14
8: StackMap locals: org.apache.commons.configuration.tree.ConfigurationNode java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.configuration.tree.ConfigurationNode
astore 11
start local 11 9: aload 9
aload 11
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getName:()Ljava/lang/String;
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getAttributes:(Ljava/lang/String;)Ljava/util/List;
astore 12
start local 12 10: aload 12
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 14
11: aload 11
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getValue:()Ljava/lang/Object;
aload 12
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.configuration.tree.ConfigurationNode
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getValue:()Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 14
12: aconst_null
astore 9
13: goto 15
end local 12 end local 11 14: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
15: StackMap locals:
StackMap stack:
aload 9
ifnull 17
16: aload 6
aload 9
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 9 17: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
18: aload 6
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 20
19: aload 6
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.configuration.tree.ConfigurationNode
areturn
20: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 25
aload 0
aload 3
invokevirtual org.apache.commons.configuration.tree.MergeCombiner.isListNode:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)Z
ifne 25
21: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
start local 9 22: goto 24
23: StackMap locals: java.util.Iterator
StackMap stack:
aload 4
aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
24: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
end local 9 25: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 8 end local 7 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 Lorg/apache/commons/configuration/tree/MergeCombiner;
0 26 1 node1 Lorg/apache/commons/configuration/tree/ConfigurationNode;
0 26 2 node2 Lorg/apache/commons/configuration/tree/ConfigurationNode;
0 26 3 child Lorg/apache/commons/configuration/tree/ConfigurationNode;
0 26 4 children2 Ljava/util/List<Lorg/apache/commons/configuration/tree/ConfigurationNode;>;
1 26 5 attrs1 Ljava/util/List<Lorg/apache/commons/configuration/tree/ConfigurationNode;>;
2 26 6 nodes Ljava/util/List<Lorg/apache/commons/configuration/tree/ConfigurationNode;>;
3 26 7 children Ljava/util/List<Lorg/apache/commons/configuration/tree/ConfigurationNode;>;
4 26 8 it Ljava/util/Iterator<Lorg/apache/commons/configuration/tree/ConfigurationNode;>;
6 17 9 node Lorg/apache/commons/configuration/tree/ConfigurationNode;
7 17 10 iter Ljava/util/Iterator<Lorg/apache/commons/configuration/tree/ConfigurationNode;>;
9 14 11 attr1 Lorg/apache/commons/configuration/tree/ConfigurationNode;
10 14 12 list2 Ljava/util/List<Lorg/apache/commons/configuration/tree/ConfigurationNode;>;
22 25 9 iter Ljava/util/Iterator<Lorg/apache/commons/configuration/tree/ConfigurationNode;>;
Signature: (Lorg/apache/commons/configuration/tree/ConfigurationNode;Lorg/apache/commons/configuration/tree/ConfigurationNode;Lorg/apache/commons/configuration/tree/ConfigurationNode;Ljava/util/List<Lorg/apache/commons/configuration/tree/ConfigurationNode;>;)Lorg/apache/commons/configuration/tree/ConfigurationNode;
MethodParameters:
Name Flags
node1
node2
child
children2
}
SourceFile: "MergeCombiner.java"