abstract class implements java.awt.event.ActionListener
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: sun.awt.im.InputMethodPopupMenu
super_class: java.lang.Object
{
void ();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/im/InputMethodPopupMenu;
static sun.awt.im.InputMethodPopupMenu (java.awt.Component, java.lang.String);
descriptor: (Ljava/awt/Component;Ljava/lang/String;)Lsun/awt/im/InputMethodPopupMenu;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof javax.swing.JFrame
ifne 2
1: aload 0
instanceof javax.swing.JDialog
ifeq 3
2: StackMap locals:
StackMap stack:
new sun.awt.im.JInputMethodPopupMenu
dup
aload 1
invokespecial sun.awt.im.JInputMethodPopupMenu.<init>:(Ljava/lang/String;)V
areturn
3: StackMap locals:
StackMap stack:
new sun.awt.im.AWTInputMethodPopupMenu
dup
aload 1
invokespecial sun.awt.im.AWTInputMethodPopupMenu.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 client Ljava/awt/Component;
0 4 1 title Ljava/lang/String;
MethodParameters:
Name Flags
client
title
abstract void (java.awt.Component, int, int);
descriptor: (Ljava/awt/Component;II)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
c
x
y
abstract void ();
descriptor: ()V
flags: (0x0400) ACC_ABSTRACT
abstract void ();
descriptor: ()V
flags: (0x0400) ACC_ABSTRACT
abstract void (java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
c
abstract java.lang.Object (java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
label
abstract void (java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
menuItem
abstract void (java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
label
command
currentSelection
abstract void (java.lang.Object, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
targetMenu
label
command
currentSelection
void (sun.awt.im.InputMethodLocator, java.lang.String);
descriptor: (Lsun/awt/im/InputMethodLocator;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual sun.awt.im.InputMethodLocator.getDescriptor:()Ljava/awt/im/spi/InputMethodDescriptor;
astore 3
start local 3 1: aload 3
aconst_null
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokeinterface java.awt.im.spi.InputMethodDescriptor.getInputMethodDisplayName:(Ljava/util/Locale;Ljava/util/Locale;)Ljava/lang/String;
astore 4
start local 4 2: aload 1
invokevirtual sun.awt.im.InputMethodLocator.getActionCommandString:()Ljava/lang/String;
astore 5
start local 5 3: aconst_null
astore 6
start local 6 4: aload 3
invokeinterface java.awt.im.spi.InputMethodDescriptor.getAvailableLocales:()[Ljava/util/Locale;
astore 6
5: aload 6
arraylength
istore 7
start local 7 6: goto 9
end local 7 StackMap locals: sun.awt.im.InputMethodPopupMenu sun.awt.im.InputMethodLocator java.lang.String java.awt.im.spi.InputMethodDescriptor java.lang.String java.lang.String java.util.Locale[]
StackMap stack: java.awt.AWTException
7: pop
8: iconst_0
istore 7
start local 7 9: StackMap locals: int
StackMap stack:
iload 7
ifne 12
10: aload 0
aload 4
aconst_null
aload 2
invokevirtual sun.awt.im.InputMethodPopupMenu.addMenuItem:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
11: goto 28
StackMap locals:
StackMap stack:
12: iload 7
iconst_1
if_icmpne 18
13: aload 3
invokeinterface java.awt.im.spi.InputMethodDescriptor.hasDynamicLocaleList:()Z
ifeq 16
14: aload 3
aload 6
iconst_0
aaload
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokeinterface java.awt.im.spi.InputMethodDescriptor.getInputMethodDisplayName:(Ljava/util/Locale;Ljava/util/Locale;)Ljava/lang/String;
astore 4
15: aload 1
aload 6
iconst_0
aaload
invokevirtual sun.awt.im.InputMethodLocator.deriveLocator:(Ljava/util/Locale;)Lsun/awt/im/InputMethodLocator;
invokevirtual sun.awt.im.InputMethodLocator.getActionCommandString:()Ljava/lang/String;
astore 5
16: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 5
aload 2
invokevirtual sun.awt.im.InputMethodPopupMenu.addMenuItem:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
17: goto 28
18: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual sun.awt.im.InputMethodPopupMenu.createSubmenu:(Ljava/lang/String;)Ljava/lang/Object;
astore 8
start local 8 19: aload 0
aload 8
invokevirtual sun.awt.im.InputMethodPopupMenu.add:(Ljava/lang/Object;)V
20: iconst_0
istore 9
start local 9 21: goto 27
22: StackMap locals: java.lang.Object int
StackMap stack:
aload 6
iload 9
aaload
astore 10
start local 10 23: aload 0
aload 10
invokevirtual sun.awt.im.InputMethodPopupMenu.getLocaleName:(Ljava/util/Locale;)Ljava/lang/String;
astore 11
start local 11 24: aload 1
aload 10
invokevirtual sun.awt.im.InputMethodLocator.deriveLocator:(Ljava/util/Locale;)Lsun/awt/im/InputMethodLocator;
invokevirtual sun.awt.im.InputMethodLocator.getActionCommandString:()Ljava/lang/String;
astore 12
start local 12 25: aload 0
aload 8
aload 11
aload 12
aload 2
invokevirtual sun.awt.im.InputMethodPopupMenu.addMenuItem:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
end local 12 end local 11 end local 10 26: iinc 9 1
StackMap locals:
StackMap stack:
27: iload 9
iload 7
if_icmplt 22
end local 9 end local 8 28: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lsun/awt/im/InputMethodPopupMenu;
0 29 1 locator Lsun/awt/im/InputMethodLocator;
0 29 2 currentSelection Ljava/lang/String;
1 29 3 descriptor Ljava/awt/im/spi/InputMethodDescriptor;
2 29 4 label Ljava/lang/String;
3 29 5 command Ljava/lang/String;
4 29 6 locales [Ljava/util/Locale;
6 7 7 localeCount I
9 29 7 localeCount I
19 28 8 submenu Ljava/lang/Object;
21 28 9 j I
23 26 10 locale Ljava/util/Locale;
24 26 11 subLabel Ljava/lang/String;
25 26 12 subCommand Ljava/lang/String;
Exception table:
from to target type
4 6 7 Class java.awt.AWTException
MethodParameters:
Name Flags
locator
currentSelection
static boolean (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ifnull 1
aload 1
ifnonnull 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 1
bipush 10
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 5: iload 2
iconst_m1
if_icmpeq 7
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
ireturn
7: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 command Ljava/lang/String;
0 8 1 currentSelection Ljava/lang/String;
5 8 2 index I
MethodParameters:
Name Flags
command
currentSelection
java.lang.String (java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.Locale.toString:()Ljava/lang/String;
astore 2
start local 2 1: new java.lang.StringBuilder
dup
ldc "AWT.InputMethodLanguage."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
invokestatic java.awt.Toolkit.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 3
ifnonnull 6
3: aload 1
invokevirtual java.util.Locale.getDisplayName:()Ljava/lang/String;
astore 3
4: aload 3
ifnull 5
aload 3
invokevirtual java.lang.String.length:()I
ifne 6
5: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 2
astore 3
6: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/im/InputMethodPopupMenu;
0 7 1 locale Ljava/util/Locale;
1 7 2 localeString Ljava/lang/String;
2 7 3 localeName Ljava/lang/String;
MethodParameters:
Name Flags
locale
public void (java.awt.event.ActionEvent);
descriptor: (Ljava/awt/event/ActionEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.ActionEvent.getActionCommand:()Ljava/lang/String;
astore 2
start local 2 1: invokestatic sun.awt.im.InputMethodManager.getInstance:()Lsun/awt/im/InputMethodManager;
checkcast sun.awt.im.ExecutableInputMethodManager
aload 2
invokevirtual sun.awt.im.ExecutableInputMethodManager.changeInputMethod:(Ljava/lang/String;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/im/InputMethodPopupMenu;
0 3 1 event Ljava/awt/event/ActionEvent;
1 3 2 choice Ljava/lang/String;
MethodParameters:
Name Flags
event
}
SourceFile: "InputMethodPopupMenu.java"