public abstract class sun.awt.X11InputMethodBase extends sun.awt.im.InputMethodAdapter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.awt.X11InputMethodBase
super_class: sun.awt.im.InputMethodAdapter
{
protected static final sun.util.logging.PlatformLogger log;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private static final int XIMReverse;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int XIMUnderline;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int XIMHighlight;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int XIMPrimary;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 32
private static final int XIMSecondary;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private static final int XIMTertiary;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 128
protected static final int XIMVisibleToForward;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 256
protected static final int XIMVisibleToBackward;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 512
protected static final int XIMVisibleCenter;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
protected static final int XIMVisibleMask;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1792
private java.util.Locale locale;
descriptor: Ljava/util/Locale;
flags: (0x0002) ACC_PRIVATE
private static boolean isXIMOpened;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected java.awt.Container clientComponentWindow;
descriptor: Ljava/awt/Container;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Component awtFocussedComponent;
descriptor: Ljava/awt/Component;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Component lastXICFocussedComponent;
descriptor: Ljava/awt/Component;
flags: (0x0004) ACC_PROTECTED
protected boolean isLastXICActive;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean isLastTemporary;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean isActive;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private static java.util.Map<java.awt.font.TextAttribute, ?>[] highlightStyles;
descriptor: [Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: [Ljava/util/Map<Ljava/awt/font/TextAttribute;*>;
protected boolean disposed;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean needResetXIC;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private java.lang.ref.WeakReference<java.awt.Component> needResetXICClient;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/ref/WeakReference<Ljava/awt/Component;>;
protected boolean compositionEnableSupported;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean savedCompositionState;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected java.lang.String committedText;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.StringBuffer composedText;
descriptor: Ljava/lang/StringBuffer;
flags: (0x0004) ACC_PROTECTED
protected sun.awt.X11InputMethodBase$IntBuffer rawFeedbacks;
descriptor: Lsun/awt/X11InputMethodBase$IntBuffer;
flags: (0x0004) ACC_PROTECTED
protected transient long pData;
descriptor: J
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
protected static final int INITIAL_SIZE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 64
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: ldc "sun.awt.X11InputMethod"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.X11InputMethodBase.log:Lsun/util/logging/PlatformLogger;
1: iconst_0
putstatic sun.awt.X11InputMethodBase.isXIMOpened:Z
2: iconst_4
anewarray java.util.Map
astore 0
start local 0 3: new java.util.HashMap
dup
iconst_1
invokespecial java.util.HashMap.<init>:(I)V
astore 1
start local 1 4: aload 1
getstatic java.awt.font.TextAttribute.WEIGHT:Ljava/awt/font/TextAttribute;
getstatic java.awt.font.TextAttribute.WEIGHT_BOLD:Ljava/lang/Float;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
iconst_0
aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
aastore
6: new java.util.HashMap
dup
iconst_1
invokespecial java.util.HashMap.<init>:(I)V
astore 1
7: aload 1
getstatic java.awt.font.TextAttribute.SWAP_COLORS:Ljava/awt/font/TextAttribute;
getstatic java.awt.font.TextAttribute.SWAP_COLORS_ON:Ljava/lang/Boolean;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
iconst_1
aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
aastore
9: new java.util.HashMap
dup
iconst_1
invokespecial java.util.HashMap.<init>:(I)V
astore 1
10: aload 1
getstatic java.awt.font.TextAttribute.INPUT_METHOD_UNDERLINE:Ljava/awt/font/TextAttribute;
11: getstatic java.awt.font.TextAttribute.UNDERLINE_LOW_ONE_PIXEL:Ljava/lang/Integer;
12: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 0
iconst_2
aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
aastore
14: new java.util.HashMap
dup
iconst_1
invokespecial java.util.HashMap.<init>:(I)V
astore 1
15: aload 1
getstatic java.awt.font.TextAttribute.SWAP_COLORS:Ljava/awt/font/TextAttribute;
getstatic java.awt.font.TextAttribute.SWAP_COLORS_ON:Ljava/lang/Boolean;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 0
iconst_3
aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
aastore
17: aload 0
putstatic sun.awt.X11InputMethodBase.highlightStyles:[Ljava/util/Map;
end local 1 end local 0 18: invokestatic sun.awt.X11InputMethodBase.initIDs:()V
19: return
LocalVariableTable:
Start End Slot Name Signature
3 18 0 styles [Ljava/util/Map;
4 18 1 map Ljava/util/HashMap<Ljava/awt/font/TextAttribute;Ljava/lang/Object;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.im.InputMethodAdapter.<init>:()V
1: aload 0
aconst_null
putfield sun.awt.X11InputMethodBase.clientComponentWindow:Ljava/awt/Container;
2: aload 0
aconst_null
putfield sun.awt.X11InputMethodBase.awtFocussedComponent:Ljava/awt/Component;
3: aload 0
aconst_null
putfield sun.awt.X11InputMethodBase.lastXICFocussedComponent:Ljava/awt/Component;
4: aload 0
iconst_0
putfield sun.awt.X11InputMethodBase.isLastXICActive:Z
5: aload 0
iconst_0
putfield sun.awt.X11InputMethodBase.isLastTemporary:Z
6: aload 0
iconst_0
putfield sun.awt.X11InputMethodBase.isActive:Z
7: aload 0
iconst_0
putfield sun.awt.X11InputMethodBase.disposed:Z
8: aload 0
iconst_0
putfield sun.awt.X11InputMethodBase.needResetXIC:Z
9: aload 0
new java.lang.ref.WeakReference
dup
aconst_null
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield sun.awt.X11InputMethodBase.needResetXICClient:Ljava/lang/ref/WeakReference;
10: aload 0
iconst_1
putfield sun.awt.X11InputMethodBase.compositionEnableSupported:Z
11: aload 0
iconst_0
putfield sun.awt.X11InputMethodBase.savedCompositionState:Z
12: aload 0
aconst_null
putfield sun.awt.X11InputMethodBase.committedText:Ljava/lang/String;
13: aload 0
aconst_null
putfield sun.awt.X11InputMethodBase.composedText:Ljava/lang/StringBuffer;
14: aload 0
lconst_0
putfield sun.awt.X11InputMethodBase.pData:J
15: aload 0
invokestatic sun.awt.X11InputMethodDescriptor.getSupportedLocale:()Ljava/util/Locale;
putfield sun.awt.X11InputMethodBase.locale:Ljava/util/Locale;
16: aload 0
invokevirtual sun.awt.X11InputMethodBase.initXIM:()Z
ifne 18
17: new java.awt.AWTException
dup
ldc "Cannot open X Input Method"
invokespecial java.awt.AWTException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals: sun.awt.X11InputMethodBase
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/awt/X11InputMethodBase;
Exceptions:
throws java.awt.AWTException
protected void finalize();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11InputMethodBase.dispose:()V
1: aload 0
invokespecial java.lang.Object.finalize:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11InputMethodBase;
Exceptions:
throws java.lang.Throwable
private synchronized boolean initXIM();
descriptor: ()Z
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.awt.X11InputMethodBase.isXIMOpened:Z
ifne 2
1: aload 0
invokevirtual sun.awt.X11InputMethodBase.openXIM:()Z
putstatic sun.awt.X11InputMethodBase.isXIMOpened:Z
2: StackMap locals:
StackMap stack:
getstatic sun.awt.X11InputMethodBase.isXIMOpened:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/X11InputMethodBase;
protected abstract boolean openXIM();
descriptor: ()Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected boolean isDisposed();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11InputMethodBase.disposed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11InputMethodBase;
protected abstract void setXICFocus(java.awt.peer.ComponentPeer, boolean, boolean);
descriptor: (Ljava/awt/peer/ComponentPeer;ZZ)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
peer
value
active
public void setInputMethodContext(java.awt.im.spi.InputMethodContext);
descriptor: (Ljava/awt/im/spi/InputMethodContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11InputMethodBase;
0 1 1 context Ljava/awt/im/spi/InputMethodContext;
MethodParameters:
Name Flags
context
public boolean setLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield sun.awt.X11InputMethodBase.locale:Ljava/util/Locale;
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11InputMethodBase.locale:Ljava/util/Locale;
getstatic java.util.Locale.JAPAN:Ljava/util/Locale;
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifeq 3
aload 1
getstatic java.util.Locale.JAPANESE:Ljava/util/Locale;
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifne 4
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11InputMethodBase.locale:Ljava/util/Locale;
getstatic java.util.Locale.KOREA:Ljava/util/Locale;
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifeq 5
aload 1
getstatic java.util.Locale.KOREAN:Ljava/util/Locale;
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifeq 5
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/X11InputMethodBase;
0 6 1 lang Ljava/util/Locale;
MethodParameters:
Name Flags
lang
public java.util.Locale getLocale();
descriptor: ()Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11InputMethodBase.locale:Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11InputMethodBase;
public void setCharacterSubsets(java.lang.Character$Subset[]);
descriptor: ([Ljava/lang/Character$Subset;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11InputMethodBase;
0 1 1 subsets [Ljava/lang/Character$Subset;
MethodParameters:
Name Flags
subsets
public void dispatchEvent(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11InputMethodBase;
0 1 1 e Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
e
protected final void resetXICifneeded();
descriptor: ()V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11InputMethodBase.needResetXIC:Z
ifeq 7
aload 0
invokevirtual sun.awt.X11InputMethodBase.haveActiveClient:()Z
ifeq 7
1: aload 0
invokevirtual sun.awt.X11InputMethodBase.getClientComponent:()Ljava/awt/Component;
aload 0
getfield sun.awt.X11InputMethodBase.needResetXICClient:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
if_acmpeq 7
2: aload 0
invokevirtual sun.awt.X11InputMethodBase.resetXIC:()Ljava/lang/String;
pop
3: aload 0
aconst_null
putfield sun.awt.X11InputMethodBase.lastXICFocussedComponent:Ljava/awt/Component;
4: aload 0
iconst_0
putfield sun.awt.X11InputMethodBase.isLastXICActive:Z
5: aload 0
getfield sun.awt.X11InputMethodBase.needResetXICClient:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.clear:()V
6: aload 0
iconst_0
putfield sun.awt.X11InputMethodBase.needResetXIC:Z
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11InputMethodBase;
protected abstract void resetCompositionState();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected boolean getCompositionState();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield sun.awt.X11InputMethodBase.compositionEnableSupported:Z
ifeq 6
2: aload 0
invokevirtual sun.awt.X11InputMethodBase.isCompositionEnabled:()Z
istore 1
3: goto 6
StackMap locals: sun.awt.X11InputMethodBase int
StackMap stack: java.lang.UnsupportedOperationException
4: pop
5: aload 0
iconst_0
putfield sun.awt.X11InputMethodBase.compositionEnableSupported:Z
6: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11InputMethodBase;
1 7 1 compositionState Z
Exception table:
from to target type
2 3 4 Class java.lang.UnsupportedOperationException
public abstract void activate();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
protected abstract boolean createXIC();
descriptor: ()Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public abstract void deactivate(boolean);
descriptor: (Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
isTemporary
public void disableInputMethod();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11InputMethodBase.lastXICFocussedComponent:Ljava/awt/Component;
ifnull 7
1: aload 0
aload 0
aload 0
getfield sun.awt.X11InputMethodBase.lastXICFocussedComponent:Ljava/awt/Component;
invokevirtual sun.awt.X11InputMethodBase.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
iconst_0
aload 0
getfield sun.awt.X11InputMethodBase.isLastXICActive:Z
invokevirtual sun.awt.X11InputMethodBase.setXICFocus:(Ljava/awt/peer/ComponentPeer;ZZ)V
2: aload 0
aconst_null
putfield sun.awt.X11InputMethodBase.lastXICFocussedComponent:Ljava/awt/Component;
3: aload 0
iconst_0
putfield sun.awt.X11InputMethodBase.isLastXICActive:Z
4: aload 0
invokevirtual sun.awt.X11InputMethodBase.resetXIC:()Ljava/lang/String;
pop
5: aload 0
getfield sun.awt.X11InputMethodBase.needResetXICClient:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.clear:()V
6: aload 0
iconst_0
putfield sun.awt.X11InputMethodBase.needResetXIC:Z
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11InputMethodBase;
public abstract void hideWindows();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public static java.util.Map<java.awt.font.TextAttribute, ?> mapInputMethodHighlight(java.awt.im.InputMethodHighlight);
descriptor: (Ljava/awt/im/InputMethodHighlight;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.im.InputMethodHighlight.getState:()I
istore 2
start local 2 1: iload 2
ifne 4
2: iconst_0
istore 1
start local 1 3: goto 8
end local 1 StackMap locals: java.awt.im.InputMethodHighlight top int
StackMap stack:
4: iload 2
iconst_1
if_icmpne 7
5: iconst_2
istore 1
start local 1 6: goto 8
end local 1 7: StackMap locals:
StackMap stack:
aconst_null
areturn
start local 1 8: StackMap locals: java.awt.im.InputMethodHighlight int int
StackMap stack:
aload 0
invokevirtual java.awt.im.InputMethodHighlight.isSelected:()Z
ifeq 10
9: iinc 1 1
10: StackMap locals:
StackMap stack:
getstatic sun.awt.X11InputMethodBase.highlightStyles:[Ljava/util/Map;
iload 1
aaload
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 highlight Ljava/awt/im/InputMethodHighlight;
3 4 1 index I
6 7 1 index I
8 11 1 index I
1 11 2 state I
Signature: (Ljava/awt/im/InputMethodHighlight;)Ljava/util/Map<Ljava/awt/font/TextAttribute;*>;
MethodParameters:
Name Flags
highlight
protected void setAWTFocussedComponent(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11InputMethodBase.isActive:Z
ifeq 6
3: aload 0
invokevirtual sun.awt.X11InputMethodBase.haveActiveClient:()Z
istore 2
start local 2 4: aload 0
aload 0
aload 0
getfield sun.awt.X11InputMethodBase.awtFocussedComponent:Ljava/awt/Component;
invokevirtual sun.awt.X11InputMethodBase.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
iconst_0
iload 2
invokevirtual sun.awt.X11InputMethodBase.setXICFocus:(Ljava/awt/peer/ComponentPeer;ZZ)V
5: aload 0
aload 0
aload 1
invokevirtual sun.awt.X11InputMethodBase.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
iconst_1
iload 2
invokevirtual sun.awt.X11InputMethodBase.setXICFocus:(Ljava/awt/peer/ComponentPeer;ZZ)V
end local 2 6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.awt.X11InputMethodBase.awtFocussedComponent:Ljava/awt/Component;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/X11InputMethodBase;
0 8 1 component Ljava/awt/Component;
4 6 2 ac Z
MethodParameters:
Name Flags
component
protected void stopListening();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11InputMethodBase.endComposition:()V
1: aload 0
invokevirtual sun.awt.X11InputMethodBase.disableInputMethod:()V
2: aload 0
getfield sun.awt.X11InputMethodBase.needResetXIC:Z
ifeq 6
3: aload 0
invokevirtual sun.awt.X11InputMethodBase.resetXIC:()Ljava/lang/String;
pop
4: aload 0
getfield sun.awt.X11InputMethodBase.needResetXICClient:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.clear:()V
5: aload 0
iconst_0
putfield sun.awt.X11InputMethodBase.needResetXIC:Z
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11InputMethodBase;
protected java.awt.Window getClientComponentWindow();
descriptor: ()Ljava/awt/Window;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11InputMethodBase.getClientComponent:()Ljava/awt/Component;
astore 1
start local 1 1: aload 1
instanceof java.awt.Container
ifeq 4
2: aload 1
checkcast java.awt.Container
astore 2
start local 2 3: goto 7
end local 2 4: StackMap locals: java.awt.Component
StackMap stack:
aload 0
aload 1
invokevirtual sun.awt.X11InputMethodBase.getParent:(Ljava/awt/Component;)Ljava/awt/Container;
astore 2
start local 2 5: goto 7
6: StackMap locals: java.awt.Container
StackMap stack:
aload 0
aload 2
invokevirtual sun.awt.X11InputMethodBase.getParent:(Ljava/awt/Component;)Ljava/awt/Container;
astore 2
7: StackMap locals:
StackMap stack:
aload 2
ifnull 8
aload 2
instanceof java.awt.Window
ifeq 6
8: StackMap locals:
StackMap stack:
aload 2
checkcast java.awt.Window
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/awt/X11InputMethodBase;
1 9 1 client Ljava/awt/Component;
3 4 2 container Ljava/awt/Container;
5 9 2 container Ljava/awt/Container;
protected abstract java.awt.Container getParent(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/Container;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
client
protected abstract java.awt.peer.ComponentPeer getPeer(java.awt.Component);
descriptor: (Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
client
protected abstract void awtLock();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract void awtUnlock();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected void postInputMethodEvent(int, java.text.AttributedCharacterIterator, int, java.awt.font.TextHitInfo, java.awt.font.TextHitInfo, long);
descriptor: (ILjava/text/AttributedCharacterIterator;ILjava/awt/font/TextHitInfo;Ljava/awt/font/TextHitInfo;J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=10, locals=10, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokevirtual sun.awt.X11InputMethodBase.getClientComponent:()Ljava/awt/Component;
astore 8
start local 8 1: aload 8
ifnull 6
2: new java.awt.event.InputMethodEvent
dup
aload 8
3: iload 1
lload 6
aload 2
iload 3
aload 4
aload 5
4: invokespecial java.awt.event.InputMethodEvent.<init>:(Ljava/awt/Component;IJLjava/text/AttributedCharacterIterator;ILjava/awt/font/TextHitInfo;Ljava/awt/font/TextHitInfo;)V
astore 9
start local 9 5: aload 8
invokestatic sun.awt.SunToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
aload 9
invokestatic sun.awt.SunToolkit.postEvent:(Lsun/awt/AppContext;Ljava/awt/AWTEvent;)V
end local 9 6: StackMap locals: java.awt.Component
StackMap stack:
return
end local 8 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 7 0 this Lsun/awt/X11InputMethodBase;
0 7 1 id I
0 7 2 text Ljava/text/AttributedCharacterIterator;
0 7 3 committedCharacterCount I
0 7 4 caret Ljava/awt/font/TextHitInfo;
0 7 5 visiblePosition Ljava/awt/font/TextHitInfo;
0 7 6 when J
1 7 8 source Ljava/awt/Component;
5 6 9 event Ljava/awt/event/InputMethodEvent;
MethodParameters:
Name Flags
id
text
committedCharacterCount
caret
visiblePosition
when
private void postInputMethodEvent(int, java.text.AttributedCharacterIterator, int, java.awt.font.TextHitInfo, java.awt.font.TextHitInfo);
descriptor: (ILjava/text/AttributedCharacterIterator;ILjava/awt/font/TextHitInfo;Ljava/awt/font/TextHitInfo;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
aload 2
iload 3
1: aload 4
aload 5
invokestatic java.awt.EventQueue.getMostRecentEventTime:()J
2: invokevirtual sun.awt.X11InputMethodBase.postInputMethodEvent:(ILjava/text/AttributedCharacterIterator;ILjava/awt/font/TextHitInfo;Ljava/awt/font/TextHitInfo;J)V
3: return
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 4 0 this Lsun/awt/X11InputMethodBase;
0 4 1 id I
0 4 2 text Ljava/text/AttributedCharacterIterator;
0 4 3 committedCharacterCount I
0 4 4 caret Ljava/awt/font/TextHitInfo;
0 4 5 visiblePosition Ljava/awt/font/TextHitInfo;
MethodParameters:
Name Flags
id
text
committedCharacterCount
caret
visiblePosition
void dispatchCommittedText(java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x0000)
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.X11InputMethodBase.composedText:Ljava/lang/StringBuffer;
ifnonnull 12
3: new java.text.AttributedString
dup
aload 1
invokespecial java.text.AttributedString.<init>:(Ljava/lang/String;)V
astore 4
start local 4 4: aload 0
sipush 1100
5: aload 4
invokevirtual java.text.AttributedString.getIterator:()Ljava/text/AttributedCharacterIterator;
6: aload 1
invokevirtual java.lang.String.length:()I
7: aconst_null
8: aconst_null
9: lload 2
10: invokevirtual sun.awt.X11InputMethodBase.postInputMethodEvent:(ILjava/text/AttributedCharacterIterator;ILjava/awt/font/TextHitInfo;Ljava/awt/font/TextHitInfo;J)V
end local 4 11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.awt.X11InputMethodBase.committedText:Ljava/lang/String;
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/X11InputMethodBase;
0 14 1 str Ljava/lang/String;
0 14 2 when J
4 11 4 attrstr Ljava/text/AttributedString;
MethodParameters:
Name Flags
str
when
private void dispatchCommittedText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.awt.EventQueue.getMostRecentEventTime:()J
invokevirtual sun.awt.X11InputMethodBase.dispatchCommittedText:(Ljava/lang/String;J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11InputMethodBase;
0 2 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
abstract void dispatchComposedText(java.lang.String, int[], int, int, int, long);
descriptor: (Ljava/lang/String;[IIIIJ)V
flags: (0x0400) ACC_ABSTRACT
MethodParameters:
Name Flags
chgText
chgStyles
chgOffset
chgLength
caretPosition
when
void flushText();
descriptor: ()V
flags: (0x0000)
Code:
stack=8, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11InputMethodBase.committedText:Ljava/lang/String;
ifnull 1
aload 0
getfield sun.awt.X11InputMethodBase.committedText:Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: ldc ""
StackMap locals:
StackMap stack: java.lang.String
2: astore 1
start local 1 3: aload 0
getfield sun.awt.X11InputMethodBase.composedText:Ljava/lang/StringBuffer;
ifnull 5
4: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.awt.X11InputMethodBase.composedText:Ljava/lang/StringBuffer;
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
5: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifne 16
6: new java.text.AttributedString
dup
aload 1
invokespecial java.text.AttributedString.<init>:(Ljava/lang/String;)V
astore 2
start local 2 7: aload 0
sipush 1100
8: aload 2
invokevirtual java.text.AttributedString.getIterator:()Ljava/text/AttributedCharacterIterator;
9: aload 1
invokevirtual java.lang.String.length:()I
10: aconst_null
11: aconst_null
12: invokestatic java.awt.EventQueue.getMostRecentEventTime:()J
13: invokevirtual sun.awt.X11InputMethodBase.postInputMethodEvent:(ILjava/text/AttributedCharacterIterator;ILjava/awt/font/TextHitInfo;Ljava/awt/font/TextHitInfo;J)V
14: aload 0
aconst_null
putfield sun.awt.X11InputMethodBase.composedText:Ljava/lang/StringBuffer;
15: aload 0
aconst_null
putfield sun.awt.X11InputMethodBase.committedText:Ljava/lang/String;
end local 2 16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/awt/X11InputMethodBase;
3 17 1 flush Ljava/lang/String;
7 16 2 attrstr Ljava/text/AttributedString;
protected abstract void disposeImpl();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public final void dispose();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield sun.awt.X11InputMethodBase.disposed:Z
ifne 9
2: aload 0
dup
astore 2
monitorenter
3: aload 0
getfield sun.awt.X11InputMethodBase.disposed:Z
ifne 5
4: aload 0
iconst_1
dup
istore 1
putfield sun.awt.X11InputMethodBase.disposed:Z
5: StackMap locals: int sun.awt.X11InputMethodBase
StackMap stack:
aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
iload 1
ifeq 11
10: aload 0
invokevirtual sun.awt.X11InputMethodBase.disposeImpl:()V
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/awt/X11InputMethodBase;
1 12 1 call_disposeImpl Z
Exception table:
from to target type
3 6 7 any
7 8 7 any
public java.lang.Object getControlObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
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/X11InputMethodBase;
public synchronized void removeNotify();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11InputMethodBase.dispose:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11InputMethodBase;
public abstract void setCompositionEnabled(boolean);
descriptor: (Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
enable
public boolean isCompositionEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.X11InputMethodBase.isCompositionEnabledNative:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11InputMethodBase;
public void endComposition();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.awt.X11InputMethodBase.disposed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual sun.awt.X11InputMethodBase.getCompositionState:()Z
putfield sun.awt.X11InputMethodBase.savedCompositionState:Z
3: aload 0
invokevirtual sun.awt.X11InputMethodBase.haveActiveClient:()Z
istore 1
start local 1 4: iload 1
ifeq 8
aload 0
getfield sun.awt.X11InputMethodBase.composedText:Ljava/lang/StringBuffer;
ifnonnull 8
aload 0
getfield sun.awt.X11InputMethodBase.committedText:Ljava/lang/String;
ifnonnull 8
5: aload 0
iconst_1
putfield sun.awt.X11InputMethodBase.needResetXIC:Z
6: aload 0
new java.lang.ref.WeakReference
dup
aload 0
invokevirtual sun.awt.X11InputMethodBase.getClientComponent:()Ljava/awt/Component;
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield sun.awt.X11InputMethodBase.needResetXICClient:Ljava/lang/ref/WeakReference;
7: return
8: StackMap locals: int
StackMap stack:
aload 0
invokevirtual sun.awt.X11InputMethodBase.resetXIC:()Ljava/lang/String;
astore 2
start local 2 9: iload 1
ifeq 11
10: aload 0
iconst_0
putfield sun.awt.X11InputMethodBase.needResetXIC:Z
11: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual sun.awt.X11InputMethodBase.awtLock:()V
12: aload 0
aconst_null
putfield sun.awt.X11InputMethodBase.composedText:Ljava/lang/StringBuffer;
13: aload 0
sipush 1100
14: aconst_null
15: iconst_0
16: aconst_null
17: aconst_null
18: invokevirtual sun.awt.X11InputMethodBase.postInputMethodEvent:(ILjava/text/AttributedCharacterIterator;ILjava/awt/font/TextHitInfo;Ljava/awt/font/TextHitInfo;)V
19: aload 2
ifnull 25
aload 2
invokevirtual java.lang.String.length:()I
ifle 25
20: aload 0
aload 2
invokevirtual sun.awt.X11InputMethodBase.dispatchCommittedText:(Ljava/lang/String;)V
21: goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 3
23: aload 0
invokevirtual sun.awt.X11InputMethodBase.awtUnlock:()V
24: aload 3
athrow
25: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.X11InputMethodBase.awtUnlock:()V
26: aload 0
getfield sun.awt.X11InputMethodBase.savedCompositionState:Z
ifeq 28
27: aload 0
invokevirtual sun.awt.X11InputMethodBase.resetCompositionState:()V
28: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lsun/awt/X11InputMethodBase;
4 29 1 active Z
9 29 2 text Ljava/lang/String;
Exception table:
from to target type
12 22 22 any
public java.lang.String getNativeInputMethodInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: ldc "XMODIFIERS"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 1
ifnull 6
3: aload 1
ldc "@im="
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 3
start local 3 4: iload 3
iconst_m1
if_icmpeq 6
5: aload 1
iload 3
iconst_4
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
end local 3 6: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/X11InputMethodBase;
1 7 1 xmodifiers Ljava/lang/String;
2 7 2 imInfo Ljava/lang/String;
4 6 3 imIndex I
protected java.awt.im.InputMethodHighlight convertVisualFeedbackToHighlight(int);
descriptor: (I)Ljava/awt/im/InputMethodHighlight;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: iload 1
lookupswitch { // 7
0: 7
1: 3
2: 1
4: 5
32: 7
64: 9
128: 11
default: 13
}
1: StackMap locals:
StackMap stack:
getstatic java.awt.im.InputMethodHighlight.UNSELECTED_CONVERTED_TEXT_HIGHLIGHT:Ljava/awt/im/InputMethodHighlight;
astore 2
start local 2 2: goto 14
end local 2 3: StackMap locals:
StackMap stack:
getstatic java.awt.im.InputMethodHighlight.SELECTED_CONVERTED_TEXT_HIGHLIGHT:Ljava/awt/im/InputMethodHighlight;
astore 2
start local 2 4: goto 14
end local 2 5: StackMap locals:
StackMap stack:
getstatic java.awt.im.InputMethodHighlight.SELECTED_RAW_TEXT_HIGHLIGHT:Ljava/awt/im/InputMethodHighlight;
astore 2
start local 2 6: goto 14
end local 2 7: StackMap locals:
StackMap stack:
getstatic java.awt.im.InputMethodHighlight.UNSELECTED_CONVERTED_TEXT_HIGHLIGHT:Ljava/awt/im/InputMethodHighlight;
astore 2
start local 2 8: goto 14
end local 2 9: StackMap locals:
StackMap stack:
getstatic java.awt.im.InputMethodHighlight.SELECTED_CONVERTED_TEXT_HIGHLIGHT:Ljava/awt/im/InputMethodHighlight;
astore 2
start local 2 10: goto 14
end local 2 11: StackMap locals:
StackMap stack:
getstatic java.awt.im.InputMethodHighlight.SELECTED_RAW_TEXT_HIGHLIGHT:Ljava/awt/im/InputMethodHighlight;
astore 2
start local 2 12: goto 14
end local 2 13: StackMap locals:
StackMap stack:
getstatic java.awt.im.InputMethodHighlight.SELECTED_RAW_TEXT_HIGHLIGHT:Ljava/awt/im/InputMethodHighlight;
astore 2
start local 2 14: StackMap locals: java.awt.im.InputMethodHighlight
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/X11InputMethodBase;
0 15 1 feedback I
2 3 2 highlight Ljava/awt/im/InputMethodHighlight;
4 5 2 highlight Ljava/awt/im/InputMethodHighlight;
6 7 2 highlight Ljava/awt/im/InputMethodHighlight;
8 9 2 highlight Ljava/awt/im/InputMethodHighlight;
10 11 2 highlight Ljava/awt/im/InputMethodHighlight;
12 13 2 highlight Ljava/awt/im/InputMethodHighlight;
14 15 2 highlight Ljava/awt/im/InputMethodHighlight;
MethodParameters:
Name Flags
feedback
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
protected native void turnoffStatusWindow();
descriptor: ()V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
protected native void disposeXIC();
descriptor: ()V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
private native java.lang.String resetXIC();
descriptor: ()Ljava/lang/String;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
protected native boolean setCompositionEnabledNative(boolean);
descriptor: (Z)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
enable
private native boolean isCompositionEnabledNative();
descriptor: ()Z
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
}
SourceFile: "X11InputMethodBase.java"
NestMembers:
sun.awt.X11InputMethodBase$IntBuffer
InnerClasses:
public Subset = java.lang.Character$Subset of java.lang.Character
protected final IntBuffer = sun.awt.X11InputMethodBase$IntBuffer of sun.awt.X11InputMethodBase