public class org.apache.xpath.axes.OneStepIterator extends org.apache.xpath.axes.ChildTestIterator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xpath.axes.OneStepIterator
super_class: org.apache.xpath.axes.ChildTestIterator
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4623710779664998283
protected int m_axis;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected org.apache.xml.dtm.DTMAxisIterator m_iterator;
descriptor: Lorg/apache/xml/dtm/DTMAxisIterator;
flags: (0x0004) ACC_PROTECTED
void <init>(org.apache.xpath.compiler.Compiler, int, int);
descriptor: (Lorg/apache/xpath/compiler/Compiler;II)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokespecial org.apache.xpath.axes.ChildTestIterator.<init>:(Lorg/apache/xpath/compiler/Compiler;II)V
1: aload 0
iconst_m1
putfield org.apache.xpath.axes.OneStepIterator.m_axis:I
2: iload 2
invokestatic org.apache.xpath.compiler.OpMap.getFirstChildPos:(I)I
istore 4
start local 4 3: aload 0
aload 1
iload 4
invokestatic org.apache.xpath.axes.WalkerFactory.getAxisFromStep:(Lorg/apache/xpath/compiler/Compiler;I)I
putfield org.apache.xpath.axes.OneStepIterator.m_axis:I
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xpath/axes/OneStepIterator;
0 5 1 compiler Lorg/apache/xpath/compiler/Compiler;
0 5 2 opPos I
0 5 3 analysis I
3 5 4 firstStepPos I
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
compiler
opPos
analysis
public void <init>(org.apache.xml.dtm.DTMAxisIterator, int);
descriptor: (Lorg/apache/xml/dtm/DTMAxisIterator;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
invokespecial org.apache.xpath.axes.ChildTestIterator.<init>:(Lorg/apache/xml/dtm/DTMAxisTraverser;)V
1: aload 0
iconst_m1
putfield org.apache.xpath.axes.OneStepIterator.m_axis:I
2: aload 0
aload 1
putfield org.apache.xpath.axes.OneStepIterator.m_iterator:Lorg/apache/xml/dtm/DTMAxisIterator;
3: aload 0
iload 2
putfield org.apache.xpath.axes.OneStepIterator.m_axis:I
4: iconst_m1
istore 3
start local 3 5: aload 0
iload 3
invokevirtual org.apache.xpath.axes.OneStepIterator.initNodeTest:(I)V
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/xpath/axes/OneStepIterator;
0 7 1 iterator Lorg/apache/xml/dtm/DTMAxisIterator;
0 7 2 axis I
5 7 3 whatToShow I
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
iterator
axis
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.ChildTestIterator.setRoot:(ILjava/lang/Object;)V
1: aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_axis:I
iconst_m1
if_icmple 3
2: aload 0
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_cdtm:Lorg/apache/xml/dtm/DTM;
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_axis:I
invokeinterface org.apache.xml.dtm.DTM.getAxisIterator:(I)Lorg/apache/xml/dtm/DTMAxisIterator;
putfield org.apache.xpath.axes.OneStepIterator.m_iterator:Lorg/apache/xml/dtm/DTMAxisIterator;
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_iterator:Lorg/apache/xml/dtm/DTMAxisIterator;
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_context:I
invokeinterface org.apache.xml.dtm.DTMAxisIterator.setStartNode:(I)Lorg/apache/xml/dtm/DTMAxisIterator;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xpath/axes/OneStepIterator;
0 5 1 context I
0 5 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.OneStepIterator.m_allowDetach:Z
ifeq 4
1: aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_axis:I
iconst_m1
if_icmple 3
2: aload 0
aconst_null
putfield org.apache.xpath.axes.OneStepIterator.m_iterator:Lorg/apache/xml/dtm/DTMAxisIterator;
3: StackMap locals:
StackMap stack:
aload 0
invokespecial org.apache.xpath.axes.ChildTestIterator.detach:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xpath/axes/OneStepIterator;
protected int getNextNode();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_iterator:Lorg/apache/xml/dtm/DTMAxisIterator;
invokeinterface org.apache.xml.dtm.DTMAxisIterator.next:()I
dup_x1
putfield org.apache.xpath.axes.OneStepIterator.m_lastFetched:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/axes/OneStepIterator;
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.apache.xpath.axes.ChildTestIterator.clone:()Ljava/lang/Object;
checkcast org.apache.xpath.axes.OneStepIterator
astore 1
start local 1 1: aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_iterator:Lorg/apache/xml/dtm/DTMAxisIterator;
ifnull 3
2: aload 1
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_iterator:Lorg/apache/xml/dtm/DTMAxisIterator;
invokeinterface org.apache.xml.dtm.DTMAxisIterator.cloneIterator:()Lorg/apache/xml/dtm/DTMAxisIterator;
putfield org.apache.xpath.axes.OneStepIterator.m_iterator:Lorg/apache/xml/dtm/DTMAxisIterator;
3: StackMap locals: org.apache.xpath.axes.OneStepIterator
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xpath/axes/OneStepIterator;
1 4 1 clone Lorg/apache/xpath/axes/OneStepIterator;
Exceptions:
throws java.lang.CloneNotSupportedException
public org.apache.xml.dtm.DTMIterator cloneWithReset();
descriptor: ()Lorg/apache/xml/dtm/DTMIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.apache.xpath.axes.ChildTestIterator.cloneWithReset:()Lorg/apache/xml/dtm/DTMIterator;
checkcast org.apache.xpath.axes.OneStepIterator
astore 1
start local 1 1: aload 1
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_iterator:Lorg/apache/xml/dtm/DTMAxisIterator;
putfield org.apache.xpath.axes.OneStepIterator.m_iterator:Lorg/apache/xml/dtm/DTMAxisIterator;
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/axes/OneStepIterator;
1 3 1 clone Lorg/apache/xpath/axes/OneStepIterator;
Exceptions:
throws java.lang.CloneNotSupportedException
public boolean isReverseAxes();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_iterator:Lorg/apache/xml/dtm/DTMAxisIterator;
invokeinterface org.apache.xml.dtm.DTMAxisIterator.isReverse:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/axes/OneStepIterator;
protected int getProximityPosition(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.axes.OneStepIterator.isReverseAxes:()Z
ifne 2
1: aload 0
iload 1
invokespecial org.apache.xpath.axes.ChildTestIterator.getProximityPosition:(I)I
ireturn
2: StackMap locals:
StackMap stack:
iload 1
ifge 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_proximityPositions:[I
iload 1
iaload
ifgt 23
5: aload 0
invokevirtual org.apache.xpath.axes.OneStepIterator.getXPathContext:()Lorg/apache/xpath/XPathContext;
astore 2
start local 2 6: aload 0
invokevirtual org.apache.xpath.axes.OneStepIterator.clone:()Ljava/lang/Object;
checkcast org.apache.xpath.axes.OneStepIterator
astore 3
start local 3 7: aload 0
invokevirtual org.apache.xpath.axes.OneStepIterator.getRoot:()I
istore 4
start local 4 8: aload 2
iload 4
invokevirtual org.apache.xpath.XPathContext.pushCurrentNode:(I)V
9: aload 3
iload 4
aload 2
invokevirtual org.apache.xpath.axes.OneStepIterator.setRoot:(ILjava/lang/Object;)V
10: aload 3
iload 1
putfield org.apache.xpath.axes.OneStepIterator.m_predCount:I
11: iconst_1
istore 5
start local 5 12: goto 14
13: StackMap locals: org.apache.xpath.axes.OneStepIterator int org.apache.xpath.XPathContext org.apache.xpath.axes.OneStepIterator int int
StackMap stack:
iinc 5 1
14: StackMap locals:
StackMap stack:
iconst_m1
aload 3
invokevirtual org.apache.xpath.axes.OneStepIterator.nextNode:()I
if_icmpne 13
15: aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_proximityPositions:[I
iload 1
dup2
iaload
iload 5
iadd
iastore
end local 5 end local 4 end local 3 16: goto 22
17: StackMap locals: org.apache.xpath.axes.OneStepIterator int org.apache.xpath.XPathContext
StackMap stack: java.lang.CloneNotSupportedException
pop
18: aload 2
invokevirtual org.apache.xpath.XPathContext.popCurrentNode:()V
goto 23
19: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
20: aload 2
invokevirtual org.apache.xpath.XPathContext.popCurrentNode:()V
21: aload 6
athrow
22: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.xpath.XPathContext.popCurrentNode:()V
end local 2 23: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_proximityPositions:[I
iload 1
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/xpath/axes/OneStepIterator;
0 24 1 predicateIndex I
6 23 2 xctxt Lorg/apache/xpath/XPathContext;
7 16 3 clone Lorg/apache/xpath/axes/OneStepIterator;
8 16 4 root I
12 16 5 count I
Exception table:
from to target type
6 16 17 Class java.lang.CloneNotSupportedException
6 18 19 any
MethodParameters:
Name Flags
predicateIndex
public int getLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.xpath.axes.OneStepIterator.isReverseAxes:()Z
ifne 2
1: aload 0
invokespecial org.apache.xpath.axes.ChildTestIterator.getLength:()I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_execContext:Lorg/apache/xpath/XPathContext;
invokevirtual org.apache.xpath.XPathContext.getSubContextList:()Lorg/apache/xpath/axes/SubContextList;
if_acmpne 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: istore 1
start local 1 5: aload 0
invokevirtual org.apache.xpath.axes.OneStepIterator.getPredicateCount:()I
pop
6: iconst_m1
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_length:I
if_icmpeq 8
iload 1
ifeq 8
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_predicateIndex:I
iconst_1
if_icmpge 8
7: aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_length:I
ireturn
8: StackMap locals: int
StackMap stack:
iconst_0
istore 2
start local 2 9: aload 0
invokevirtual org.apache.xpath.axes.OneStepIterator.getXPathContext:()Lorg/apache/xpath/XPathContext;
astore 3
start local 3 10: aload 0
invokevirtual org.apache.xpath.axes.OneStepIterator.cloneWithReset:()Lorg/apache/xml/dtm/DTMIterator;
checkcast org.apache.xpath.axes.OneStepIterator
astore 4
start local 4 11: aload 0
invokevirtual org.apache.xpath.axes.OneStepIterator.getRoot:()I
istore 5
start local 5 12: aload 3
iload 5
invokevirtual org.apache.xpath.XPathContext.pushCurrentNode:(I)V
13: aload 4
iload 5
aload 3
invokevirtual org.apache.xpath.axes.OneStepIterator.setRoot:(ILjava/lang/Object;)V
14: aload 4
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_predicateIndex:I
putfield org.apache.xpath.axes.OneStepIterator.m_predCount:I
15: goto 17
16: StackMap locals: org.apache.xpath.axes.OneStepIterator int int org.apache.xpath.XPathContext org.apache.xpath.axes.OneStepIterator int
StackMap stack:
iinc 2 1
17: StackMap locals:
StackMap stack:
iconst_m1
aload 4
invokevirtual org.apache.xpath.axes.OneStepIterator.nextNode:()I
if_icmpne 16
end local 5 end local 4 18: goto 24
19: StackMap locals: org.apache.xpath.axes.OneStepIterator int int org.apache.xpath.XPathContext
StackMap stack: java.lang.CloneNotSupportedException
pop
20: aload 3
invokevirtual org.apache.xpath.XPathContext.popCurrentNode:()V
goto 25
21: StackMap locals:
StackMap stack: java.lang.Throwable
astore 6
22: aload 3
invokevirtual org.apache.xpath.XPathContext.popCurrentNode:()V
23: aload 6
athrow
24: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.xpath.XPathContext.popCurrentNode:()V
25: StackMap locals:
StackMap stack:
iload 1
ifeq 27
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_predicateIndex:I
iconst_1
if_icmpge 27
26: aload 0
iload 2
putfield org.apache.xpath.axes.OneStepIterator.m_length:I
27: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/xpath/axes/OneStepIterator;
5 28 1 isPredicateTest Z
9 28 2 count I
10 28 3 xctxt Lorg/apache/xpath/XPathContext;
11 18 4 clone Lorg/apache/xpath/axes/OneStepIterator;
12 18 5 root I
Exception table:
from to target type
10 18 19 Class java.lang.CloneNotSupportedException
10 20 21 any
protected void countProximityPosition(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.axes.OneStepIterator.isReverseAxes:()Z
ifne 2
1: aload 0
iload 1
invokespecial org.apache.xpath.axes.ChildTestIterator.countProximityPosition:(I)V
goto 4
2: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_proximityPositions:[I
arraylength
if_icmpge 4
3: aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_proximityPositions:[I
iload 1
dup2
iaload
iconst_1
isub
iastore
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xpath/axes/OneStepIterator;
0 5 1 i I
MethodParameters:
Name Flags
i
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.xpath.axes.ChildTestIterator.reset:()V
1: aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_iterator:Lorg/apache/xml/dtm/DTMAxisIterator;
ifnull 3
2: aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_iterator:Lorg/apache/xml/dtm/DTMAxisIterator;
invokeinterface org.apache.xml.dtm.DTMAxisIterator.reset:()Lorg/apache/xml/dtm/DTMAxisIterator;
pop
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xpath/axes/OneStepIterator;
public int getAxis();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_axis:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/axes/OneStepIterator;
public boolean deepEquals(org.apache.xpath.Expression);
descriptor: (Lorg/apache/xpath/Expression;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.xpath.axes.ChildTestIterator.deepEquals:(Lorg/apache/xpath/Expression;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xpath.axes.OneStepIterator.m_axis:I
aload 1
checkcast org.apache.xpath.axes.OneStepIterator
getfield org.apache.xpath.axes.OneStepIterator.m_axis:I
if_icmpeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xpath/axes/OneStepIterator;
0 5 1 expr Lorg/apache/xpath/Expression;
MethodParameters:
Name Flags
expr
}
SourceFile: "OneStepIterator.java"