public class extends javafx.scene.control.Menu implements com.sun.javafx.menu.MenuBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.scene.control.GlobalMenuAdapter
super_class: javafx.scene.control.Menu
{
private javafx.scene.control.Menu ;
descriptor: Ljavafx/scene/control/Menu;
flags: (0x0002) ACC_PRIVATE
private final javafx.collections.ObservableList<com.sun.javafx.menu.MenuItemBase> ;
descriptor: Ljavafx/collections/ObservableList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljavafx/collections/ObservableList<Lcom/sun/javafx/menu/MenuItemBase;>;
public static com.sun.javafx.menu.MenuBase (javafx.scene.control.Menu);
descriptor: (Ljavafx/scene/control/Menu;)Lcom/sun/javafx/menu/MenuBase;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.javafx.scene.control.GlobalMenuAdapter
dup
aload 0
invokespecial com.sun.javafx.scene.control.GlobalMenuAdapter.<init>:(Ljavafx/scene/control/Menu;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 menu Ljavafx/scene/control/Menu;
MethodParameters:
Name Flags
menu
private void (javafx.scene.control.Menu);
descriptor: (Ljavafx/scene/control/Menu;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javafx.scene.control.Menu.getText:()Ljava/lang/String;
invokespecial javafx.scene.control.Menu.<init>:(Ljava/lang/String;)V
1: aload 0
new com.sun.javafx.scene.control.GlobalMenuAdapter$1
dup
aload 0
invokespecial com.sun.javafx.scene.control.GlobalMenuAdapter$1.<init>:(Lcom/sun/javafx/scene/control/GlobalMenuAdapter;)V
putfield com.sun.javafx.scene.control.GlobalMenuAdapter.items:Ljavafx/collections/ObservableList;
2: aload 0
aload 1
putfield com.sun.javafx.scene.control.GlobalMenuAdapter.menu:Ljavafx/scene/control/Menu;
3: aload 0
aload 1
invokestatic com.sun.javafx.scene.control.GlobalMenuAdapter.bindMenuItemProperties:(Ljavafx/scene/control/MenuItem;Ljavafx/scene/control/MenuItem;)V
4: aload 1
invokevirtual javafx.scene.control.Menu.showingProperty:()Ljavafx/beans/property/ReadOnlyBooleanProperty;
aload 0
aload 1
invokedynamic invalidated(Lcom/sun/javafx/scene/control/GlobalMenuAdapter;Ljavafx/scene/control/Menu;)Ljavafx/beans/InvalidationListener;
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/beans/Observable;)V
com/sun/javafx/scene/control/GlobalMenuAdapter.lambda$0(Ljavafx/scene/control/Menu;Ljavafx/beans/Observable;)V (7)
(Ljavafx/beans/Observable;)V
invokevirtual javafx.beans.property.ReadOnlyBooleanProperty.addListener:(Ljavafx/beans/InvalidationListener;)V
5: aload 0
invokevirtual com.sun.javafx.scene.control.GlobalMenuAdapter.showingProperty:()Ljavafx/beans/property/ReadOnlyBooleanProperty;
aload 0
aload 1
invokedynamic invalidated(Lcom/sun/javafx/scene/control/GlobalMenuAdapter;Ljavafx/scene/control/Menu;)Ljavafx/beans/InvalidationListener;
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/beans/Observable;)V
com/sun/javafx/scene/control/GlobalMenuAdapter.lambda$1(Ljavafx/scene/control/Menu;Ljavafx/beans/Observable;)V (7)
(Ljavafx/beans/Observable;)V
invokevirtual javafx.beans.property.ReadOnlyBooleanProperty.addListener:(Ljavafx/beans/InvalidationListener;)V
6: aload 1
invokevirtual javafx.scene.control.Menu.getItems:()Ljavafx/collections/ObservableList;
new com.sun.javafx.scene.control.GlobalMenuAdapter$2
dup
aload 0
invokespecial com.sun.javafx.scene.control.GlobalMenuAdapter$2.<init>:(Lcom/sun/javafx/scene/control/GlobalMenuAdapter;)V
invokeinterface javafx.collections.ObservableList.addListener:(Ljavafx/collections/ListChangeListener;)V
7: aload 1
invokevirtual javafx.scene.control.Menu.getItems:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: com.sun.javafx.scene.control.GlobalMenuAdapter javafx.scene.control.Menu top java.util.Iterator
StackMap stack:
8: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.scene.control.MenuItem
astore 2
start local 2 9: aload 0
aload 2
aload 0
getfield com.sun.javafx.scene.control.GlobalMenuAdapter.items:Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
invokevirtual com.sun.javafx.scene.control.GlobalMenuAdapter.insertItem:(Ljavafx/scene/control/MenuItem;I)V
end local 2 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/javafx/scene/control/GlobalMenuAdapter;
0 12 1 menu Ljavafx/scene/control/Menu;
9 10 2 menuItem Ljavafx/scene/control/MenuItem;
MethodParameters:
Name Flags
menu final
private void (javafx.scene.control.MenuItem, int);
descriptor: (Ljavafx/scene/control/MenuItem;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof javafx.scene.control.Menu
ifeq 3
1: new com.sun.javafx.scene.control.GlobalMenuAdapter
dup
aload 1
checkcast javafx.scene.control.Menu
invokespecial com.sun.javafx.scene.control.GlobalMenuAdapter.<init>:(Ljavafx/scene/control/Menu;)V
astore 3
start local 3 2: goto 16
end local 3 StackMap locals:
StackMap stack:
3: aload 1
instanceof javafx.scene.control.CheckMenuItem
ifeq 6
4: new com.sun.javafx.scene.control.GlobalMenuAdapter$CheckMenuItemAdapter
dup
aload 1
checkcast javafx.scene.control.CheckMenuItem
invokespecial com.sun.javafx.scene.control.GlobalMenuAdapter$CheckMenuItemAdapter.<init>:(Ljavafx/scene/control/CheckMenuItem;)V
astore 3
start local 3 5: goto 16
end local 3 StackMap locals:
StackMap stack:
6: aload 1
instanceof javafx.scene.control.RadioMenuItem
ifeq 9
7: new com.sun.javafx.scene.control.GlobalMenuAdapter$RadioMenuItemAdapter
dup
aload 1
checkcast javafx.scene.control.RadioMenuItem
invokespecial com.sun.javafx.scene.control.GlobalMenuAdapter$RadioMenuItemAdapter.<init>:(Ljavafx/scene/control/RadioMenuItem;)V
astore 3
start local 3 8: goto 16
end local 3 StackMap locals:
StackMap stack:
9: aload 1
instanceof javafx.scene.control.SeparatorMenuItem
ifeq 12
10: new com.sun.javafx.scene.control.GlobalMenuAdapter$SeparatorMenuItemAdapter
dup
aload 1
checkcast javafx.scene.control.SeparatorMenuItem
invokespecial com.sun.javafx.scene.control.GlobalMenuAdapter$SeparatorMenuItemAdapter.<init>:(Ljavafx/scene/control/SeparatorMenuItem;)V
astore 3
start local 3 11: goto 16
end local 3 StackMap locals:
StackMap stack:
12: aload 1
instanceof javafx.scene.control.CustomMenuItem
ifeq 15
13: new com.sun.javafx.scene.control.GlobalMenuAdapter$CustomMenuItemAdapter
dup
aload 1
checkcast javafx.scene.control.CustomMenuItem
invokespecial com.sun.javafx.scene.control.GlobalMenuAdapter$CustomMenuItemAdapter.<init>:(Ljavafx/scene/control/CustomMenuItem;)V
astore 3
start local 3 14: goto 16
end local 3 15: StackMap locals:
StackMap stack:
new com.sun.javafx.scene.control.GlobalMenuAdapter$MenuItemAdapter
dup
aload 1
invokespecial com.sun.javafx.scene.control.GlobalMenuAdapter$MenuItemAdapter.<init>:(Ljavafx/scene/control/MenuItem;)V
astore 3
start local 3 16: StackMap locals: com.sun.javafx.menu.MenuItemBase
StackMap stack:
aload 0
getfield com.sun.javafx.scene.control.GlobalMenuAdapter.items:Ljavafx/collections/ObservableList;
iload 2
aload 3
invokeinterface javafx.collections.ObservableList.add:(ILjava/lang/Object;)V
17: aload 0
invokevirtual com.sun.javafx.scene.control.GlobalMenuAdapter.getItems:()Ljavafx/collections/ObservableList;
iload 2
aload 3
checkcast javafx.scene.control.MenuItem
invokeinterface javafx.collections.ObservableList.add:(ILjava/lang/Object;)V
18: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/javafx/scene/control/GlobalMenuAdapter;
0 19 1 menuItem Ljavafx/scene/control/MenuItem;
0 19 2 pos I
2 3 3 mib Lcom/sun/javafx/menu/MenuItemBase;
5 6 3 mib Lcom/sun/javafx/menu/MenuItemBase;
8 9 3 mib Lcom/sun/javafx/menu/MenuItemBase;
11 12 3 mib Lcom/sun/javafx/menu/MenuItemBase;
14 15 3 mib Lcom/sun/javafx/menu/MenuItemBase;
16 19 3 mib Lcom/sun/javafx/menu/MenuItemBase;
MethodParameters:
Name Flags
menuItem
pos
public final javafx.collections.ObservableList<com.sun.javafx.menu.MenuItemBase> getItemsBase();
descriptor: ()Ljavafx/collections/ObservableList;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.scene.control.GlobalMenuAdapter.items:Ljavafx/collections/ObservableList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/scene/control/GlobalMenuAdapter;
Signature: ()Ljavafx/collections/ObservableList<Lcom/sun/javafx/menu/MenuItemBase;>;
private static void (javafx.scene.control.MenuItem, javafx.scene.control.MenuItem);
descriptor: (Ljavafx/scene/control/MenuItem;Ljavafx/scene/control/MenuItem;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javafx.scene.control.MenuItem.idProperty:()Ljavafx/beans/property/StringProperty;
aload 1
invokevirtual javafx.scene.control.MenuItem.idProperty:()Ljavafx/beans/property/StringProperty;
invokevirtual javafx.beans.property.StringProperty.bind:(Ljavafx/beans/value/ObservableValue;)V
1: aload 0
invokevirtual javafx.scene.control.MenuItem.textProperty:()Ljavafx/beans/property/StringProperty;
aload 1
invokevirtual javafx.scene.control.MenuItem.textProperty:()Ljavafx/beans/property/StringProperty;
invokevirtual javafx.beans.property.StringProperty.bind:(Ljavafx/beans/value/ObservableValue;)V
2: aload 0
invokevirtual javafx.scene.control.MenuItem.graphicProperty:()Ljavafx/beans/property/ObjectProperty;
aload 1
invokevirtual javafx.scene.control.MenuItem.graphicProperty:()Ljavafx/beans/property/ObjectProperty;
invokevirtual javafx.beans.property.ObjectProperty.bind:(Ljavafx/beans/value/ObservableValue;)V
3: aload 0
invokevirtual javafx.scene.control.MenuItem.disableProperty:()Ljavafx/beans/property/BooleanProperty;
aload 1
invokevirtual javafx.scene.control.MenuItem.disableProperty:()Ljavafx/beans/property/BooleanProperty;
invokevirtual javafx.beans.property.BooleanProperty.bind:(Ljavafx/beans/value/ObservableValue;)V
4: aload 0
invokevirtual javafx.scene.control.MenuItem.visibleProperty:()Ljavafx/beans/property/BooleanProperty;
aload 1
invokevirtual javafx.scene.control.MenuItem.visibleProperty:()Ljavafx/beans/property/BooleanProperty;
invokevirtual javafx.beans.property.BooleanProperty.bind:(Ljavafx/beans/value/ObservableValue;)V
5: aload 0
invokevirtual javafx.scene.control.MenuItem.acceleratorProperty:()Ljavafx/beans/property/ObjectProperty;
aload 1
invokevirtual javafx.scene.control.MenuItem.acceleratorProperty:()Ljavafx/beans/property/ObjectProperty;
invokevirtual javafx.beans.property.ObjectProperty.bind:(Ljavafx/beans/value/ObservableValue;)V
6: aload 0
invokevirtual javafx.scene.control.MenuItem.mnemonicParsingProperty:()Ljavafx/beans/property/BooleanProperty;
aload 1
invokevirtual javafx.scene.control.MenuItem.mnemonicParsingProperty:()Ljavafx/beans/property/BooleanProperty;
invokevirtual javafx.beans.property.BooleanProperty.bind:(Ljavafx/beans/value/ObservableValue;)V
7: aload 0
aload 1
invokedynamic handle(Ljavafx/scene/control/MenuItem;)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/scene/control/GlobalMenuAdapter.lambda$2(Ljavafx/scene/control/MenuItem;Ljavafx/event/ActionEvent;)V (6)
(Ljavafx/event/ActionEvent;)V
invokevirtual javafx.scene.control.MenuItem.setOnAction:(Ljavafx/event/EventHandler;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 adapter Ljavafx/scene/control/MenuItem;
0 9 1 menuItem Ljavafx/scene/control/MenuItem;
MethodParameters:
Name Flags
adapter
menuItem final
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.scene.control.GlobalMenuAdapter.menu:Ljavafx/scene/control/Menu;
invokevirtual javafx.scene.control.Menu.getOnMenuValidation:()Ljavafx/event/EventHandler;
ifnull 2
1: aload 0
getfield com.sun.javafx.scene.control.GlobalMenuAdapter.menu:Ljavafx/scene/control/Menu;
new javafx.event.Event
dup
getstatic com.sun.javafx.scene.control.GlobalMenuAdapter.MENU_VALIDATION_EVENT:Ljavafx/event/EventType;
invokespecial javafx.event.Event.<init>:(Ljavafx/event/EventType;)V
invokestatic javafx.event.Event.fireEvent:(Ljavafx/event/EventTarget;Ljavafx/event/Event;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.javafx.scene.control.GlobalMenuAdapter.menu:Ljavafx/scene/control/Menu;
invokevirtual javafx.scene.control.Menu.getParentMenu:()Ljavafx/scene/control/Menu;
astore 1
start local 1 3: aload 1
ifnull 5
aload 1
invokevirtual javafx.scene.control.Menu.getOnMenuValidation:()Ljavafx/event/EventHandler;
ifnull 5
4: aload 1
new javafx.event.Event
dup
getstatic javafx.scene.control.MenuItem.MENU_VALIDATION_EVENT:Ljavafx/event/EventType;
invokespecial javafx.event.Event.<init>:(Ljavafx/event/EventType;)V
invokestatic javafx.event.Event.fireEvent:(Ljavafx/event/EventTarget;Ljavafx/event/Event;)V
5: StackMap locals: javafx.scene.control.Menu
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/scene/control/GlobalMenuAdapter;
3 6 1 target Ljavafx/scene/control/Menu;
private void (javafx.scene.control.Menu, javafx.beans.Observable);
descriptor: (Ljavafx/scene/control/Menu;Ljavafx/beans/Observable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 2 0: aload 1
invokevirtual javafx.scene.control.Menu.isShowing:()Z
ifeq 3
aload 0
invokevirtual com.sun.javafx.scene.control.GlobalMenuAdapter.isShowing:()Z
ifne 3
1: aload 0
invokevirtual com.sun.javafx.scene.control.GlobalMenuAdapter.show:()V
2: goto 5
StackMap locals:
StackMap stack:
3: aload 1
invokevirtual javafx.scene.control.Menu.isShowing:()Z
ifne 5
aload 0
invokevirtual com.sun.javafx.scene.control.GlobalMenuAdapter.isShowing:()Z
ifeq 5
4: aload 0
invokevirtual com.sun.javafx.scene.control.GlobalMenuAdapter.hide:()V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/scene/control/GlobalMenuAdapter;
0 6 2 property Ljavafx/beans/Observable;
private void (javafx.scene.control.Menu, javafx.beans.Observable);
descriptor: (Ljavafx/scene/control/Menu;Ljavafx/beans/Observable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 2 0: aload 0
invokevirtual com.sun.javafx.scene.control.GlobalMenuAdapter.isShowing:()Z
ifeq 3
aload 1
invokevirtual javafx.scene.control.Menu.isShowing:()Z
ifne 3
1: aload 1
invokevirtual javafx.scene.control.Menu.show:()V
2: goto 5
StackMap locals:
StackMap stack:
3: aload 0
invokevirtual com.sun.javafx.scene.control.GlobalMenuAdapter.isShowing:()Z
ifne 5
aload 1
invokevirtual javafx.scene.control.Menu.isShowing:()Z
ifeq 5
4: aload 1
invokevirtual javafx.scene.control.Menu.hide:()V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/scene/control/GlobalMenuAdapter;
0 6 2 property Ljavafx/beans/Observable;
private static void (javafx.scene.control.MenuItem, javafx.event.ActionEvent);
descriptor: (Ljavafx/scene/control/MenuItem;Ljavafx/event/ActionEvent;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 1 0: aload 0
invokevirtual javafx.scene.control.MenuItem.fire:()V
1: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 ev Ljavafx/event/ActionEvent;
}
SourceFile: "GlobalMenuAdapter.java"
NestMembers:
com.sun.javafx.scene.control.GlobalMenuAdapter$1 com.sun.javafx.scene.control.GlobalMenuAdapter$2 com.sun.javafx.scene.control.GlobalMenuAdapter$CheckMenuItemAdapter com.sun.javafx.scene.control.GlobalMenuAdapter$CustomMenuItemAdapter com.sun.javafx.scene.control.GlobalMenuAdapter$MenuItemAdapter com.sun.javafx.scene.control.GlobalMenuAdapter$RadioMenuItemAdapter com.sun.javafx.scene.control.GlobalMenuAdapter$SeparatorMenuItemAdapter
InnerClasses:
com.sun.javafx.scene.control.GlobalMenuAdapter$1
com.sun.javafx.scene.control.GlobalMenuAdapter$2
private CheckMenuItemAdapter = com.sun.javafx.scene.control.GlobalMenuAdapter$CheckMenuItemAdapter of com.sun.javafx.scene.control.GlobalMenuAdapter
private CustomMenuItemAdapter = com.sun.javafx.scene.control.GlobalMenuAdapter$CustomMenuItemAdapter of com.sun.javafx.scene.control.GlobalMenuAdapter
private MenuItemAdapter = com.sun.javafx.scene.control.GlobalMenuAdapter$MenuItemAdapter of com.sun.javafx.scene.control.GlobalMenuAdapter
private RadioMenuItemAdapter = com.sun.javafx.scene.control.GlobalMenuAdapter$RadioMenuItemAdapter of com.sun.javafx.scene.control.GlobalMenuAdapter
private SeparatorMenuItemAdapter = com.sun.javafx.scene.control.GlobalMenuAdapter$SeparatorMenuItemAdapter of com.sun.javafx.scene.control.GlobalMenuAdapter
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles