public class org.stringtemplate.v4.misc.ArrayIterator implements java.util.Iterator<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.stringtemplate.v4.misc.ArrayIterator
super_class: java.lang.Object
{
protected int i;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.lang.Object array;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
protected int n;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield org.stringtemplate.v4.misc.ArrayIterator.i:I
2: aload 0
aconst_null
putfield org.stringtemplate.v4.misc.ArrayIterator.array:Ljava/lang/Object;
3: aload 0
aload 1
putfield org.stringtemplate.v4.misc.ArrayIterator.array:Ljava/lang/Object;
4: aload 0
aload 1
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
putfield org.stringtemplate.v4.misc.ArrayIterator.n:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/stringtemplate/v4/misc/ArrayIterator;
0 6 1 array Ljava/lang/Object;
MethodParameters:
Name Flags
array
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.stringtemplate.v4.misc.ArrayIterator.i:I
iconst_1
iadd
aload 0
getfield org.stringtemplate.v4.misc.ArrayIterator.n:I
if_icmpge 1
aload 0
getfield org.stringtemplate.v4.misc.ArrayIterator.n:I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/stringtemplate/v4/misc/ArrayIterator;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield org.stringtemplate.v4.misc.ArrayIterator.i:I
iconst_1
iadd
putfield org.stringtemplate.v4.misc.ArrayIterator.i:I
1: aload 0
getfield org.stringtemplate.v4.misc.ArrayIterator.i:I
aload 0
getfield org.stringtemplate.v4.misc.ArrayIterator.n:I
if_icmplt 3
2: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield org.stringtemplate.v4.misc.ArrayIterator.array:Ljava/lang/Object;
aload 0
getfield org.stringtemplate.v4.misc.ArrayIterator.i:I
invokestatic java.lang.reflect.Array.get:(Ljava/lang/Object;I)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/stringtemplate/v4/misc/ArrayIterator;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/stringtemplate/v4/misc/ArrayIterator;
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Ljava/lang/Object;>;
SourceFile: "ArrayIterator.java"