final class sun.misc.FIFOQueueEnumerator implements java.util.Enumeration
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.misc.FIFOQueueEnumerator
super_class: java.lang.Object
{
sun.misc.Queue queue;
descriptor: Lsun/misc/Queue;
flags: (0x0000)
sun.misc.QueueElement cursor;
descriptor: Lsun/misc/QueueElement;
flags: (0x0000)
void <init>(sun.misc.Queue);
descriptor: (Lsun/misc/Queue;)V
flags: (0x0000)
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
aload 1
putfield sun.misc.FIFOQueueEnumerator.queue:Lsun/misc/Queue;
2: aload 0
aload 1
getfield sun.misc.Queue.tail:Lsun/misc/QueueElement;
putfield sun.misc.FIFOQueueEnumerator.cursor:Lsun/misc/QueueElement;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/misc/FIFOQueueEnumerator;
0 4 1 q Lsun/misc/Queue;
MethodParameters:
Name Flags
q
public boolean hasMoreElements();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.misc.FIFOQueueEnumerator.cursor:Lsun/misc/QueueElement;
ifnull 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 Lsun/misc/FIFOQueueEnumerator;
public java.lang.Object nextElement();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.misc.FIFOQueueEnumerator.queue:Lsun/misc/Queue;
dup
astore 1
monitorenter
1: aload 0
getfield sun.misc.FIFOQueueEnumerator.cursor:Lsun/misc/QueueElement;
ifnull 6
2: aload 0
getfield sun.misc.FIFOQueueEnumerator.cursor:Lsun/misc/QueueElement;
astore 2
start local 2 3: aload 0
aload 0
getfield sun.misc.FIFOQueueEnumerator.cursor:Lsun/misc/QueueElement;
getfield sun.misc.QueueElement.prev:Lsun/misc/QueueElement;
putfield sun.misc.FIFOQueueEnumerator.cursor:Lsun/misc/QueueElement;
4: aload 2
getfield sun.misc.QueueElement.obj:Ljava/lang/Object;
aload 1
monitorexit
5: areturn
end local 2 6: StackMap locals: sun.misc.Queue
StackMap stack:
aload 1
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
new java.util.NoSuchElementException
dup
ldc "FIFOQueueEnumerator"
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/misc/FIFOQueueEnumerator;
3 6 2 result Lsun/misc/QueueElement;
Exception table:
from to target type
1 5 8 any
6 7 8 any
8 9 8 any
}
SourceFile: "Queue.java"