final class extends sun.awt.windows.WMenuPeer implements java.awt.peer.PopupMenuPeer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.awt.windows.WPopupMenuPeer
super_class: sun.awt.windows.WMenuPeer
{
void (java.awt.PopupMenu);
descriptor: (Ljava/awt/PopupMenu;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.awt.windows.WMenuPeer.<init>:()V
1: aload 0
aload 1
putfield sun.awt.windows.WPopupMenuPeer.target:Ljava/lang/Object;
2: aconst_null
astore 2
start local 2 3: invokestatic sun.awt.AWTAccessor.getPopupMenuAccessor:()Lsun/awt/AWTAccessor$PopupMenuAccessor;
aload 1
invokeinterface sun.awt.AWTAccessor$PopupMenuAccessor.isTrayIconPopup:(Ljava/awt/PopupMenu;)Z
istore 3
start local 3 4: iload 3
ifeq 7
5: invokestatic sun.awt.AWTAccessor.getMenuComponentAccessor:()Lsun/awt/AWTAccessor$MenuComponentAccessor;
aload 1
invokeinterface sun.awt.AWTAccessor$MenuComponentAccessor.getParent:(Ljava/awt/MenuComponent;)Ljava/awt/MenuContainer;
astore 2
6: goto 8
7: StackMap locals: sun.awt.windows.WPopupMenuPeer java.awt.PopupMenu java.awt.MenuContainer int
StackMap stack:
aload 1
invokevirtual java.awt.PopupMenu.getParent:()Ljava/awt/MenuContainer;
astore 2
8: StackMap locals:
StackMap stack:
aload 2
instanceof java.awt.Component
ifeq 17
9: aload 2
invokestatic sun.awt.windows.WToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.windows.WComponentPeer
astore 4
start local 4 10: aload 4
ifnonnull 13
11: aload 2
checkcast java.awt.Component
invokestatic sun.awt.windows.WToolkit.getNativeContainer:(Ljava/awt/Component;)Ljava/awt/Container;
astore 2
12: aload 2
invokestatic sun.awt.windows.WToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.windows.WComponentPeer
astore 4
13: StackMap locals: sun.awt.windows.WComponentPeer
StackMap stack:
aload 4
aload 0
invokevirtual sun.awt.windows.WComponentPeer.addChildPeer:(Lsun/awt/windows/WObjectPeer;)V
14: aload 0
aload 4
invokevirtual sun.awt.windows.WPopupMenuPeer.createMenu:(Lsun/awt/windows/WComponentPeer;)V
15: aload 0
invokevirtual sun.awt.windows.WPopupMenuPeer.checkMenuCreation:()V
end local 4 16: goto 20
17: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
18: ldc "illegal popup menu container class"
19: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/awt/windows/WPopupMenuPeer;
0 21 1 target Ljava/awt/PopupMenu;
3 21 2 parent Ljava/awt/MenuContainer;
4 21 3 isTrayIconPopup Z
10 16 4 parentPeer Lsun/awt/windows/WComponentPeer;
MethodParameters:
Name Flags
target
private native void (sun.awt.windows.WComponentPeer);
descriptor: (Lsun/awt/windows/WComponentPeer;)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
parent
public void (java.awt.Event);
descriptor: (Ljava/awt/Event;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
getfield java.awt.Event.target:Ljava/lang/Object;
checkcast java.awt.Component
astore 2
start local 2 1: aload 2
invokestatic sun.awt.windows.WToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.windows.WComponentPeer
astore 3
start local 3 2: aload 3
ifnonnull 12
3: aload 2
invokestatic sun.awt.windows.WToolkit.getNativeContainer:(Ljava/awt/Component;)Ljava/awt/Container;
astore 4
start local 4 4: aload 1
aload 4
putfield java.awt.Event.target:Ljava/lang/Object;
5: aload 2
astore 5
start local 5 6: goto 11
7: StackMap locals: sun.awt.windows.WPopupMenuPeer java.awt.Event java.awt.Component sun.awt.windows.WComponentPeer java.awt.Component java.awt.Component
StackMap stack:
aload 5
invokevirtual java.awt.Component.getLocation:()Ljava/awt/Point;
astore 6
start local 6 8: aload 1
dup
getfield java.awt.Event.x:I
aload 6
getfield java.awt.Point.x:I
iadd
putfield java.awt.Event.x:I
9: aload 1
dup
getfield java.awt.Event.y:I
aload 6
getfield java.awt.Point.y:I
iadd
putfield java.awt.Event.y:I
end local 6 10: aload 5
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 5
StackMap locals:
StackMap stack:
11: aload 5
aload 4
if_acmpne 7
end local 5 end local 4 12: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.awt.windows.WPopupMenuPeer._show:(Ljava/awt/Event;)V
13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/windows/WPopupMenuPeer;
0 14 1 e Ljava/awt/Event;
1 14 2 origin Ljava/awt/Component;
2 14 3 peer Lsun/awt/windows/WComponentPeer;
4 12 4 nativeOrigin Ljava/awt/Component;
6 12 5 c Ljava/awt/Component;
8 10 6 p Ljava/awt/Point;
MethodParameters:
Name Flags
e
void (java.awt.Component, java.awt.Point);
descriptor: (Ljava/awt/Component;Ljava/awt/Point;)V
flags: (0x0000)
Code:
stack=10, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic sun.awt.windows.WToolkit.targetToPeer:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.awt.windows.WComponentPeer
astore 3
start local 3 1: new java.awt.Event
dup
aload 1
lconst_0
sipush 501
aload 2
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.y:I
iconst_0
iconst_0
invokespecial java.awt.Event.<init>:(Ljava/lang/Object;JIIIII)V
astore 4
start local 4 2: aload 3
ifnonnull 5
3: aload 1
invokestatic sun.awt.windows.WToolkit.getNativeContainer:(Ljava/awt/Component;)Ljava/awt/Container;
astore 5
start local 5 4: aload 4
aload 5
putfield java.awt.Event.target:Ljava/lang/Object;
end local 5 5: StackMap locals: sun.awt.windows.WComponentPeer java.awt.Event
StackMap stack:
aload 4
aload 2
getfield java.awt.Point.x:I
putfield java.awt.Event.x:I
6: aload 4
aload 2
getfield java.awt.Point.y:I
putfield java.awt.Event.y:I
7: aload 0
aload 4
invokevirtual sun.awt.windows.WPopupMenuPeer._show:(Ljava/awt/Event;)V
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/windows/WPopupMenuPeer;
0 9 1 origin Ljava/awt/Component;
0 9 2 p Ljava/awt/Point;
1 9 3 peer Lsun/awt/windows/WComponentPeer;
2 9 4 e Ljava/awt/Event;
4 5 5 nativeOrigin Ljava/awt/Component;
MethodParameters:
Name Flags
origin
p
private native void (java.awt.Event);
descriptor: (Ljava/awt/Event;)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
e
}
SourceFile: "WPopupMenuPeer.java"
InnerClasses:
public abstract MenuComponentAccessor = sun.awt.AWTAccessor$MenuComponentAccessor of sun.awt.AWTAccessor
public abstract PopupMenuAccessor = sun.awt.AWTAccessor$PopupMenuAccessor of sun.awt.AWTAccessor