public final class com.sun.org.apache.xml.internal.utils.DOM2Helper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.utils.DOM2Helper
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/utils/DOM2Helper;
public static java.lang.String getLocalNameOfNode(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface org.w3c.dom.Node.getLocalName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 2
aload 0
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.getLocalNameOfNodeFallback:(Lorg/w3c/dom/Node;)Ljava/lang/String;
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aload 1
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 n Lorg/w3c/dom/Node;
1 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
n
private static java.lang.String getLocalNameOfNodeFallback(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 2: iload 2
ifge 3
aload 1
goto 4
StackMap locals: java.lang.String int
StackMap stack:
3: aload 1
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
4: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 n Lorg/w3c/dom/Node;
1 5 1 qname Ljava/lang/String;
2 5 2 index I
MethodParameters:
Name Flags
n
public static java.lang.String getNamespaceOfNode(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.w3c.dom.Node.getNamespaceURI:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 n Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
n
public static boolean isNodeAfter(org.w3c.dom.Node, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=11, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpeq 1
aload 0
aload 1
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
istore 2
start local 2 3: aload 0
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 3
start local 3 4: aload 1
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 4
start local 4 5: aload 3
aload 4
if_acmpeq 6
aload 3
aload 4
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 9
6: StackMap locals: int org.w3c.dom.Node org.w3c.dom.Node
StackMap stack:
aload 3
ifnull 54
7: aload 3
aload 0
aload 1
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.isNodeAfterSibling:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
istore 2
8: goto 54
9: StackMap locals:
StackMap stack:
iconst_2
istore 5
start local 5 10: iconst_2
istore 6
start local 6 11: goto 14
12: StackMap locals: int int
StackMap stack:
iinc 5 1
13: aload 3
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 3
14: StackMap locals:
StackMap stack:
aload 3
ifnonnull 12
15: goto 18
16: StackMap locals:
StackMap stack:
iinc 6 1
17: aload 4
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 4
18: StackMap locals:
StackMap stack:
aload 4
ifnonnull 16
19: aload 0
astore 7
start local 7 20: aload 1
astore 8
start local 8 21: iload 5
iload 6
if_icmpge 29
22: iload 6
iload 5
isub
istore 9
start local 9 23: iconst_0
istore 10
start local 10 24: goto 27
25: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node int org.w3c.dom.Node org.w3c.dom.Node int int org.w3c.dom.Node org.w3c.dom.Node int int
StackMap stack:
aload 8
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 8
26: iinc 10 1
StackMap locals:
StackMap stack:
27: iload 10
iload 9
if_icmplt 25
end local 10 end local 9 28: goto 36
StackMap locals:
StackMap stack:
29: iload 5
iload 6
if_icmple 36
30: iload 5
iload 6
isub
istore 9
start local 9 31: iconst_0
istore 10
start local 10 32: goto 35
33: StackMap locals: int int
StackMap stack:
aload 7
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 7
34: iinc 10 1
StackMap locals:
StackMap stack:
35: iload 10
iload 9
if_icmplt 33
end local 10 end local 9 36: StackMap locals:
StackMap stack:
aconst_null
astore 9
start local 9 37: aconst_null
astore 10
start local 10 38: goto 53
39: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node
StackMap stack:
aload 7
aload 8
if_acmpeq 40
aload 7
aload 8
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 49
40: StackMap locals:
StackMap stack:
aload 9
ifnonnull 45
41: iload 5
iload 6
if_icmpge 42
iconst_1
goto 43
StackMap locals:
StackMap stack:
42: iconst_0
StackMap locals:
StackMap stack: int
43: istore 2
44: goto 54
45: StackMap locals:
StackMap stack:
aload 7
aload 9
46: aload 10
47: invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.isNodeAfterSibling:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
istore 2
48: goto 54
49: StackMap locals:
StackMap stack:
aload 7
astore 9
50: aload 7
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 7
51: aload 8
astore 10
52: aload 8
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.getParentOfNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 8
53: StackMap locals:
StackMap stack:
aload 7
ifnonnull 39
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 54: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node int org.w3c.dom.Node org.w3c.dom.Node
StackMap stack:
iload 2
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 55 0 node1 Lorg/w3c/dom/Node;
0 55 1 node2 Lorg/w3c/dom/Node;
3 55 2 isNodeAfter Z
4 55 3 parent1 Lorg/w3c/dom/Node;
5 55 4 parent2 Lorg/w3c/dom/Node;
10 54 5 nParents1 I
11 54 6 nParents2 I
20 54 7 startNode1 Lorg/w3c/dom/Node;
21 54 8 startNode2 Lorg/w3c/dom/Node;
23 28 9 adjust I
24 28 10 i I
31 36 9 adjust I
32 36 10 i I
37 54 9 prevChild1 Lorg/w3c/dom/Node;
38 54 10 prevChild2 Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node1
node2
public static boolean isNodeTheSame(org.w3c.dom.Node, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof com.sun.org.apache.xml.internal.dtm.ref.DTMNodeProxy
ifeq 2
aload 1
instanceof com.sun.org.apache.xml.internal.dtm.ref.DTMNodeProxy
ifeq 2
1: aload 0
checkcast com.sun.org.apache.xml.internal.dtm.ref.DTMNodeProxy
aload 1
checkcast com.sun.org.apache.xml.internal.dtm.ref.DTMNodeProxy
invokevirtual com.sun.org.apache.xml.internal.dtm.ref.DTMNodeProxy.equals:(Lorg/w3c/dom/Node;)Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
if_acmpne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 node1 Lorg/w3c/dom/Node;
0 4 1 node2 Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node1
node2
public static org.w3c.dom.Node getParentOfNode(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 1
start local 1 1: aload 1
ifnonnull 3
iconst_2
aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
if_icmpne 3
2: aload 0
checkcast org.w3c.dom.Attr
invokeinterface org.w3c.dom.Attr.getOwnerElement:()Lorg/w3c/dom/Element;
astore 1
3: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 node Lorg/w3c/dom/Node;
1 4 1 parent Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node
private static boolean isNodeAfterSibling(org.w3c.dom.Node, org.w3c.dom.Node, org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=12, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 1
invokeinterface org.w3c.dom.Node.getNodeType:()S
istore 4
start local 4 2: aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
istore 5
start local 5 3: iconst_2
iload 4
if_icmpeq 7
4: iconst_2
iload 5
if_icmpne 7
5: iconst_0
istore 3
6: goto 50
StackMap locals: int int int
StackMap stack:
7: iconst_2
iload 4
if_icmpne 11
8: iconst_2
iload 5
if_icmpeq 11
9: iconst_1
istore 3
10: goto 50
StackMap locals:
StackMap stack:
11: iconst_2
iload 4
if_icmpne 33
12: aload 0
invokeinterface org.w3c.dom.Node.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 6
start local 6 13: aload 6
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 7
start local 7 14: iconst_0
istore 8
start local 8 15: iconst_0
istore 9
start local 9 16: iconst_0
istore 10
start local 10 17: goto 31
18: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node org.w3c.dom.Node int int int org.w3c.dom.NamedNodeMap int int int int
StackMap stack:
aload 6
iload 10
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
astore 11
start local 11 19: aload 1
aload 11
if_acmpeq 20
aload 1
aload 11
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 25
20: StackMap locals: org.w3c.dom.Node
StackMap stack:
iload 9
ifeq 23
21: iconst_0
istore 3
22: goto 50
23: StackMap locals:
StackMap stack:
iconst_1
istore 8
24: goto 30
StackMap locals:
StackMap stack:
25: aload 2
aload 11
if_acmpeq 26
aload 2
aload 11
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 30
26: StackMap locals:
StackMap stack:
iload 8
ifeq 29
27: iconst_1
istore 3
28: goto 50
29: StackMap locals:
StackMap stack:
iconst_1
istore 9
end local 11 30: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
31: iload 10
iload 7
if_icmplt 18
end local 10 end local 9 end local 8 end local 7 end local 6 32: goto 50
33: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node org.w3c.dom.Node int int int
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 6
start local 6 34: iconst_0
istore 7
start local 7 35: iconst_0
istore 8
start local 8 36: goto 49
37: StackMap locals: org.w3c.dom.Node int int
StackMap stack:
aload 1
aload 6
if_acmpeq 38
aload 1
aload 6
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 43
38: StackMap locals:
StackMap stack:
iload 8
ifeq 41
39: iconst_0
istore 3
40: goto 50
41: StackMap locals:
StackMap stack:
iconst_1
istore 7
42: goto 48
StackMap locals:
StackMap stack:
43: aload 2
aload 6
if_acmpeq 44
aload 2
aload 6
invokestatic com.sun.org.apache.xml.internal.utils.DOM2Helper.isNodeTheSame:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Z
ifeq 48
44: StackMap locals:
StackMap stack:
iload 7
ifeq 47
45: iconst_1
istore 3
46: goto 50
47: StackMap locals:
StackMap stack:
iconst_1
istore 8
48: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 6
49: StackMap locals:
StackMap stack:
aload 6
ifnonnull 37
end local 8 end local 7 end local 6 50: StackMap locals:
StackMap stack:
iload 3
ireturn
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 51 0 parent Lorg/w3c/dom/Node;
0 51 1 child1 Lorg/w3c/dom/Node;
0 51 2 child2 Lorg/w3c/dom/Node;
1 51 3 isNodeAfterSibling Z
2 51 4 child1type S
3 51 5 child2type S
13 32 6 children Lorg/w3c/dom/NamedNodeMap;
14 32 7 nNodes I
15 32 8 found1 Z
16 32 9 found2 Z
17 32 10 i I
19 30 11 child Lorg/w3c/dom/Node;
34 50 6 child Lorg/w3c/dom/Node;
35 50 7 found1 Z
36 50 8 found2 Z
MethodParameters:
Name Flags
parent
child1
child2
}
SourceFile: "DOM2Helper.java"