public final class extends com.sun.webkit.ContextMenu
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.javafx.webkit.theme.ContextMenuImpl
super_class: com.sun.webkit.ContextMenu
{
private static final com.sun.javafx.logging.PlatformLogger ;
descriptor: Lcom/sun/javafx/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final javafx.collections.ObservableList<com.sun.webkit.ContextMenuItem> ;
descriptor: Ljavafx/collections/ObservableList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljavafx/collections/ObservableList<Lcom/sun/webkit/ContextMenuItem;>;
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/javafx/webkit/theme/ContextMenuImpl;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic com.sun.javafx.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lcom/sun/javafx/logging/PlatformLogger;
putstatic com.sun.javafx.webkit.theme.ContextMenuImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
return
LocalVariableTable:
Start End Slot Name Signature
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.webkit.ContextMenu.<init>:()V
1: aload 0
2: invokestatic javafx.collections.FXCollections.observableArrayList:()Ljavafx/collections/ObservableList;
putfield com.sun.javafx.webkit.theme.ContextMenuImpl.items:Ljavafx/collections/ObservableList;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/javafx/webkit/theme/ContextMenuImpl;
protected void (com.sun.webkit.ContextMenu$ShowContext, int, int);
descriptor: (Lcom/sun/webkit/ContextMenu$ShowContext;II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.sun.javafx.webkit.theme.ContextMenuImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINE:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 2
1: getstatic com.sun.javafx.webkit.theme.ContextMenuImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "show at [{0}, {1}]"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
new javafx.scene.control.ContextMenu
dup
invokespecial javafx.scene.control.ContextMenu.<init>:()V
astore 4
start local 4 3: aload 4
aload 1
invokedynamic handle(Lcom/sun/webkit/ContextMenu$ShowContext;)Ljavafx/event/EventHandler;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljavafx/event/Event;)V
com/sun/javafx/webkit/theme/ContextMenuImpl.lambda$0(Lcom/sun/webkit/ContextMenu$ShowContext;Ljavafx/event/ActionEvent;)V (6)
(Ljavafx/event/ActionEvent;)V
invokevirtual javafx.scene.control.ContextMenu.setOnAction:(Ljavafx/event/EventHandler;)V
4: aload 4
invokevirtual javafx.scene.control.ContextMenu.getItems:()Ljavafx/collections/ObservableList;
aload 0
invokevirtual com.sun.javafx.webkit.theme.ContextMenuImpl.fillMenu:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.addAll:(Ljava/util/Collection;)Z
pop
5: aload 4
aload 1
invokevirtual com.sun.webkit.ContextMenu$ShowContext.getPage:()Lcom/sun/webkit/WebPage;
iload 2
iload 3
invokestatic com.sun.javafx.webkit.theme.PopupMenuImpl.doShow:(Ljavafx/scene/control/ContextMenu;Lcom/sun/webkit/WebPage;II)V
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/javafx/webkit/theme/ContextMenuImpl;
0 7 1 showContext Lcom/sun/webkit/ContextMenu$ShowContext;
0 7 2 x I
0 7 3 y I
3 7 4 popupMenu Ljavafx/scene/control/ContextMenu;
MethodParameters:
Name Flags
showContext final
x
y
protected void (com.sun.webkit.ContextMenuItem);
descriptor: (Lcom/sun/webkit/ContextMenuItem;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield com.sun.javafx.webkit.theme.ContextMenuImpl.items:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
invokevirtual com.sun.javafx.webkit.theme.ContextMenuImpl.insertItem:(Lcom/sun/webkit/ContextMenuItem;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/webkit/theme/ContextMenuImpl;
0 2 1 item Lcom/sun/webkit/ContextMenuItem;
MethodParameters:
Name Flags
item
protected void (com.sun.webkit.ContextMenuItem, int);
descriptor: (Lcom/sun/webkit/ContextMenuItem;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.javafx.webkit.theme.ContextMenuImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
getstatic com.sun.javafx.logging.PlatformLogger$Level.FINE:Lcom/sun/javafx/logging/PlatformLogger$Level;
invokevirtual com.sun.javafx.logging.PlatformLogger.isLoggable:(Lcom/sun/javafx/logging/PlatformLogger$Level;)Z
ifeq 2
1: getstatic com.sun.javafx.webkit.theme.ContextMenuImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "item={0}, index={1}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.theme.ContextMenuImpl.items:Ljavafx/collections/ObservableList;
aload 1
invokeinterface javafx.collections.ObservableList.remove:(Ljava/lang/Object;)Z
pop
5: aload 0
getfield com.sun.javafx.webkit.theme.ContextMenuImpl.items:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
ifne 8
6: aload 0
getfield com.sun.javafx.webkit.theme.ContextMenuImpl.items:Ljavafx/collections/ObservableList;
aload 1
invokeinterface javafx.collections.ObservableList.add:(Ljava/lang/Object;)Z
pop
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.webkit.theme.ContextMenuImpl.items:Ljavafx/collections/ObservableList;
iload 2
aload 1
invokeinterface javafx.collections.ObservableList.add:(ILjava/lang/Object;)V
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/javafx/webkit/theme/ContextMenuImpl;
0 10 1 item Lcom/sun/webkit/ContextMenuItem;
0 10 2 index I
MethodParameters:
Name Flags
item
index
protected int ();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.webkit.theme.ContextMenuImpl.items:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/webkit/theme/ContextMenuImpl;
private javafx.scene.control.MenuItem (com.sun.webkit.ContextMenuItem);
descriptor: (Lcom/sun/webkit/ContextMenuItem;)Ljavafx/scene/control/MenuItem;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: getstatic com.sun.javafx.webkit.theme.ContextMenuImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "item={0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 1
invokevirtual com.sun.webkit.ContextMenuItem.getType:()I
iconst_2
if_icmpne 6
2: new com.sun.javafx.webkit.theme.ContextMenuImpl$MenuImpl
dup
aload 1
invokevirtual com.sun.webkit.ContextMenuItem.getTitle:()Ljava/lang/String;
invokespecial com.sun.javafx.webkit.theme.ContextMenuImpl$MenuImpl.<init>:(Ljava/lang/String;)V
astore 2
start local 2 3: aload 1
invokevirtual com.sun.webkit.ContextMenuItem.getSubmenu:()Lcom/sun/webkit/ContextMenu;
ifnull 5
4: aload 2
invokevirtual com.sun.javafx.webkit.theme.ContextMenuImpl$MenuImpl.getItems:()Ljavafx/collections/ObservableList;
aload 1
invokevirtual com.sun.webkit.ContextMenuItem.getSubmenu:()Lcom/sun/webkit/ContextMenu;
checkcast com.sun.javafx.webkit.theme.ContextMenuImpl
invokevirtual com.sun.javafx.webkit.theme.ContextMenuImpl.fillMenu:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.addAll:(Ljava/util/Collection;)Z
pop
5: StackMap locals: com.sun.javafx.webkit.theme.ContextMenuImpl$MenuImpl
StackMap stack:
aload 2
areturn
end local 2 6: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.webkit.ContextMenuItem.getType:()I
ifne 16
7: aconst_null
astore 2
start local 2 8: aload 1
invokevirtual com.sun.webkit.ContextMenuItem.isChecked:()Z
ifeq 11
9: new com.sun.javafx.webkit.theme.ContextMenuImpl$CheckMenuItemImpl
dup
aload 1
invokespecial com.sun.javafx.webkit.theme.ContextMenuImpl$CheckMenuItemImpl.<init>:(Lcom/sun/webkit/ContextMenuItem;)V
astore 2
10: goto 12
11: StackMap locals: javafx.scene.control.MenuItem
StackMap stack:
new com.sun.javafx.webkit.theme.ContextMenuImpl$MenuItemImpl
dup
aload 1
invokespecial com.sun.javafx.webkit.theme.ContextMenuImpl$MenuItemImpl.<init>:(Lcom/sun/webkit/ContextMenuItem;)V
astore 2
12: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual com.sun.webkit.ContextMenuItem.isEnabled:()Z
ifeq 13
iconst_0
goto 14
StackMap locals:
StackMap stack: javafx.scene.control.MenuItem
13: iconst_1
StackMap locals: com.sun.javafx.webkit.theme.ContextMenuImpl com.sun.webkit.ContextMenuItem javafx.scene.control.MenuItem
StackMap stack: javafx.scene.control.MenuItem int
14: invokevirtual javafx.scene.control.MenuItem.setDisable:(Z)V
15: aload 2
areturn
end local 2 16: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.webkit.ContextMenuItem.getType:()I
iconst_1
if_icmpne 18
17: new com.sun.javafx.webkit.theme.ContextMenuImpl$SeparatorImpl
dup
aload 1
invokespecial com.sun.javafx.webkit.theme.ContextMenuImpl$SeparatorImpl.<init>:(Lcom/sun/webkit/ContextMenuItem;)V
areturn
18: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "unexpected item type"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/javafx/webkit/theme/ContextMenuImpl;
0 19 1 item Lcom/sun/webkit/ContextMenuItem;
3 6 2 menu Lcom/sun/javafx/webkit/theme/ContextMenuImpl$MenuImpl;
8 16 2 mi Ljavafx/scene/control/MenuItem;
MethodParameters:
Name Flags
item
private javafx.collections.ObservableList<javafx.scene.control.MenuItem> fillMenu();
descriptor: ()Ljavafx/collections/ObservableList;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic javafx.collections.FXCollections.observableArrayList:()Ljavafx/collections/ObservableList;
astore 1
start local 1 1: aload 0
getfield com.sun.javafx.webkit.theme.ContextMenuImpl.items:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.sun.javafx.webkit.theme.ContextMenuImpl javafx.collections.ObservableList top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.webkit.ContextMenuItem
astore 2
start local 2 3: aload 1
aload 0
aload 2
invokevirtual com.sun.javafx.webkit.theme.ContextMenuImpl.createMenuItem:(Lcom/sun/webkit/ContextMenuItem;)Ljavafx/scene/control/MenuItem;
invokeinterface javafx.collections.ObservableList.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/webkit/theme/ContextMenuImpl;
1 6 1 s Ljavafx/collections/ObservableList<Ljavafx/scene/control/MenuItem;>;
3 4 2 item Lcom/sun/webkit/ContextMenuItem;
Signature: ()Ljavafx/collections/ObservableList<Ljavafx/scene/control/MenuItem;>;
private static void (com.sun.webkit.ContextMenu$ShowContext, javafx.event.ActionEvent);
descriptor: (Lcom/sun/webkit/ContextMenu$ShowContext;Ljavafx/event/ActionEvent;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=3, args_size=2
start local 1 0: aload 1
invokevirtual javafx.event.ActionEvent.getTarget:()Ljavafx/event/EventTarget;
checkcast javafx.scene.control.MenuItem
astore 2
start local 2 1: getstatic com.sun.javafx.webkit.theme.ContextMenuImpl.log:Lcom/sun/javafx/logging/PlatformLogger;
ldc "onAction: item={0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokevirtual com.sun.javafx.logging.PlatformLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
2: aload 0
aload 2
checkcast com.sun.javafx.webkit.theme.ContextMenuImpl$MenuItemPeer
invokeinterface com.sun.javafx.webkit.theme.ContextMenuImpl$MenuItemPeer.getItemPeer:()Lcom/sun/webkit/ContextMenuItem;
invokevirtual com.sun.webkit.ContextMenuItem.getAction:()I
invokevirtual com.sun.webkit.ContextMenu$ShowContext.notifyItemSelected:(I)V
end local 2 3: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 4 1 t Ljavafx/event/ActionEvent;
1 3 2 item Ljavafx/scene/control/MenuItem;
}
SourceFile: "ContextMenuImpl.java"
NestMembers:
com.sun.javafx.webkit.theme.ContextMenuImpl$CheckMenuItemImpl com.sun.javafx.webkit.theme.ContextMenuImpl$MenuImpl com.sun.javafx.webkit.theme.ContextMenuImpl$MenuItemImpl com.sun.javafx.webkit.theme.ContextMenuImpl$MenuItemPeer com.sun.javafx.webkit.theme.ContextMenuImpl$SeparatorImpl
InnerClasses:
public final Level = com.sun.javafx.logging.PlatformLogger$Level of com.sun.javafx.logging.PlatformLogger
private final CheckMenuItemImpl = com.sun.javafx.webkit.theme.ContextMenuImpl$CheckMenuItemImpl of com.sun.javafx.webkit.theme.ContextMenuImpl
private final MenuImpl = com.sun.javafx.webkit.theme.ContextMenuImpl$MenuImpl of com.sun.javafx.webkit.theme.ContextMenuImpl
private final MenuItemImpl = com.sun.javafx.webkit.theme.ContextMenuImpl$MenuItemImpl of com.sun.javafx.webkit.theme.ContextMenuImpl
private abstract MenuItemPeer = com.sun.javafx.webkit.theme.ContextMenuImpl$MenuItemPeer of com.sun.javafx.webkit.theme.ContextMenuImpl
final SeparatorImpl = com.sun.javafx.webkit.theme.ContextMenuImpl$SeparatorImpl of com.sun.javafx.webkit.theme.ContextMenuImpl
public final ShowContext = com.sun.webkit.ContextMenu$ShowContext of com.sun.webkit.ContextMenu
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles