public class org.apache.xpath.patterns.UnionPattern extends org.apache.xpath.Expression
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xpath.patterns.UnionPattern
super_class: org.apache.xpath.Expression
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -6670449967116905820
private org.apache.xpath.patterns.StepPattern[] m_patterns;
descriptor: [Lorg/apache/xpath/patterns/StepPattern;
flags: (0x0002) ACC_PRIVATE
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.xpath.Expression.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/patterns/UnionPattern;
public void fixupVariables(java.util.Vector, int);
descriptor: (Ljava/util/Vector;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
iload 3
aaload
aload 1
iload 2
invokevirtual org.apache.xpath.patterns.StepPattern.fixupVariables:(Ljava/util/Vector;I)V
3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
arraylength
if_icmplt 2
end local 3 5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/xpath/patterns/UnionPattern;
0 6 1 vars Ljava/util/Vector;
0 6 2 globalsSize I
1 5 3 i I
MethodParameters:
Name Flags
vars
globalsSize
public boolean canTraverseOutsideSubtree();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
ifnull 8
1: aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
arraylength
istore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
iload 2
aaload
invokevirtual org.apache.xpath.patterns.StepPattern.canTraverseOutsideSubtree:()Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 1
if_icmplt 4
end local 2 end local 1 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/xpath/patterns/UnionPattern;
2 8 1 n I
3 8 2 i I
public void setPatterns(org.apache.xpath.patterns.StepPattern[]);
descriptor: ([Lorg/apache/xpath/patterns/StepPattern;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
1: aload 1
ifnull 7
2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 1
iload 2
aaload
aload 0
invokevirtual org.apache.xpath.patterns.StepPattern.exprSetParent:(Lorg/apache/xpath/ExpressionNode;)V
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 1
arraylength
if_icmplt 4
end local 2 7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/xpath/patterns/UnionPattern;
0 8 1 patterns [Lorg/apache/xpath/patterns/StepPattern;
3 7 2 i I
MethodParameters:
Name Flags
patterns
public org.apache.xpath.patterns.StepPattern[] getPatterns();
descriptor: ()[Lorg/apache/xpath/patterns/StepPattern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/patterns/UnionPattern;
public org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext);
descriptor: (Lorg/apache/xpath/XPathContext;)Lorg/apache/xpath/objects/XObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
arraylength
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 11
4: StackMap locals: org.apache.xpath.objects.XObject int int
StackMap stack:
aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
iload 4
aaload
aload 1
invokevirtual org.apache.xpath.patterns.StepPattern.execute:(Lorg/apache/xpath/XPathContext;)Lorg/apache/xpath/objects/XObject;
astore 5
start local 5 5: aload 5
getstatic org.apache.xpath.patterns.NodeTest.SCORE_NONE:Lorg/apache/xpath/objects/XNumber;
if_acmpeq 10
6: aload 2
ifnonnull 8
7: aload 5
astore 2
goto 10
8: StackMap locals: org.apache.xpath.objects.XObject
StackMap stack:
aload 5
invokevirtual org.apache.xpath.objects.XObject.num:()D
aload 2
invokevirtual org.apache.xpath.objects.XObject.num:()D
dcmpl
ifle 10
9: aload 5
astore 2
end local 5 10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 3
if_icmplt 4
end local 4 12: aload 2
ifnonnull 14
13: getstatic org.apache.xpath.patterns.NodeTest.SCORE_NONE:Lorg/apache/xpath/objects/XNumber;
astore 2
14: 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 15 0 this Lorg/apache/xpath/patterns/UnionPattern;
0 15 1 xctxt Lorg/apache/xpath/XPathContext;
1 15 2 bestScore Lorg/apache/xpath/objects/XObject;
2 15 3 n I
3 12 4 i I
5 10 5 score Lorg/apache/xpath/objects/XObject;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
public void callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor);
descriptor: (Lorg/apache/xpath/ExpressionOwner;Lorg/apache/xpath/XPathVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
aload 0
invokevirtual org.apache.xpath.XPathVisitor.visitUnionPattern:(Lorg/apache/xpath/ExpressionOwner;Lorg/apache/xpath/patterns/UnionPattern;)Z
pop
1: aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
ifnull 8
2: aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
arraylength
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 7
5: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
iload 4
aaload
new org.apache.xpath.patterns.UnionPattern$UnionPathPartOwner
dup
aload 0
iload 4
invokespecial org.apache.xpath.patterns.UnionPattern$UnionPathPartOwner.<init>:(Lorg/apache/xpath/patterns/UnionPattern;I)V
aload 2
invokevirtual org.apache.xpath.patterns.StepPattern.callVisitors:(Lorg/apache/xpath/ExpressionOwner;Lorg/apache/xpath/XPathVisitor;)V
6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 3
if_icmplt 5
end local 4 end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/xpath/patterns/UnionPattern;
0 9 1 owner Lorg/apache/xpath/ExpressionOwner;
0 9 2 visitor Lorg/apache/xpath/XPathVisitor;
3 8 3 n I
4 8 4 i I
MethodParameters:
Name Flags
owner
visitor
public boolean deepEquals(org.apache.xpath.Expression);
descriptor: (Lorg/apache/xpath/Expression;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.xpath.patterns.UnionPattern.isSameClass:(Lorg/apache/xpath/Expression;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.xpath.patterns.UnionPattern
astore 2
start local 2 3: aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
ifnull 14
4: aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
arraylength
istore 3
start local 3 5: aload 2
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
ifnull 6
aload 2
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
arraylength
iload 3
if_icmpeq 7
6: StackMap locals: org.apache.xpath.patterns.UnionPattern int
StackMap stack:
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 8: goto 12
9: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
iload 4
aaload
aload 2
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
iload 4
aaload
invokevirtual org.apache.xpath.patterns.StepPattern.deepEquals:(Lorg/apache/xpath/Expression;)Z
ifne 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 3
if_icmplt 9
end local 4 end local 3 13: goto 16
14: StackMap locals:
StackMap stack:
aload 2
getfield org.apache.xpath.patterns.UnionPattern.m_patterns:[Lorg/apache/xpath/patterns/StepPattern;
ifnull 16
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/xpath/patterns/UnionPattern;
0 17 1 expr Lorg/apache/xpath/Expression;
3 17 2 up Lorg/apache/xpath/patterns/UnionPattern;
5 13 3 n I
8 13 4 i I
MethodParameters:
Name Flags
expr
}
SourceFile: "UnionPattern.java"
NestMembers:
org.apache.xpath.patterns.UnionPattern$UnionPathPartOwner
InnerClasses:
UnionPathPartOwner = org.apache.xpath.patterns.UnionPattern$UnionPathPartOwner of org.apache.xpath.patterns.UnionPattern