public class com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl implements javax.xml.xpath.XPathNodes
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl
super_class: java.lang.Object
{
java.lang.Class<org.w3c.dom.Node> elementType;
descriptor: Ljava/lang/Class;
flags: (0x0000)
Signature: Ljava/lang/Class<Lorg/w3c/dom/Node;>;
org.w3c.dom.NodeList nodeList;
descriptor: Lorg/w3c/dom/NodeList;
flags: (0x0000)
public void <init>(org.w3c.dom.NodeList, java.lang.Class<org.w3c.dom.Node>);
descriptor: (Lorg/w3c/dom/NodeList;Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl.nodeList:Lorg/w3c/dom/NodeList;
2: aload 0
aload 1
putfield com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl.nodeList:Lorg/w3c/dom/NodeList;
3: aload 0
aload 2
putfield com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl.elementType:Ljava/lang/Class;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xpath/internal/jaxp/XPathNodesImpl;
0 5 1 nodeList Lorg/w3c/dom/NodeList;
0 5 2 elementType Ljava/lang/Class<Lorg/w3c/dom/Node;>;
Signature: (Lorg/w3c/dom/NodeList;Ljava/lang/Class<Lorg/w3c/dom/Node;>;)V
MethodParameters:
Name Flags
nodeList
elementType
public java.util.Iterator<org.w3c.dom.Node> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl$NodeSetIterator
dup
aload 0
aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl.elementType:Ljava/lang/Class;
invokespecial com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl$NodeSetIterator.<init>:(Lcom/sun/org/apache/xpath/internal/jaxp/XPathNodesImpl;Ljava/lang/Class;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xpath/internal/jaxp/XPathNodesImpl;
Signature: ()Ljava/util/Iterator<Lorg/w3c/dom/Node;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl.nodeList:Lorg/w3c/dom/NodeList;
ifnull 2
1: aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl.nodeList:Lorg/w3c/dom/NodeList;
invokeinterface org.w3c.dom.NodeList.getLength:()I
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xpath/internal/jaxp/XPathNodesImpl;
public org.w3c.dom.Node get(int);
descriptor: (I)Lorg/w3c/dom/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
invokevirtual com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl.size:()I
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.IndexOutOfBoundsException
dup
new java.lang.StringBuilder
dup
ldc "Index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " is out of bounds"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl.nodeList:Lorg/w3c/dom/NodeList;
ifnull 4
3: aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl.nodeList:Lorg/w3c/dom/NodeList;
iload 1
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
areturn
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xpath/internal/jaxp/XPathNodesImpl;
0 5 1 index I
Exceptions:
throws javax.xml.xpath.XPathException
MethodParameters:
Name Flags
index
}
SourceFile: "XPathNodesImpl.java"
NestMembers:
com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl$NodeSetIterator
InnerClasses:
NodeSetIterator = com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl$NodeSetIterator of com.sun.org.apache.xpath.internal.jaxp.XPathNodesImpl