class sun.awt.PostEventQueue
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.PostEventQueue
super_class: java.lang.Object
{
private sun.awt.EventQueueItem queueHead;
descriptor: Lsun/awt/EventQueueItem;
flags: (0x0002) ACC_PRIVATE
private sun.awt.EventQueueItem queueTail;
descriptor: Lsun/awt/EventQueueItem;
flags: (0x0002) ACC_PRIVATE
private final java.awt.EventQueue eventQueue;
descriptor: Ljava/awt/EventQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.awt.EventQueue);
descriptor: (Ljava/awt/EventQueue;)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
aconst_null
putfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
2: aload 0
aconst_null
putfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
3: aload 0
aload 1
putfield sun.awt.PostEventQueue.eventQueue:Ljava/awt/EventQueue;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/PostEventQueue;
0 5 1 eq Ljava/awt/EventQueue;
MethodParameters:
Name Flags
eq
public boolean noEvents();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
ifnonnull 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/awt/PostEventQueue;
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
ifnull 12
1: aload 0
dup
astore 2
monitorenter
2: aload 0
getfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
astore 1
start local 1 3: aload 0
aload 0
aconst_null
dup_x1
putfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
putfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
4: goto 7
5: StackMap locals: sun.awt.EventQueueItem sun.awt.PostEventQueue
StackMap stack:
aload 0
getfield sun.awt.PostEventQueue.eventQueue:Ljava/awt/EventQueue;
aload 1
getfield sun.awt.EventQueueItem.event:Ljava/awt/AWTEvent;
invokevirtual java.awt.EventQueue.postEvent:(Ljava/awt/AWTEvent;)V
6: aload 1
getfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
astore 1
7: StackMap locals:
StackMap stack:
aload 1
ifnonnull 5
8: aload 2
monitorexit
9: goto 12
end local 1 StackMap locals: sun.awt.PostEventQueue top sun.awt.PostEventQueue
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: StackMap locals: sun.awt.PostEventQueue
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/PostEventQueue;
3 10 1 tempQueue Lsun/awt/EventQueueItem;
Exception table:
from to target type
2 9 10 any
10 11 10 any
void postEvent(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: new sun.awt.EventQueueItem
dup
aload 1
invokespecial sun.awt.EventQueueItem.<init>:(Ljava/awt/AWTEvent;)V
astore 2
start local 2 1: aload 0
dup
astore 3
monitorenter
2: aload 0
getfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
ifnonnull 5
3: aload 0
aload 0
aload 2
dup_x1
putfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
putfield sun.awt.PostEventQueue.queueHead:Lsun/awt/EventQueueItem;
4: goto 7
5: StackMap locals: sun.awt.EventQueueItem sun.awt.PostEventQueue
StackMap stack:
aload 0
getfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
aload 2
putfield sun.awt.EventQueueItem.next:Lsun/awt/EventQueueItem;
6: aload 0
aload 2
putfield sun.awt.PostEventQueue.queueTail:Lsun/awt/EventQueueItem;
7: StackMap locals:
StackMap stack:
aload 3
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 3
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.PostEventQueue.eventQueue:Ljava/awt/EventQueue;
aload 1
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
invokestatic sun.awt.AWTAutoShutdown.getInstance:()Lsun/awt/AWTAutoShutdown;
if_acmpne 12
iconst_1
goto 13
StackMap locals:
StackMap stack: java.awt.EventQueue
12: iconst_0
StackMap locals: sun.awt.PostEventQueue java.awt.AWTEvent sun.awt.EventQueueItem
StackMap stack: java.awt.EventQueue int
13: invokestatic sun.awt.SunToolkit.wakeupEventQueue:(Ljava/awt/EventQueue;Z)V
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/PostEventQueue;
0 15 1 event Ljava/awt/AWTEvent;
1 15 2 item Lsun/awt/EventQueueItem;
Exception table:
from to target type
2 8 9 any
9 10 9 any
MethodParameters:
Name Flags
event
}
SourceFile: "SunToolkit.java"