class com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil
super_class: java.lang.Object
{
javax.xml.xpath.XPathFunctionResolver functionResolver;
descriptor: Ljavax/xml/xpath/XPathFunctionResolver;
flags: (0x0000)
javax.xml.xpath.XPathVariableResolver variableResolver;
descriptor: Ljavax/xml/xpath/XPathVariableResolver;
flags: (0x0000)
com.sun.org.apache.xpath.internal.jaxp.JAXPPrefixResolver prefixResolver;
descriptor: Lcom/sun/org/apache/xpath/internal/jaxp/JAXPPrefixResolver;
flags: (0x0000)
boolean overrideDefaultParser;
descriptor: Z
flags: (0x0000)
boolean featureSecureProcessing;
descriptor: Z
flags: (0x0000)
jdk.xml.internal.JdkXmlFeatures featureManager;
descriptor: Ljdk/xml/internal/JdkXmlFeatures;
flags: (0x0000)
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil.featureSecureProcessing:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xpath/internal/jaxp/XPathImplUtil;
com.sun.org.apache.xpath.internal.objects.XObject eval(java.lang.Object, com.sun.org.apache.xpath.internal.XPath);
descriptor: (Ljava/lang/Object;Lcom/sun/org/apache/xpath/internal/XPath;)Lcom/sun/org/apache/xpath/internal/objects/XObject;
flags: (0x0000)
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 5
aload 2
invokevirtual com.sun.org.apache.xpath.internal.XPath.getExpression:()Lcom/sun/org/apache/xpath/internal/Expression;
instanceof com.sun.org.apache.xpath.internal.axes.LocPathIterator
ifeq 5
1: new javax.xml.transform.TransformerException
dup
2: ldc "ER_CONTEXT_CAN_NOT_BE_NULL"
3: iconst_0
anewarray java.lang.Object
4: invokestatic com.sun.org.apache.xalan.internal.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil.functionResolver:Ljavax/xml/xpath/XPathFunctionResolver;
ifnull 11
6: new com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider
dup
7: aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil.functionResolver:Ljavax/xml/xpath/XPathFunctionResolver;
aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil.featureSecureProcessing:Z
aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil.featureManager:Ljdk/xml/internal/JdkXmlFeatures;
8: invokespecial com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider.<init>:(Ljavax/xml/xpath/XPathFunctionResolver;ZLjdk/xml/internal/JdkXmlFeatures;)V
astore 4
start local 4 9: new com.sun.org.apache.xpath.internal.XPathContext
dup
aload 4
invokespecial com.sun.org.apache.xpath.internal.XPathContext.<init>:(Ljava/lang/Object;)V
astore 3
end local 4 start local 3 10: goto 12
end local 3 11: StackMap locals:
StackMap stack:
new com.sun.org.apache.xpath.internal.XPathContext
dup
invokespecial com.sun.org.apache.xpath.internal.XPathContext.<init>:()V
astore 3
start local 3 12: StackMap locals: com.sun.org.apache.xpath.internal.XPathContext
StackMap stack:
aload 3
new com.sun.org.apache.xpath.internal.jaxp.JAXPVariableStack
dup
aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil.variableResolver:Ljavax/xml/xpath/XPathVariableResolver;
invokespecial com.sun.org.apache.xpath.internal.jaxp.JAXPVariableStack.<init>:(Ljavax/xml/xpath/XPathVariableResolver;)V
invokevirtual com.sun.org.apache.xpath.internal.XPathContext.setVarStack:(Lcom/sun/org/apache/xpath/internal/VariableStack;)V
13: aload 1
checkcast org.w3c.dom.Node
astore 5
start local 5 14: aload 5
ifnonnull 17
15: aload 2
aload 3
iconst_m1
aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil.prefixResolver:Lcom/sun/org/apache/xpath/internal/jaxp/JAXPPrefixResolver;
invokevirtual com.sun.org.apache.xpath.internal.XPath.execute:(Lcom/sun/org/apache/xpath/internal/XPathContext;ILcom/sun/org/apache/xml/internal/utils/PrefixResolver;)Lcom/sun/org/apache/xpath/internal/objects/XObject;
astore 4
start local 4 16: goto 18
end local 4 17: StackMap locals: com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil java.lang.Object com.sun.org.apache.xpath.internal.XPath com.sun.org.apache.xpath.internal.XPathContext top org.w3c.dom.Node
StackMap stack:
aload 2
aload 3
aload 5
aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil.prefixResolver:Lcom/sun/org/apache/xpath/internal/jaxp/JAXPPrefixResolver;
invokevirtual com.sun.org.apache.xpath.internal.XPath.execute:(Lcom/sun/org/apache/xpath/internal/XPathContext;Lorg/w3c/dom/Node;Lcom/sun/org/apache/xml/internal/utils/PrefixResolver;)Lcom/sun/org/apache/xpath/internal/objects/XObject;
astore 4
start local 4 18: StackMap locals: com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil java.lang.Object com.sun.org.apache.xpath.internal.XPath com.sun.org.apache.xpath.internal.XPathContext com.sun.org.apache.xpath.internal.objects.XObject org.w3c.dom.Node
StackMap stack:
aload 4
areturn
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 19 0 this Lcom/sun/org/apache/xpath/internal/jaxp/XPathImplUtil;
0 19 1 contextItem Ljava/lang/Object;
0 19 2 xpath Lcom/sun/org/apache/xpath/internal/XPath;
10 11 3 xpathSupport Lcom/sun/org/apache/xpath/internal/XPathContext;
12 19 3 xpathSupport Lcom/sun/org/apache/xpath/internal/XPathContext;
9 10 4 jep Lcom/sun/org/apache/xpath/internal/jaxp/JAXPExtensionsProvider;
16 17 4 xobj Lcom/sun/org/apache/xpath/internal/objects/XObject;
18 19 4 xobj Lcom/sun/org/apache/xpath/internal/objects/XObject;
14 19 5 contextNode Lorg/w3c/dom/Node;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
contextItem
xpath
org.w3c.dom.Document getDocument(org.xml.sax.InputSource);
descriptor: (Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "Source"
invokevirtual com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil.overrideDefaultParser:Z
invokestatic jdk.xml.internal.JdkXmlUtils.getDOMFactory:(Z)Ljavax/xml/parsers/DocumentBuilderFactory;
astore 2
start local 2 2: aload 2
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
aload 1
invokevirtual javax.xml.parsers.DocumentBuilder.parse:(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;
3: areturn
end local 2 4: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 5: new javax.xml.xpath.XPathExpressionException
dup
aload 2
invokespecial javax.xml.xpath.XPathExpressionException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xpath/internal/jaxp/XPathImplUtil;
0 6 1 source Lorg/xml/sax/InputSource;
2 4 2 dbf Ljavax/xml/parsers/DocumentBuilderFactory;
5 6 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 3 4 Class javax.xml.parsers.ParserConfigurationException
1 3 4 Class org.xml.sax.SAXException
1 3 4 Class java.io.IOException
Exceptions:
throws javax.xml.xpath.XPathExpressionException
MethodParameters:
Name Flags
source
java.lang.Object getResultAsType(com.sun.org.apache.xpath.internal.objects.XObject, javax.xml.namespace.QName);
descriptor: (Lcom/sun/org/apache/xpath/internal/objects/XObject;Ljavax/xml/namespace/QName;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getstatic javax.xml.xpath.XPathConstants.STRING:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 1
invokevirtual com.sun.org.apache.xpath.internal.objects.XObject.str:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 2
getstatic javax.xml.xpath.XPathConstants.NUMBER:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 1
invokevirtual com.sun.org.apache.xpath.internal.objects.XObject.num:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
areturn
4: StackMap locals:
StackMap stack:
aload 2
getstatic javax.xml.xpath.XPathConstants.BOOLEAN:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 1
invokevirtual com.sun.org.apache.xpath.internal.objects.XObject.bool:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
6: StackMap locals:
StackMap stack:
aload 2
getstatic javax.xml.xpath.XPathConstants.NODESET:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 1
invokevirtual com.sun.org.apache.xpath.internal.objects.XObject.nodelist:()Lorg/w3c/dom/NodeList;
areturn
8: StackMap locals:
StackMap stack:
aload 2
getstatic javax.xml.xpath.XPathConstants.NODE:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.equals:(Ljava/lang/Object;)Z
ifeq 11
9: aload 1
invokevirtual com.sun.org.apache.xpath.internal.objects.XObject.nodeset:()Lorg/w3c/dom/traversal/NodeIterator;
astore 3
start local 3 10: aload 3
invokeinterface org.w3c.dom.traversal.NodeIterator.nextNode:()Lorg/w3c/dom/Node;
areturn
end local 3 11: StackMap locals:
StackMap stack:
ldc "ER_UNSUPPORTED_RETURN_TYPE"
12: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual javax.xml.namespace.QName.toString:()Ljava/lang/String;
aastore
13: invokestatic com.sun.org.apache.xalan.internal.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 14: new java.lang.IllegalArgumentException
dup
aload 3
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/org/apache/xpath/internal/jaxp/XPathImplUtil;
0 15 1 resultObject Lcom/sun/org/apache/xpath/internal/objects/XObject;
0 15 2 returnType Ljavax/xml/namespace/QName;
10 11 3 ni Lorg/w3c/dom/traversal/NodeIterator;
14 15 3 fmsg Ljava/lang/String;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
resultObject
returnType
<T> T getXPathResult(com.sun.org.apache.xpath.internal.objects.XObject, java.lang.Class<T>);
descriptor: (Lcom/sun/org/apache/xpath/internal/objects/XObject;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.sun.org.apache.xpath.internal.objects.XObject.getType:()I
istore 3
start local 3 1: iload 3
tableswitch { // 1 - 5
1: 2
2: 3
3: 4
4: 5
5: 6
default: 7
}
2: StackMap locals: int
StackMap stack:
aload 2
new com.sun.org.apache.xpath.internal.jaxp.XPathResultImpl
dup
aload 1
ldc Ljava/lang/Boolean;
invokespecial com.sun.org.apache.xpath.internal.jaxp.XPathResultImpl.<init>:(Lcom/sun/org/apache/xpath/internal/objects/XObject;Ljava/lang/Class;)V
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
3: StackMap locals:
StackMap stack:
aload 2
new com.sun.org.apache.xpath.internal.jaxp.XPathResultImpl
dup
aload 1
ldc Ljava/lang/Double;
invokespecial com.sun.org.apache.xpath.internal.jaxp.XPathResultImpl.<init>:(Lcom/sun/org/apache/xpath/internal/objects/XObject;Ljava/lang/Class;)V
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
4: StackMap locals:
StackMap stack:
aload 2
new com.sun.org.apache.xpath.internal.jaxp.XPathResultImpl
dup
aload 1
ldc Ljava/lang/String;
invokespecial com.sun.org.apache.xpath.internal.jaxp.XPathResultImpl.<init>:(Lcom/sun/org/apache/xpath/internal/objects/XObject;Ljava/lang/Class;)V
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
5: StackMap locals:
StackMap stack:
aload 2
new com.sun.org.apache.xpath.internal.jaxp.XPathResultImpl
dup
aload 1
ldc Ljavax/xml/xpath/XPathNodes;
invokespecial com.sun.org.apache.xpath.internal.jaxp.XPathResultImpl.<init>:(Lcom/sun/org/apache/xpath/internal/objects/XObject;Ljava/lang/Class;)V
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
6: StackMap locals:
StackMap stack:
aload 2
new com.sun.org.apache.xpath.internal.jaxp.XPathResultImpl
dup
aload 1
ldc Lorg/w3c/dom/Node;
invokespecial com.sun.org.apache.xpath.internal.jaxp.XPathResultImpl.<init>:(Lcom/sun/org/apache/xpath/internal/objects/XObject;Ljava/lang/Class;)V
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
7: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/xpath/internal/jaxp/XPathImplUtil;
0 8 1 resultObject Lcom/sun/org/apache/xpath/internal/objects/XObject;
0 8 2 type Ljava/lang/Class<TT;>;
1 8 3 resultType I
Exceptions:
throws javax.xml.transform.TransformerException
Signature: <T:Ljava/lang/Object;>(Lcom/sun/org/apache/xpath/internal/objects/XObject;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
resultObject
type
<T> void isSupportedClassType(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "The class type"
invokevirtual com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 1
ldc Ljava/lang/Boolean;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 9
2: aload 1
ldc Ljava/lang/Double;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 9
3: aload 1
ldc Ljava/lang/Integer;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 9
4: aload 1
ldc Ljava/lang/Long;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 9
5: aload 1
ldc Ljava/lang/String;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 9
6: aload 1
ldc Ljavax/xml/xpath/XPathNodes;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 9
7: aload 1
ldc Lorg/w3c/dom/Node;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 9
8: aload 1
ldc Ljavax/xml/xpath/XPathEvaluationResult;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 10
9: StackMap locals:
StackMap stack:
return
10: StackMap locals:
StackMap stack:
ldc "ER_UNSUPPORTED_RETURN_TYPE"
11: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual java.lang.Class.toString:()Ljava/lang/String;
aastore
12: invokestatic com.sun.org.apache.xalan.internal.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 13: new java.lang.IllegalArgumentException
dup
aload 2
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/org/apache/xpath/internal/jaxp/XPathImplUtil;
0 14 1 type Ljava/lang/Class<TT;>;
13 14 2 fmsg Ljava/lang/String;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)V
MethodParameters:
Name Flags
type
void isSupported(javax.xml.namespace.QName);
descriptor: (Ljavax/xml/namespace/QName;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "returnType"
invokevirtual com.sun.org.apache.xpath.internal.jaxp.XPathImplUtil.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 1
getstatic javax.xml.xpath.XPathConstants.STRING:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.equals:(Ljava/lang/Object;)Z
ifne 6
2: aload 1
getstatic javax.xml.xpath.XPathConstants.NUMBER:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.equals:(Ljava/lang/Object;)Z
ifne 6
3: aload 1
getstatic javax.xml.xpath.XPathConstants.BOOLEAN:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.equals:(Ljava/lang/Object;)Z
ifne 6
4: aload 1
getstatic javax.xml.xpath.XPathConstants.NODE:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.equals:(Ljava/lang/Object;)Z
ifne 6
5: aload 1
getstatic javax.xml.xpath.XPathConstants.NODESET:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.equals:(Ljava/lang/Object;)Z
ifeq 7
6: StackMap locals:
StackMap stack:
return
7: StackMap locals:
StackMap stack:
ldc "ER_UNSUPPORTED_RETURN_TYPE"
8: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual javax.xml.namespace.QName.toString:()Ljava/lang/String;
aastore
9: invokestatic com.sun.org.apache.xalan.internal.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 2
start local 2 10: new java.lang.IllegalArgumentException
dup
aload 2
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/org/apache/xpath/internal/jaxp/XPathImplUtil;
0 11 1 returnType Ljavax/xml/namespace/QName;
10 11 2 fmsg Ljava/lang/String;
MethodParameters:
Name Flags
returnType
<T> void requireNonNull(T, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 5
1: ldc "ER_ARG_CANNOT_BE_NULL"
2: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
3: invokestatic com.sun.org.apache.xalan.internal.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 4: new java.lang.NullPointerException
dup
aload 3
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
end local 3 5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xpath/internal/jaxp/XPathImplUtil;
0 6 1 param TT;
0 6 2 paramName Ljava/lang/String;
4 5 3 fmsg Ljava/lang/String;
Signature: <T:Ljava/lang/Object;>(TT;Ljava/lang/String;)V
MethodParameters:
Name Flags
param
paramName
}
SourceFile: "XPathImplUtil.java"