class javafx.scene.control.Menu$5 extends com.sun.javafx.collections.TrackableObservableList<javafx.scene.control.MenuItem>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.control.Menu$5
super_class: com.sun.javafx.collections.TrackableObservableList
{
final javafx.scene.control.Menu this$0;
descriptor: Ljavafx/scene/control/Menu;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javafx.scene.control.Menu);
descriptor: (Ljavafx/scene/control/Menu;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // javafx.scene.control.Menu$5 this
0: .line 361
aload 0 /* this */
aload 1
putfield javafx.scene.control.Menu$5.this$0:Ljavafx/scene/control/Menu;
aload 0 /* this */
invokespecial com.sun.javafx.collections.TrackableObservableList.<init>:()V
return
end local 0 // javafx.scene.control.Menu$5 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/Menu$5;
MethodParameters:
Name Flags
this$0 final
protected void onChanged(javafx.collections.ListChangeListener$Change<javafx.scene.control.MenuItem>);
descriptor: (Ljavafx/collections/ListChangeListener$Change;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 // javafx.scene.control.Menu$5 this
start local 1 // javafx.collections.ListChangeListener$Change c
0: .line 363
goto 17
1: .line 365
StackMap locals:
StackMap stack:
aload 1 /* c */
invokevirtual javafx.collections.ListChangeListener$Change.getRemoved:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: javafx.scene.control.Menu$5 javafx.collections.ListChangeListener$Change top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.scene.control.MenuItem
astore 2 /* item */
start local 2 // javafx.scene.control.MenuItem item
3: .line 366
aload 2 /* item */
aconst_null
invokevirtual javafx.scene.control.MenuItem.setParentMenu:(Ljavafx/scene/control/Menu;)V
4: .line 367
aload 2 /* item */
aconst_null
invokevirtual javafx.scene.control.MenuItem.setParentPopup:(Ljavafx/scene/control/ContextMenu;)V
end local 2 // javafx.scene.control.MenuItem item
5: .line 365
StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: .line 371
aload 1 /* c */
invokevirtual javafx.collections.ListChangeListener$Change.getAddedSubList:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 16
StackMap locals:
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.scene.control.MenuItem
astore 2 /* item */
start local 2 // javafx.scene.control.MenuItem item
8: .line 372
aload 2 /* item */
invokevirtual javafx.scene.control.MenuItem.getParentMenu:()Ljavafx/scene/control/Menu;
ifnull 14
9: .line 373
invokestatic com.sun.javafx.scene.control.Logging.getControlsLogger:()Lcom/sun/javafx/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "Adding MenuItem "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: .line 374
aload 2 /* item */
invokevirtual javafx.scene.control.MenuItem.getText:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " that has already been added to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: .line 375
aload 2 /* item */
invokevirtual javafx.scene.control.MenuItem.getParentMenu:()Ljavafx/scene/control/Menu;
invokevirtual javafx.scene.control.Menu.getText:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: .line 373
invokevirtual com.sun.javafx.logging.PlatformLogger.warning:(Ljava/lang/String;)V
13: .line 376
aload 2 /* item */
invokevirtual javafx.scene.control.MenuItem.getParentMenu:()Ljavafx/scene/control/Menu;
invokevirtual javafx.scene.control.Menu.getItems:()Ljavafx/collections/ObservableList;
aload 2 /* item */
invokeinterface javafx.collections.ObservableList.remove:(Ljava/lang/Object;)Z
pop
14: .line 379
StackMap locals: javafx.scene.control.Menu$5 javafx.collections.ListChangeListener$Change javafx.scene.control.MenuItem java.util.Iterator
StackMap stack:
aload 2 /* item */
aload 0 /* this */
getfield javafx.scene.control.Menu$5.this$0:Ljavafx/scene/control/Menu;
invokevirtual javafx.scene.control.MenuItem.setParentMenu:(Ljavafx/scene/control/Menu;)V
15: .line 380
aload 2 /* item */
aload 0 /* this */
getfield javafx.scene.control.Menu$5.this$0:Ljavafx/scene/control/Menu;
invokevirtual javafx.scene.control.Menu.getParentPopup:()Ljavafx/scene/control/ContextMenu;
invokevirtual javafx.scene.control.MenuItem.setParentPopup:(Ljavafx/scene/control/ContextMenu;)V
end local 2 // javafx.scene.control.MenuItem item
16: .line 371
StackMap locals: javafx.scene.control.Menu$5 javafx.collections.ListChangeListener$Change top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
17: .line 363
StackMap locals: javafx.scene.control.Menu$5 javafx.collections.ListChangeListener$Change
StackMap stack:
aload 1 /* c */
invokevirtual javafx.collections.ListChangeListener$Change.next:()Z
ifne 1
18: .line 383
aload 0 /* this */
getfield javafx.scene.control.Menu$5.this$0:Ljavafx/scene/control/Menu;
invokevirtual javafx.scene.control.Menu.getItems:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
ifne 20
aload 0 /* this */
getfield javafx.scene.control.Menu$5.this$0:Ljavafx/scene/control/Menu;
invokevirtual javafx.scene.control.Menu.isShowing:()Z
ifeq 20
19: .line 384
aload 0 /* this */
getfield javafx.scene.control.Menu$5.this$0:Ljavafx/scene/control/Menu;
invokevirtual javafx.scene.control.Menu.showingPropertyImpl:()Ljavafx/beans/property/ReadOnlyBooleanWrapper;
iconst_0
invokevirtual javafx.beans.property.ReadOnlyBooleanWrapper.set:(Z)V
20: .line 386
StackMap locals:
StackMap stack:
return
end local 1 // javafx.collections.ListChangeListener$Change c
end local 0 // javafx.scene.control.Menu$5 this
LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljavafx/scene/control/Menu$5;
0 21 1 c Ljavafx/collections/ListChangeListener$Change<Ljavafx/scene/control/MenuItem;>;
3 5 2 item Ljavafx/scene/control/MenuItem;
8 16 2 item Ljavafx/scene/control/MenuItem;
Signature: (Ljavafx/collections/ListChangeListener$Change<Ljavafx/scene/control/MenuItem;>;)V
MethodParameters:
Name Flags
c
}
Signature: Lcom/sun/javafx/collections/TrackableObservableList<Ljavafx/scene/control/MenuItem;>;
SourceFile: "Menu.java"
EnclosingMethod: javafx.scene.control.Menu
NestHost: javafx.scene.control.Menu
InnerClasses:
public abstract Change = javafx.collections.ListChangeListener$Change of javafx.collections.ListChangeListener
javafx.scene.control.Menu$5