public class extends sun.awt.X11.XMenuItemPeer implements java.awt.peer.MenuPeer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.X11.XMenuPeer
super_class: sun.awt.X11.XMenuItemPeer
{
private static sun.util.logging.PlatformLogger ;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
sun.awt.X11.XMenuWindow ;
descriptor: Lsun/awt/X11/XMenuWindow;
flags: (0x0000)
static void ();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "sun.awt.X11.XMenuPeer"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.X11.XMenuPeer.log:Lsun/util/logging/PlatformLogger;
return
LocalVariableTable:
Start End Slot Name Signature
void (java.awt.Menu);
descriptor: (Ljava/awt/Menu;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XMenuItemPeer.<init>:(Ljava/awt/MenuItem;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XMenuPeer;
0 2 1 target Ljava/awt/Menu;
MethodParameters:
Name Flags
target
void (sun.awt.X11.XBaseMenuWindow);
descriptor: (Lsun/awt/X11/XBaseMenuWindow;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.awt.X11.XMenuItemPeer.setContainer:(Lsun/awt/X11/XBaseMenuWindow;)V
1: aload 0
new sun.awt.X11.XMenuWindow
dup
aload 0
invokespecial sun.awt.X11.XMenuWindow.<init>:(Lsun/awt/X11/XMenuPeer;)V
putfield sun.awt.X11.XMenuPeer.menuWindow:Lsun/awt/X11/XMenuWindow;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XMenuPeer;
0 3 1 container Lsun/awt/X11/XBaseMenuWindow;
MethodParameters:
Name Flags
container
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XMenuPeer.menuWindow:Lsun/awt/X11/XMenuWindow;
ifnull 2
1: aload 0
getfield sun.awt.X11.XMenuPeer.menuWindow:Lsun/awt/X11/XMenuWindow;
invokevirtual sun.awt.X11.XMenuWindow.dispose:()V
2: StackMap locals:
StackMap stack:
aload 0
invokespecial sun.awt.X11.XMenuItemPeer.dispose:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XMenuPeer;
public void (java.awt.Font);
descriptor: (Ljava/awt/Font;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11.XMenuPeer.resetTextMetrics:()V
1: aload 0
invokevirtual sun.awt.X11.XMenuPeer.getMenuWindow:()Lsun/awt/X11/XMenuWindow;
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
aload 1
invokevirtual sun.awt.X11.XMenuWindow.setItemsFont:(Ljava/awt/Font;)V
4: StackMap locals: sun.awt.X11.XMenuWindow
StackMap stack:
aload 0
invokevirtual sun.awt.X11.XMenuPeer.repaintIfShowing:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11/XMenuPeer;
0 6 1 font Ljava/awt/Font;
2 6 2 menuWindow Lsun/awt/X11/XMenuWindow;
MethodParameters:
Name Flags
font
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.awt.X11.XMenuPeer.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 2
1: getstatic sun.awt.X11.XMenuPeer.log:Lsun/util/logging/PlatformLogger;
ldc "addSeparator is not implemented"
invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11/XMenuPeer;
public void (java.awt.MenuItem);
descriptor: (Ljava/awt/MenuItem;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11.XMenuPeer.getMenuWindow:()Lsun/awt/X11/XMenuWindow;
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 2
aload 1
invokevirtual sun.awt.X11.XMenuWindow.addItem:(Ljava/awt/MenuItem;)V
3: goto 6
4: StackMap locals: sun.awt.X11.XMenuWindow
StackMap stack:
getstatic sun.awt.X11.XMenuPeer.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 6
5: getstatic sun.awt.X11.XMenuPeer.log:Lsun/util/logging/PlatformLogger;
ldc "Attempt to use XMenuWindowPeer without window"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11/XMenuPeer;
0 7 1 item Ljava/awt/MenuItem;
1 7 2 menuWindow Lsun/awt/X11/XMenuWindow;
MethodParameters:
Name Flags
item
public void (int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11.XMenuPeer.getMenuWindow:()Lsun/awt/X11/XMenuWindow;
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 2
iload 1
invokevirtual sun.awt.X11.XMenuWindow.delItem:(I)V
3: goto 6
4: StackMap locals: sun.awt.X11.XMenuWindow
StackMap stack:
getstatic sun.awt.X11.XMenuPeer.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINE:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 6
5: getstatic sun.awt.X11.XMenuPeer.log:Lsun/util/logging/PlatformLogger;
ldc "Attempt to use XMenuWindowPeer without window"
invokevirtual sun.util.logging.PlatformLogger.fine:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11/XMenuPeer;
0 7 1 index I
1 7 2 menuWindow Lsun/awt/X11/XMenuWindow;
MethodParameters:
Name Flags
index
java.util.Vector<java.awt.MenuItem> getTargetItems();
descriptor: ()Ljava/util/Vector;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic sun.awt.AWTAccessor.getMenuAccessor:()Lsun/awt/AWTAccessor$MenuAccessor;
aload 0
invokevirtual sun.awt.X11.XMenuPeer.getTarget:()Ljava/awt/MenuItem;
checkcast java.awt.Menu
invokeinterface sun.awt.AWTAccessor$MenuAccessor.getItems:(Ljava/awt/Menu;)Ljava/util/Vector;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XMenuPeer;
Signature: ()Ljava/util/Vector<Ljava/awt/MenuItem;>;
boolean ();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XMenuPeer;
java.lang.String ();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XMenuPeer;
sun.awt.X11.XMenuWindow ();
descriptor: ()Lsun/awt/X11/XMenuWindow;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11.XMenuPeer.menuWindow:Lsun/awt/X11/XMenuWindow;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/XMenuPeer;
}
SourceFile: "XMenuPeer.java"
InnerClasses:
public abstract MenuAccessor = sun.awt.AWTAccessor$MenuAccessor of sun.awt.AWTAccessor
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger