public final class com.sun.glass.ui.MenuBar
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.sun.glass.ui.MenuBar
  super_class: java.lang.Object
{
  private final com.sun.glass.ui.delegate.MenuBarDelegate delegate;
    descriptor: Lcom/sun/glass/ui/delegate/MenuBarDelegate;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.List<com.sun.glass.ui.Menu> menus;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Lcom/sun/glass/ui/Menu;>;

  protected void <init>();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.sun.glass.ui.MenuBar this
         0: .line 38
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 36
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield com.sun.glass.ui.MenuBar.menus:Ljava/util/List;
         2: .line 39
            invokestatic com.sun.glass.ui.Application.checkEventThread:()V
         3: .line 40
            aload 0 /* this */
            invokestatic com.sun.glass.ui.PlatformFactory.getPlatformFactory:()Lcom/sun/glass/ui/PlatformFactory;
            aload 0 /* this */
            invokevirtual com.sun.glass.ui.PlatformFactory.createMenuBarDelegate:(Lcom/sun/glass/ui/MenuBar;)Lcom/sun/glass/ui/delegate/MenuBarDelegate;
            putfield com.sun.glass.ui.MenuBar.delegate:Lcom/sun/glass/ui/delegate/MenuBarDelegate;
         4: .line 41
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.delegate:Lcom/sun/glass/ui/delegate/MenuBarDelegate;
            invokeinterface com.sun.glass.ui.delegate.MenuBarDelegate.createMenuBar:()Z
            ifne 6
         5: .line 42
            new java.lang.RuntimeException
            dup
            ldc "MenuBar creation error."
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 44
      StackMap locals: com.sun.glass.ui.MenuBar
      StackMap stack:
            return
        end local 0 // com.sun.glass.ui.MenuBar this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lcom/sun/glass/ui/MenuBar;

  long getNativeMenu();
    descriptor: ()J
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.sun.glass.ui.MenuBar this
         0: .line 47
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.delegate:Lcom/sun/glass/ui/delegate/MenuBarDelegate;
            invokeinterface com.sun.glass.ui.delegate.MenuBarDelegate.getNativeMenu:()J
            lreturn
        end local 0 // com.sun.glass.ui.MenuBar this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/glass/ui/MenuBar;

  public void add(com.sun.glass.ui.Menu);
    descriptor: (Lcom/sun/glass/ui/Menu;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.sun.glass.ui.MenuBar this
        start local 1 // com.sun.glass.ui.Menu menu
         0: .line 51
            invokestatic com.sun.glass.ui.Application.checkEventThread:()V
         1: .line 52
            aload 0 /* this */
            aload 1 /* menu */
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.menus:Ljava/util/List;
            invokeinterface java.util.List.size:()I
            invokevirtual com.sun.glass.ui.MenuBar.insert:(Lcom/sun/glass/ui/Menu;I)V
         2: .line 53
            return
        end local 1 // com.sun.glass.ui.Menu menu
        end local 0 // com.sun.glass.ui.MenuBar this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/sun/glass/ui/MenuBar;
            0    3     1  menu  Lcom/sun/glass/ui/Menu;
    MethodParameters:
      Name  Flags
      menu  

  public void insert(com.sun.glass.ui.Menu, int);
    descriptor: (Lcom/sun/glass/ui/Menu;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // com.sun.glass.ui.MenuBar this
        start local 1 // com.sun.glass.ui.Menu menu
        start local 2 // int pos
         0: .line 56
            invokestatic com.sun.glass.ui.Application.checkEventThread:()V
         1: .line 57
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.menus:Ljava/util/List;
            dup
            astore 3
            monitorenter
         2: .line 58
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.delegate:Lcom/sun/glass/ui/delegate/MenuBarDelegate;
            aload 1 /* menu */
            invokevirtual com.sun.glass.ui.Menu.getDelegate:()Lcom/sun/glass/ui/delegate/MenuDelegate;
            iload 2 /* pos */
            invokeinterface com.sun.glass.ui.delegate.MenuBarDelegate.insert:(Lcom/sun/glass/ui/delegate/MenuDelegate;I)Z
            ifeq 4
         3: .line 59
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.menus:Ljava/util/List;
            iload 2 /* pos */
            aload 1 /* menu */
            invokeinterface java.util.List.add:(ILjava/lang/Object;)V
         4: .line 57
      StackMap locals: java.util.List
      StackMap stack:
            aload 3
            monitorexit
         5: goto 8
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 3
            monitorexit
         7: athrow
         8: .line 62
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int pos
        end local 1 // com.sun.glass.ui.Menu menu
        end local 0 // com.sun.glass.ui.MenuBar this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    9     0  this  Lcom/sun/glass/ui/MenuBar;
            0    9     1  menu  Lcom/sun/glass/ui/Menu;
            0    9     2   pos  I
      Exception table:
        from    to  target  type
           2     5       6  any
           6     7       6  any
    MethodParameters:
      Name  Flags
      menu  
      pos   

  public void remove(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // com.sun.glass.ui.MenuBar this
        start local 1 // int pos
         0: .line 65
            invokestatic com.sun.glass.ui.Application.checkEventThread:()V
         1: .line 66
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.menus:Ljava/util/List;
            dup
            astore 2
            monitorenter
         2: .line 67
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.menus:Ljava/util/List;
            iload 1 /* pos */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.sun.glass.ui.Menu
            astore 3 /* menu */
        start local 3 // com.sun.glass.ui.Menu menu
         3: .line 68
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.delegate:Lcom/sun/glass/ui/delegate/MenuBarDelegate;
            aload 3 /* menu */
            invokevirtual com.sun.glass.ui.Menu.getDelegate:()Lcom/sun/glass/ui/delegate/MenuDelegate;
            iload 1 /* pos */
            invokeinterface com.sun.glass.ui.delegate.MenuBarDelegate.remove:(Lcom/sun/glass/ui/delegate/MenuDelegate;I)Z
            ifeq 5
         4: .line 69
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.menus:Ljava/util/List;
            iload 1 /* pos */
            invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
            pop
        end local 3 // com.sun.glass.ui.Menu menu
         5: .line 66
      StackMap locals: java.util.List
      StackMap stack:
            aload 2
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 2
            monitorexit
         8: athrow
         9: .line 72
      StackMap locals:
      StackMap stack:
            return
        end local 1 // int pos
        end local 0 // com.sun.glass.ui.MenuBar this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lcom/sun/glass/ui/MenuBar;
            0   10     1   pos  I
            3    5     3  menu  Lcom/sun/glass/ui/Menu;
      Exception table:
        from    to  target  type
           2     6       7  any
           7     8       7  any
    MethodParameters:
      Name  Flags
      pos   

  public void remove(com.sun.glass.ui.Menu);
    descriptor: (Lcom/sun/glass/ui/Menu;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // com.sun.glass.ui.MenuBar this
        start local 1 // com.sun.glass.ui.Menu menu
         0: .line 75
            invokestatic com.sun.glass.ui.Application.checkEventThread:()V
         1: .line 76
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.menus:Ljava/util/List;
            dup
            astore 2
            monitorenter
         2: .line 77
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.menus:Ljava/util/List;
            aload 1 /* menu */
            invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
            istore 3 /* pos */
        start local 3 // int pos
         3: .line 78
            iload 3 /* pos */
            iflt 6
         4: .line 79
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.delegate:Lcom/sun/glass/ui/delegate/MenuBarDelegate;
            aload 1 /* menu */
            invokevirtual com.sun.glass.ui.Menu.getDelegate:()Lcom/sun/glass/ui/delegate/MenuDelegate;
            iload 3 /* pos */
            invokeinterface com.sun.glass.ui.delegate.MenuBarDelegate.remove:(Lcom/sun/glass/ui/delegate/MenuDelegate;I)Z
            ifeq 6
         5: .line 80
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.menus:Ljava/util/List;
            iload 3 /* pos */
            invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
            pop
        end local 3 // int pos
         6: .line 76
      StackMap locals: java.util.List
      StackMap stack:
            aload 2
            monitorexit
         7: goto 10
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: aload 2
            monitorexit
         9: athrow
        10: .line 86
      StackMap locals:
      StackMap stack:
            return
        end local 1 // com.sun.glass.ui.Menu menu
        end local 0 // com.sun.glass.ui.MenuBar this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lcom/sun/glass/ui/MenuBar;
            0   11     1  menu  Lcom/sun/glass/ui/Menu;
            3    6     3   pos  I
      Exception table:
        from    to  target  type
           2     7       8  any
           8     9       8  any
    MethodParameters:
      Name  Flags
      menu  

  public java.util.List<com.sun.glass.ui.Menu> getMenus();
    descriptor: ()Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.glass.ui.MenuBar this
         0: .line 89
            invokestatic com.sun.glass.ui.Application.checkEventThread:()V
         1: .line 90
            aload 0 /* this */
            getfield com.sun.glass.ui.MenuBar.menus:Ljava/util/List;
            invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
            areturn
        end local 0 // com.sun.glass.ui.MenuBar this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/sun/glass/ui/MenuBar;
    Signature: ()Ljava/util/List<Lcom/sun/glass/ui/Menu;>;
}
SourceFile: "MenuBar.java"