public class org.apache.xpath.axes.MatchPatternIterator extends org.apache.xpath.axes.LocPathIterator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xpath.axes.MatchPatternIterator
super_class: org.apache.xpath.axes.LocPathIterator
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -5201153767396296474
protected org.apache.xpath.patterns.StepPattern m_pattern;
descriptor: Lorg/apache/xpath/patterns/StepPattern;
flags: (0x0004) ACC_PROTECTED
protected int m_superAxis;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected org.apache.xml.dtm.DTMAxisTraverser m_traverser;
descriptor: Lorg/apache/xml/dtm/DTMAxisTraverser;
flags: (0x0004) ACC_PROTECTED
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
void <init>(org.apache.xpath.compiler.Compiler, int, int);
descriptor: (Lorg/apache/xpath/compiler/Compiler;II)V
flags: (0x0000)
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
iconst_0
invokespecial org.apache.xpath.axes.LocPathIterator.<init>:(Lorg/apache/xpath/compiler/Compiler;IIZ)V
1: aload 0
iconst_m1
putfield org.apache.xpath.axes.MatchPatternIterator.m_superAxis:I
2: iload 2
invokestatic org.apache.xpath.compiler.OpMap.getFirstChildPos:(I)I
istore 4
start local 4 3: aload 0
aload 0
aload 1
iload 4
iconst_0
invokestatic org.apache.xpath.axes.WalkerFactory.loadSteps:(Lorg/apache/xpath/axes/MatchPatternIterator;Lorg/apache/xpath/compiler/Compiler;II)Lorg/apache/xpath/patterns/StepPattern;
putfield org.apache.xpath.axes.MatchPatternIterator.m_pattern:Lorg/apache/xpath/patterns/StepPattern;
4: iconst_0
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: iconst_0
istore 7
start local 7 7: iconst_0
istore 8
start local 8 8: iload 3
ldc 671088640
iand
ifeq 10
9: iconst_1
istore 5
10: StackMap locals: org.apache.xpath.axes.MatchPatternIterator org.apache.xpath.compiler.Compiler int int int int int int int
StackMap stack:
iload 3
11: ldc 98066432
12: iand
ifeq 14
13: iconst_1
istore 6
14: StackMap locals:
StackMap stack:
iload 3
15: ldc 458752
16: iand
ifeq 18
17: iconst_1
istore 7
18: StackMap locals:
StackMap stack:
iload 3
19: ldc 2129920
20: iand
ifeq 22
21: iconst_1
istore 8
22: StackMap locals:
StackMap stack:
iload 5
ifne 23
iload 6
ifeq 28
23: StackMap locals:
StackMap stack:
iload 8
ifeq 26
24: aload 0
bipush 16
putfield org.apache.xpath.axes.MatchPatternIterator.m_superAxis:I
25: goto 35
26: StackMap locals:
StackMap stack:
aload 0
bipush 17
putfield org.apache.xpath.axes.MatchPatternIterator.m_superAxis:I
27: goto 35
28: StackMap locals:
StackMap stack:
iload 7
ifeq 34
29: iload 8
ifeq 32
30: aload 0
bipush 14
putfield org.apache.xpath.axes.MatchPatternIterator.m_superAxis:I
31: goto 35
32: StackMap locals:
StackMap stack:
aload 0
iconst_5
putfield org.apache.xpath.axes.MatchPatternIterator.m_superAxis:I
33: goto 35
34: StackMap locals:
StackMap stack:
aload 0
bipush 16
putfield org.apache.xpath.axes.MatchPatternIterator.m_superAxis:I
35: StackMap locals:
StackMap stack:
return
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 36 0 this Lorg/apache/xpath/axes/MatchPatternIterator;
0 36 1 compiler Lorg/apache/xpath/compiler/Compiler;
0 36 2 opPos I
0 36 3 analysis I
3 36 4 firstStepPos I
5 36 5 fromRoot Z
6 36 6 walkBack Z
7 36 7 walkDescendants Z
8 36 8 walkAttributes Z
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
compiler
opPos
analysis
public void setRoot(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokespecial org.apache.xpath.axes.LocPathIterator.setRoot:(ILjava/lang/Object;)V
1: aload 0
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_cdtm:Lorg/apache/xml/dtm/DTM;
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_superAxis:I
invokeinterface org.apache.xml.dtm.DTM.getAxisTraverser:(I)Lorg/apache/xml/dtm/DTMAxisTraverser;
putfield org.apache.xpath.axes.MatchPatternIterator.m_traverser:Lorg/apache/xml/dtm/DTMAxisTraverser;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/axes/MatchPatternIterator;
0 3 1 context I
0 3 2 environment Ljava/lang/Object;
MethodParameters:
Name Flags
context
environment
public void detach();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_allowDetach:Z
ifeq 3
1: aload 0
aconst_null
putfield org.apache.xpath.axes.MatchPatternIterator.m_traverser:Lorg/apache/xml/dtm/DTMAxisTraverser;
2: aload 0
invokespecial org.apache.xpath.axes.LocPathIterator.detach:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xpath/axes/MatchPatternIterator;
protected int getNextNode();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
iconst_m1
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_lastFetched:I
if_icmpne 2
1: aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_traverser:Lorg/apache/xml/dtm/DTMAxisTraverser;
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_context:I
invokevirtual org.apache.xml.dtm.DTMAxisTraverser.first:(I)I
goto 3
2: StackMap locals:
StackMap stack: org.apache.xpath.axes.MatchPatternIterator
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_traverser:Lorg/apache/xml/dtm/DTMAxisTraverser;
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_context:I
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_lastFetched:I
invokevirtual org.apache.xml.dtm.DTMAxisTraverser.next:(II)I
3: StackMap locals: org.apache.xpath.axes.MatchPatternIterator
StackMap stack: org.apache.xpath.axes.MatchPatternIterator int
putfield org.apache.xpath.axes.MatchPatternIterator.m_lastFetched:I
4: aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_lastFetched:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xpath/axes/MatchPatternIterator;
public int nextNode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_foundLast:Z
ifeq 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
iconst_m1
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_stackFrame:I
if_icmpeq 7
3: aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_execContext:Lorg/apache/xpath/XPathContext;
invokevirtual org.apache.xpath.XPathContext.getVarStack:()Lorg/apache/xpath/VariableStack;
astore 2
start local 2 4: aload 2
invokevirtual org.apache.xpath.VariableStack.getStackFrame:()I
istore 3
start local 3 5: aload 2
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_stackFrame:I
invokevirtual org.apache.xpath.VariableStack.setStackFrame:(I)V
6: goto 9
end local 3 end local 2 7: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 8: iconst_0
istore 3
start local 3 9: StackMap locals: org.apache.xpath.axes.MatchPatternIterator top org.apache.xpath.VariableStack int
StackMap stack:
aload 0
invokevirtual org.apache.xpath.axes.MatchPatternIterator.getNextNode:()I
istore 1
start local 1 10: iconst_m1
iload 1
if_icmpeq 14
11: iconst_1
aload 0
iload 1
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_execContext:Lorg/apache/xpath/XPathContext;
invokevirtual org.apache.xpath.axes.MatchPatternIterator.acceptNode:(ILorg/apache/xpath/XPathContext;)S
if_icmpne 13
12: goto 14
13: StackMap locals: org.apache.xpath.axes.MatchPatternIterator int org.apache.xpath.VariableStack int
StackMap stack:
iload 1
iconst_m1
if_icmpne 9
14: StackMap locals:
StackMap stack:
iconst_m1
iload 1
if_icmpeq 20
15: aload 0
invokevirtual org.apache.xpath.axes.MatchPatternIterator.incrementCurrentPos:()V
16: iload 1
istore 5
17: iconst_m1
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_stackFrame:I
if_icmpeq 19
18: aload 2
iload 3
invokevirtual org.apache.xpath.VariableStack.setStackFrame:(I)V
19: StackMap locals: org.apache.xpath.axes.MatchPatternIterator int org.apache.xpath.VariableStack int top int
StackMap stack:
iload 5
ireturn
20: StackMap locals: org.apache.xpath.axes.MatchPatternIterator int org.apache.xpath.VariableStack int
StackMap stack:
aload 0
iconst_1
putfield org.apache.xpath.axes.MatchPatternIterator.m_foundLast:Z
21: iconst_m1
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_stackFrame:I
if_icmpeq 23
22: aload 2
iload 3
invokevirtual org.apache.xpath.VariableStack.setStackFrame:(I)V
23: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 1 24: StackMap locals: org.apache.xpath.axes.MatchPatternIterator top org.apache.xpath.VariableStack int
StackMap stack: java.lang.Throwable
astore 4
25: iconst_m1
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_stackFrame:I
if_icmpeq 27
26: aload 2
iload 3
invokevirtual org.apache.xpath.VariableStack.setStackFrame:(I)V
27: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
athrow
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/xpath/axes/MatchPatternIterator;
10 24 1 next I
4 7 2 vars Lorg/apache/xpath/VariableStack;
8 28 2 vars Lorg/apache/xpath/VariableStack;
5 7 3 savedStart I
9 28 3 savedStart I
Exception table:
from to target type
9 17 24 any
20 21 24 any
public short acceptNode(int, org.apache.xpath.XPathContext);
descriptor: (ILorg/apache/xpath/XPathContext;)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iload 1
invokevirtual org.apache.xpath.XPathContext.pushCurrentNode:(I)V
1: aload 2
aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_context:I
invokevirtual org.apache.xpath.XPathContext.pushIteratorRoot:(I)V
2: aload 0
getfield org.apache.xpath.axes.MatchPatternIterator.m_pattern:Lorg/apache/xpath/patterns/StepPattern;
aload 2
invokevirtual org.apache.xpath.patterns.StepPattern.execute:(Lorg/apache/xpath/XPathContext;)Lorg/apache/xpath/objects/XObject;
astore 3
start local 3 3: aload 3
getstatic org.apache.xpath.patterns.NodeTest.SCORE_NONE:Lorg/apache/xpath/objects/XNumber;
if_acmpne 4
iconst_3
goto 5
4: StackMap locals: org.apache.xpath.objects.XObject
StackMap stack:
iconst_1
StackMap locals:
StackMap stack: int
5: istore 5
6: aload 2
invokevirtual org.apache.xpath.XPathContext.popCurrentNode:()V
7: aload 2
invokevirtual org.apache.xpath.XPathContext.popIteratorRoot:()V
8: iload 5
ireturn
end local 3 9: StackMap locals: org.apache.xpath.axes.MatchPatternIterator int org.apache.xpath.XPathContext
StackMap stack: javax.xml.transform.TransformerException
astore 3
start local 3 10: new java.lang.RuntimeException
dup
aload 3
invokevirtual javax.xml.transform.TransformerException.getMessage:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 3 11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
12: aload 2
invokevirtual org.apache.xpath.XPathContext.popCurrentNode:()V
13: aload 2
invokevirtual org.apache.xpath.XPathContext.popIteratorRoot:()V
14: aload 4
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/xpath/axes/MatchPatternIterator;
0 15 1 n I
0 15 2 xctxt Lorg/apache/xpath/XPathContext;
3 9 3 score Lorg/apache/xpath/objects/XObject;
10 11 3 se Ljavax/xml/transform/TransformerException;
Exception table:
from to target type
0 6 9 Class javax.xml.transform.TransformerException
0 6 11 any
9 11 11 any
MethodParameters:
Name Flags
n
xctxt
}
SourceFile: "MatchPatternIterator.java"