public class org.apache.xpath.operations.Variable extends org.apache.xpath.Expression implements org.apache.xpath.axes.PathComponent
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xpath.operations.Variable
super_class: org.apache.xpath.Expression
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -4334975375609297049
private boolean m_fixUpWasCalled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected org.apache.xml.utils.QName m_qname;
descriptor: Lorg/apache/xml/utils/QName;
flags: (0x0004) ACC_PROTECTED
protected int m_index;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected boolean m_isGlobal;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
static final java.lang.String PSUEDOVARNAMESPACE;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "http://xml.apache.org/xalan/psuedovar"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.xpath.Expression.<init>:()V
1: aload 0
iconst_0
putfield org.apache.xpath.operations.Variable.m_fixUpWasCalled:Z
2: aload 0
iconst_0
putfield org.apache.xpath.operations.Variable.m_isGlobal:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xpath/operations/Variable;
public void setIndex(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.xpath.operations.Variable.m_index:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/operations/Variable;
0 2 1 index I
MethodParameters:
Name Flags
index
public int getIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.operations.Variable.m_index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/operations/Variable;
public void setIsGlobal(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.xpath.operations.Variable.m_isGlobal:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/operations/Variable;
0 2 1 isGlobal Z
MethodParameters:
Name Flags
isGlobal
public boolean getGlobal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.operations.Variable.m_isGlobal:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/operations/Variable;
public void fixupVariables(java.util.Vector, int);
descriptor: (Ljava/util/Vector;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_1
putfield org.apache.xpath.operations.Variable.m_fixUpWasCalled:Z
1: aload 1
invokevirtual java.util.Vector.size:()I
pop
2: aload 1
invokevirtual java.util.Vector.size:()I
iconst_1
isub
istore 3
start local 3 3: goto 13
4: StackMap locals: int
StackMap stack:
aload 1
iload 3
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast org.apache.xml.utils.QName
astore 4
start local 4 5: aload 4
aload 0
getfield org.apache.xpath.operations.Variable.m_qname:Lorg/apache/xml/utils/QName;
invokevirtual org.apache.xml.utils.QName.equals:(Ljava/lang/Object;)Z
ifeq 12
6: iload 3
iload 2
if_icmpge 10
7: aload 0
iconst_1
putfield org.apache.xpath.operations.Variable.m_isGlobal:Z
8: aload 0
iload 3
putfield org.apache.xpath.operations.Variable.m_index:I
9: goto 11
10: StackMap locals: org.apache.xml.utils.QName
StackMap stack:
aload 0
iload 3
iload 2
isub
putfield org.apache.xpath.operations.Variable.m_index:I
11: StackMap locals:
StackMap stack:
return
end local 4 12: StackMap locals:
StackMap stack:
iinc 3 -1
StackMap locals:
StackMap stack:
13: iload 3
ifge 4
end local 3 14: ldc "ER_COULD_NOT_FIND_VAR"
15: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.xpath.operations.Variable.m_qname:Lorg/apache/xml/utils/QName;
invokevirtual org.apache.xml.utils.QName.toString:()Ljava/lang/String;
aastore
16: invokestatic org.apache.xalan.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 17: new javax.xml.transform.TransformerException
dup
aload 3
aload 0
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;)V
astore 4
start local 4 18: new org.apache.xml.utils.WrappedRuntimeException
dup
aload 4
invokespecial org.apache.xml.utils.WrappedRuntimeException.<init>:(Ljava/lang/Exception;)V
athrow
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/xpath/operations/Variable;
0 19 1 vars Ljava/util/Vector;
0 19 2 globalsSize I
3 14 3 i I
5 12 4 qn Lorg/apache/xml/utils/QName;
17 19 3 msg Ljava/lang/String;
18 19 4 te Ljavax/xml/transform/TransformerException;
MethodParameters:
Name Flags
vars
globalsSize
public void setQName(org.apache.xml.utils.QName);
descriptor: (Lorg/apache/xml/utils/QName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.xpath.operations.Variable.m_qname:Lorg/apache/xml/utils/QName;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/operations/Variable;
0 2 1 qname Lorg/apache/xml/utils/QName;
MethodParameters:
Name Flags
qname
public org.apache.xml.utils.QName getQName();
descriptor: ()Lorg/apache/xml/utils/QName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.operations.Variable.m_qname:Lorg/apache/xml/utils/QName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/operations/Variable;
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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.apache.xpath.operations.Variable.execute:(Lorg/apache/xpath/XPathContext;Z)Lorg/apache/xpath/objects/XObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/operations/Variable;
0 1 1 xctxt Lorg/apache/xpath/XPathContext;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
public org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext, boolean);
descriptor: (Lorg/apache/xpath/XPathContext;Z)Lorg/apache/xpath/objects/XObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.xpath.XPathContext.getNamespaceContext:()Lorg/apache/xml/utils/PrefixResolver;
pop
1: aload 0
getfield org.apache.xpath.operations.Variable.m_fixUpWasCalled:Z
ifeq 7
2: aload 0
getfield org.apache.xpath.operations.Variable.m_isGlobal:Z
ifeq 5
3: aload 1
invokevirtual org.apache.xpath.XPathContext.getVarStack:()Lorg/apache/xpath/VariableStack;
aload 1
aload 0
getfield org.apache.xpath.operations.Variable.m_index:I
iload 2
invokevirtual org.apache.xpath.VariableStack.getGlobalVariable:(Lorg/apache/xpath/XPathContext;IZ)Lorg/apache/xpath/objects/XObject;
astore 3
start local 3 4: goto 8
end local 3 5: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.xpath.XPathContext.getVarStack:()Lorg/apache/xpath/VariableStack;
aload 1
aload 0
getfield org.apache.xpath.operations.Variable.m_index:I
iload 2
invokevirtual org.apache.xpath.VariableStack.getLocalVariable:(Lorg/apache/xpath/XPathContext;IZ)Lorg/apache/xpath/objects/XObject;
astore 3
start local 3 6: goto 8
end local 3 7: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.xpath.XPathContext.getVarStack:()Lorg/apache/xpath/VariableStack;
aload 1
aload 0
getfield org.apache.xpath.operations.Variable.m_qname:Lorg/apache/xml/utils/QName;
invokevirtual org.apache.xpath.VariableStack.getVariableOrParam:(Lorg/apache/xpath/XPathContext;Lorg/apache/xml/utils/QName;)Lorg/apache/xpath/objects/XObject;
astore 3
start local 3 8: StackMap locals: org.apache.xpath.objects.XObject
StackMap stack:
aload 3
ifnonnull 13
9: aload 0
aload 1
ldc "WG_ILLEGAL_VARIABLE_REFERENCE"
10: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.xpath.operations.Variable.m_qname:Lorg/apache/xml/utils/QName;
invokevirtual org.apache.xml.utils.QName.getLocalPart:()Ljava/lang/String;
aastore
11: invokevirtual org.apache.xpath.operations.Variable.warn:(Lorg/apache/xpath/XPathContext;Ljava/lang/String;[Ljava/lang/Object;)V
12: new org.apache.xpath.objects.XNodeSet
dup
aload 1
invokevirtual org.apache.xpath.XPathContext.getDTMManager:()Lorg/apache/xml/dtm/DTMManager;
invokespecial org.apache.xpath.objects.XNodeSet.<init>:(Lorg/apache/xml/dtm/DTMManager;)V
astore 3
13: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/xpath/operations/Variable;
0 14 1 xctxt Lorg/apache/xpath/XPathContext;
0 14 2 destructiveOK Z
4 5 3 result Lorg/apache/xpath/objects/XObject;
6 7 3 result Lorg/apache/xpath/objects/XObject;
8 14 3 result Lorg/apache/xpath/objects/XObject;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
destructiveOK
public org.apache.xalan.templates.ElemVariable getElemVariable();
descriptor: ()Lorg/apache/xalan/templates/ElemVariable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual org.apache.xpath.operations.Variable.getExpressionOwner:()Lorg/apache/xpath/ExpressionNode;
astore 2
start local 2 2: aload 2
ifnull 19
aload 2
instanceof org.apache.xalan.templates.ElemTemplateElement
ifeq 19
3: aload 2
checkcast org.apache.xalan.templates.ElemTemplateElement
4: astore 3
start local 3 5: aload 3
instanceof org.apache.xalan.templates.Stylesheet
ifne 17
6: goto 16
7: StackMap locals: org.apache.xalan.templates.ElemVariable org.apache.xpath.ExpressionNode org.apache.xalan.templates.ElemTemplateElement
StackMap stack:
aload 3
astore 4
start local 4 8: goto 14
9: StackMap locals: org.apache.xalan.templates.ElemTemplateElement
StackMap stack:
aload 3
instanceof org.apache.xalan.templates.ElemVariable
ifeq 14
10: aload 3
checkcast org.apache.xalan.templates.ElemVariable
astore 1
11: aload 1
invokevirtual org.apache.xalan.templates.ElemVariable.getName:()Lorg/apache/xml/utils/QName;
aload 0
getfield org.apache.xpath.operations.Variable.m_qname:Lorg/apache/xml/utils/QName;
invokevirtual org.apache.xml.utils.QName.equals:(Ljava/lang/Object;)Z
ifeq 13
12: aload 1
areturn
13: StackMap locals:
StackMap stack:
aconst_null
astore 1
14: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.xalan.templates.ElemTemplateElement.getPreviousSiblingElem:()Lorg/apache/xalan/templates/ElemTemplateElement;
dup
astore 3
ifnonnull 9
15: aload 4
invokevirtual org.apache.xalan.templates.ElemTemplateElement.getParentElem:()Lorg/apache/xalan/templates/ElemTemplateElement;
astore 3
end local 4 16: StackMap locals:
StackMap stack:
aload 3
ifnull 17
aload 3
invokevirtual org.apache.xalan.templates.ElemTemplateElement.getParentNode:()Lorg/w3c/dom/Node;
instanceof org.apache.xalan.templates.Stylesheet
ifeq 7
17: StackMap locals:
StackMap stack:
aload 3
ifnull 19
18: aload 3
invokevirtual org.apache.xalan.templates.ElemTemplateElement.getStylesheetRoot:()Lorg/apache/xalan/templates/StylesheetRoot;
aload 0
getfield org.apache.xpath.operations.Variable.m_qname:Lorg/apache/xml/utils/QName;
invokevirtual org.apache.xalan.templates.StylesheetRoot.getVariableOrParamComposed:(Lorg/apache/xml/utils/QName;)Lorg/apache/xalan/templates/ElemVariable;
astore 1
end local 3 19: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/xpath/operations/Variable;
1 20 1 vvar Lorg/apache/xalan/templates/ElemVariable;
2 20 2 owner Lorg/apache/xpath/ExpressionNode;
5 19 3 prev Lorg/apache/xalan/templates/ElemTemplateElement;
8 16 4 savedprev Lorg/apache/xalan/templates/ElemTemplateElement;
public boolean isStableNumber();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/operations/Variable;
public int getAnalysisBits();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.xpath.operations.Variable.getElemVariable:()Lorg/apache/xalan/templates/ElemVariable;
astore 1
start local 1 1: aload 1
ifnull 7
2: aload 1
invokevirtual org.apache.xalan.templates.ElemVariable.getSelect:()Lorg/apache/xpath/XPath;
astore 2
start local 2 3: aload 2
ifnull 7
4: aload 2
invokevirtual org.apache.xpath.XPath.getExpression:()Lorg/apache/xpath/Expression;
astore 3
start local 3 5: aload 3
ifnull 7
aload 3
instanceof org.apache.xpath.axes.PathComponent
ifeq 7
6: aload 3
checkcast org.apache.xpath.axes.PathComponent
invokeinterface org.apache.xpath.axes.PathComponent.getAnalysisBits:()I
ireturn
end local 3 end local 2 7: StackMap locals: org.apache.xalan.templates.ElemVariable
StackMap stack:
ldc 67108864
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/xpath/operations/Variable;
1 8 1 vvar Lorg/apache/xalan/templates/ElemVariable;
3 7 2 xpath Lorg/apache/xpath/XPath;
5 7 3 expr Lorg/apache/xpath/Expression;
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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
aload 0
invokevirtual org.apache.xpath.XPathVisitor.visitVariableRef:(Lorg/apache/xpath/ExpressionOwner;Lorg/apache/xpath/operations/Variable;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/operations/Variable;
0 2 1 owner Lorg/apache/xpath/ExpressionOwner;
0 2 2 visitor Lorg/apache/xpath/XPathVisitor;
MethodParameters:
Name Flags
owner
visitor
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
invokevirtual org.apache.xpath.operations.Variable.isSameClass:(Lorg/apache/xpath/Expression;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xpath.operations.Variable.m_qname:Lorg/apache/xml/utils/QName;
aload 1
checkcast org.apache.xpath.operations.Variable
getfield org.apache.xpath.operations.Variable.m_qname:Lorg/apache/xml/utils/QName;
invokevirtual org.apache.xml.utils.QName.equals:(Ljava/lang/Object;)Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.xpath.operations.Variable.getElemVariable:()Lorg/apache/xalan/templates/ElemVariable;
aload 1
checkcast org.apache.xpath.operations.Variable
invokevirtual org.apache.xpath.operations.Variable.getElemVariable:()Lorg/apache/xalan/templates/ElemVariable;
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/xpath/operations/Variable;
0 7 1 expr Lorg/apache/xpath/Expression;
MethodParameters:
Name Flags
expr
public boolean isPsuedoVarRef();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.operations.Variable.m_qname:Lorg/apache/xml/utils/QName;
invokevirtual org.apache.xml.utils.QName.getNamespaceURI:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 4
aload 1
ldc "http://xml.apache.org/xalan/psuedovar"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
getfield org.apache.xpath.operations.Variable.m_qname:Lorg/apache/xml/utils/QName;
invokevirtual org.apache.xml.utils.QName.getLocalName:()Ljava/lang/String;
ldc "#"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals: java.lang.String
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xpath/operations/Variable;
1 5 1 ns Ljava/lang/String;
}
SourceFile: "Variable.java"