public class sun.lwawt.macosx.CInputMethod extends sun.awt.im.InputMethodAdapter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.lwawt.macosx.CInputMethod
super_class: sun.awt.im.InputMethodAdapter
{
private java.awt.im.spi.InputMethodContext fIMContext;
descriptor: Ljava/awt/im/spi/InputMethodContext;
flags: (0x0002) ACC_PRIVATE
private java.awt.Component fAwtFocussedComponent;
descriptor: Ljava/awt/Component;
flags: (0x0002) ACC_PRIVATE
private sun.lwawt.LWComponentPeer<?, ?> fAwtFocussedComponentPeer;
descriptor: Lsun/lwawt/LWComponentPeer;
flags: (0x0002) ACC_PRIVATE
Signature: Lsun/lwawt/LWComponentPeer<**>;
private boolean isActive;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static java.util.Map<java.awt.font.TextAttribute, java.lang.Integer>[] sHighlightStyles;
descriptor: [Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: [Ljava/util/Map<Ljava/awt/font/TextAttribute;Ljava/lang/Integer;>;
private java.text.AttributedString fCurrentText;
descriptor: Ljava/text/AttributedString;
flags: (0x0002) ACC_PRIVATE
private java.lang.String fCurrentTextAsString;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int fCurrentTextLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static final int kCaretPosition;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int kRawText;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int kSelectedRawText;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int kConvertedText;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int kSelectedConvertedText;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: iconst_4
anewarray java.util.Map
astore 0
start local 0 1: new java.util.HashMap
dup
iconst_1
invokespecial java.util.HashMap.<init>:(I)V
astore 1
start local 1 2: aload 1
getstatic java.awt.font.TextAttribute.INPUT_METHOD_UNDERLINE:Ljava/awt/font/TextAttribute;
3: getstatic java.awt.font.TextAttribute.UNDERLINE_LOW_GRAY:Ljava/lang/Integer;
4: 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.INPUT_METHOD_UNDERLINE:Ljava/awt/font/TextAttribute;
8: getstatic java.awt.font.TextAttribute.UNDERLINE_LOW_GRAY:Ljava/lang/Integer;
9: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
iconst_1
aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
aastore
11: new java.util.HashMap
dup
iconst_1
invokespecial java.util.HashMap.<init>:(I)V
astore 1
12: aload 1
getstatic java.awt.font.TextAttribute.INPUT_METHOD_UNDERLINE:Ljava/awt/font/TextAttribute;
13: getstatic java.awt.font.TextAttribute.UNDERLINE_LOW_ONE_PIXEL:Ljava/lang/Integer;
14: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: aload 0
iconst_2
aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
aastore
16: new java.util.HashMap
dup
iconst_1
invokespecial java.util.HashMap.<init>:(I)V
astore 1
17: aload 1
getstatic java.awt.font.TextAttribute.INPUT_METHOD_UNDERLINE:Ljava/awt/font/TextAttribute;
18: getstatic java.awt.font.TextAttribute.UNDERLINE_LOW_TWO_PIXEL:Ljava/lang/Integer;
19: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
20: aload 0
iconst_3
aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
aastore
21: aload 0
putstatic sun.lwawt.macosx.CInputMethod.sHighlightStyles:[Ljava/util/Map;
22: invokestatic sun.lwawt.macosx.CInputMethod.nativeInit:()V
end local 1 end local 0 23: return
LocalVariableTable:
Start End Slot Name Signature
1 23 0 styles [Ljava/util/Map;
2 23 1 map Ljava/util/HashMap<Ljava/awt/font/TextAttribute;Ljava/lang/Integer;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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.lwawt.macosx.CInputMethod.fCurrentText:Ljava/text/AttributedString;
2: aload 0
aconst_null
putfield sun.lwawt.macosx.CInputMethod.fCurrentTextAsString:Ljava/lang/String;
3: aload 0
iconst_0
putfield sun.lwawt.macosx.CInputMethod.fCurrentTextLength:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/macosx/CInputMethod;
public void setInputMethodContext(java.awt.im.spi.InputMethodContext);
descriptor: (Ljava/awt/im/spi/InputMethodContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.lwawt.macosx.CInputMethod.fIMContext:Ljava/awt/im/spi/InputMethodContext;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CInputMethod;
0 2 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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual sun.lwawt.macosx.CInputMethod.setLocale:(Ljava/util/Locale;Z)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CInputMethod;
0 1 1 lang Ljava/util/Locale;
MethodParameters:
Name Flags
lang
private boolean setLocale(java.util.Locale, boolean);
descriptor: (Ljava/util/Locale;Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: invokestatic sun.lwawt.macosx.CInputMethodDescriptor.getAvailableLocalesInternal:()[Ljava/lang/Object;
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: goto 11
3: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 3
iload 4
aaload
checkcast java.util.Locale
astore 5
start local 5 4: aload 1
aload 5
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifne 7
5: aload 5
getstatic java.util.Locale.JAPAN:Ljava/util/Locale;
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifeq 6
aload 1
getstatic java.util.Locale.JAPANESE:Ljava/util/Locale;
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifne 7
6: StackMap locals: java.util.Locale
StackMap stack:
aload 5
getstatic java.util.Locale.KOREA:Ljava/util/Locale;
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifeq 10
aload 1
getstatic java.util.Locale.KOREAN:Ljava/util/Locale;
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifeq 10
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CInputMethod.isActive:Z
ifeq 9
8: aload 5
invokevirtual java.util.Locale.toString:()Ljava/lang/String;
iload 2
invokestatic sun.lwawt.macosx.CInputMethod.setNativeLocale:(Ljava/lang/String;Z)Z
pop
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 5 10: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
aload 3
arraylength
if_icmplt 3
end local 4 12: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/lwawt/macosx/CInputMethod;
0 13 1 lang Ljava/util/Locale;
0 13 2 onActivate Z
1 13 3 available [Ljava/lang/Object;
2 12 4 i I
4 10 5 locale Ljava/util/Locale;
MethodParameters:
Name Flags
lang
onActivate
public java.util.Locale getLocale();
descriptor: ()Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic sun.lwawt.macosx.CInputMethod.getNativeLocale:()Ljava/util/Locale;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
astore 1
3: StackMap locals: java.util.Locale
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CInputMethod;
1 4 1 returnValue Ljava/util/Locale;
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/lwawt/macosx/CInputMethod;
0 1 1 subsets [Ljava/lang/Character$Subset;
MethodParameters:
Name Flags
subsets
public void setCompositionEnabled(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "Can't adjust composition mode on Mac OS X."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CInputMethod;
0 1 1 enable Z
MethodParameters:
Name Flags
enable
public boolean isCompositionEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Can't adjust composition mode on Mac OS X."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CInputMethod;
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/lwawt/macosx/CInputMethod;
0 1 1 event Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
event final
public void activate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.lwawt.macosx.CInputMethod.isActive:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CInputMethod;
public void deactivate(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield sun.lwawt.macosx.CInputMethod.isActive:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CInputMethod;
0 2 1 isTemporary Z
MethodParameters:
Name Flags
isTemporary
public void hideWindows();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CInputMethod;
long getNativeViewPtr(sun.lwawt.LWComponentPeer<?, ?>);
descriptor: (Lsun/lwawt/LWComponentPeer;)J
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.lwawt.LWComponentPeer.getPlatformWindow:()Lsun/lwawt/PlatformWindow;
instanceof sun.lwawt.macosx.CPlatformWindow
ifeq 4
1: aload 1
invokevirtual sun.lwawt.LWComponentPeer.getPlatformWindow:()Lsun/lwawt/PlatformWindow;
checkcast sun.lwawt.macosx.CPlatformWindow
astore 2
start local 2 2: aload 2
invokevirtual sun.lwawt.macosx.CPlatformWindow.getContentView:()Lsun/lwawt/macosx/CPlatformView;
astore 3
start local 3 3: aload 3
invokevirtual sun.lwawt.macosx.CPlatformView.getAWTView:()J
lreturn
end local 3 end local 2 4: StackMap locals:
StackMap stack:
lconst_0
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/lwawt/macosx/CInputMethod;
0 5 1 peer Lsun/lwawt/LWComponentPeer<**>;
2 4 2 platformWindow Lsun/lwawt/macosx/CPlatformWindow;
3 4 3 platformView Lsun/lwawt/macosx/CPlatformView;
Signature: (Lsun/lwawt/LWComponentPeer<**>;)J
MethodParameters:
Name Flags
peer
public void removeNotify();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponentPeer:Lsun/lwawt/LWComponentPeer;
ifnull 2
1: aload 0
aload 0
aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponentPeer:Lsun/lwawt/LWComponentPeer;
invokevirtual sun.lwawt.macosx.CInputMethod.getNativeViewPtr:(Lsun/lwawt/LWComponentPeer;)J
invokevirtual sun.lwawt.macosx.CInputMethod.nativeEndComposition:(J)V
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponentPeer:Lsun/lwawt/LWComponentPeer;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CInputMethod;
protected void setAWTFocussedComponent(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: lconst_0
lstore 3
start local 3 2: aload 0
astore 5
start local 5 3: aload 1
ifnonnull 7
4: aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponentPeer:Lsun/lwawt/LWComponentPeer;
astore 2
5: aconst_null
astore 5
6: goto 10
7: StackMap locals: sun.lwawt.LWComponentPeer long sun.lwawt.macosx.CInputMethod
StackMap stack:
aload 0
aload 1
invokevirtual sun.lwawt.macosx.CInputMethod.getNearestNativePeer:(Ljava/awt/Component;)Lsun/lwawt/LWComponentPeer;
astore 2
8: aload 1
invokevirtual java.awt.Component.getInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
ifnonnull 10
9: aconst_null
astore 5
10: StackMap locals:
StackMap stack:
aload 2
ifnull 13
11: aload 0
aload 2
invokevirtual sun.lwawt.macosx.CInputMethod.getNativeViewPtr:(Lsun/lwawt/LWComponentPeer;)J
lstore 3
12: aload 0
lload 3
aload 5
invokevirtual sun.lwawt.macosx.CInputMethod.nativeNotifyPeer:(JLsun/lwawt/macosx/CInputMethod;)V
13: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
14: aload 0
aload 0
aload 1
invokevirtual sun.lwawt.macosx.CInputMethod.getNearestNativePeer:(Ljava/awt/Component;)Lsun/lwawt/LWComponentPeer;
putfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponentPeer:Lsun/lwawt/LWComponentPeer;
15: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/lwawt/macosx/CInputMethod;
0 16 1 component Ljava/awt/Component;
1 16 2 peer Lsun/lwawt/LWComponentPeer<**>;
2 16 3 modelPtr J
3 16 5 imInstance Lsun/lwawt/macosx/CInputMethod;
MethodParameters:
Name Flags
component
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.lwawt.macosx.CInputMethod.sHighlightStyles:[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
public void endComposition();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponentPeer:Lsun/lwawt/LWComponentPeer;
ifnull 2
1: aload 0
aload 0
aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponentPeer:Lsun/lwawt/LWComponentPeer;
invokevirtual sun.lwawt.macosx.CInputMethod.getNativeViewPtr:(Lsun/lwawt/LWComponentPeer;)J
invokevirtual sun.lwawt.macosx.CInputMethod.nativeEndComposition:(J)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/lwawt/macosx/CInputMethod;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield sun.lwawt.macosx.CInputMethod.fIMContext:Ljava/awt/im/spi/InputMethodContext;
1: aload 0
aconst_null
putfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
2: aload 0
aconst_null
putfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponentPeer:Lsun/lwawt/LWComponentPeer;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CInputMethod;
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/lwawt/macosx/CInputMethod;
private sun.lwawt.LWComponentPeer<?, ?> getNearestNativePeer(java.awt.Component);
descriptor: (Ljava/awt/Component;)Lsun/lwawt/LWComponentPeer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
invokestatic sun.awt.AWTAccessor.getComponentAccessor:()Lsun/awt/AWTAccessor$ComponentAccessor;
astore 2
start local 2 3: aload 2
aload 1
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
astore 3
start local 3 4: aload 3
ifnonnull 12
5: aconst_null
areturn
6: StackMap locals: sun.awt.AWTAccessor$ComponentAccessor java.awt.peer.ComponentPeer
StackMap stack:
aload 1
invokevirtual java.awt.Component.getParent:()Ljava/awt/Container;
astore 1
7: aload 1
ifnonnull 9
8: aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 2
aload 1
invokeinterface sun.awt.AWTAccessor$ComponentAccessor.getPeer:(Ljava/awt/Component;)Ljava/awt/peer/ComponentPeer;
astore 3
10: aload 3
ifnonnull 12
11: aconst_null
areturn
12: StackMap locals:
StackMap stack:
aload 3
instanceof java.awt.peer.LightweightPeer
ifne 6
13: aload 3
instanceof sun.lwawt.LWComponentPeer
ifeq 15
14: aload 3
checkcast sun.lwawt.LWComponentPeer
areturn
15: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/lwawt/macosx/CInputMethod;
0 16 1 comp Ljava/awt/Component;
3 16 2 acc Lsun/awt/AWTAccessor$ComponentAccessor;
4 16 3 peer Ljava/awt/peer/ComponentPeer;
Signature: (Ljava/awt/Component;)Lsun/lwawt/LWComponentPeer<**>;
MethodParameters:
Name Flags
comp
private synchronized void insertText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: new java.text.AttributedString
dup
aload 1
invokespecial java.text.AttributedString.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
getstatic java.text.AttributedCharacterIterator$Attribute.LANGUAGE:Ljava/text/AttributedCharacterIterator$Attribute;
aload 0
invokevirtual sun.lwawt.macosx.CInputMethod.getLocale:()Ljava/util/Locale;
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;II)V
2: aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokestatic java.awt.font.TextHitInfo.afterOffset:(I)Ljava/awt/font/TextHitInfo;
astore 3
start local 3 3: new java.awt.event.InputMethodEvent
dup
aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
4: sipush 1100
5: aload 2
invokevirtual java.text.AttributedString.getIterator:()Ljava/text/AttributedCharacterIterator;
6: aload 1
invokevirtual java.lang.String.length:()I
7: aload 3
8: aload 3
9: invokespecial java.awt.event.InputMethodEvent.<init>:(Ljava/awt/Component;ILjava/text/AttributedCharacterIterator;ILjava/awt/font/TextHitInfo;Ljava/awt/font/TextHitInfo;)V
astore 4
start local 4 10: aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
invokestatic sun.lwawt.macosx.LWCToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
aload 4
invokestatic sun.lwawt.macosx.LWCToolkit.postEvent:(Lsun/awt/AppContext;Ljava/awt/AWTEvent;)V
11: aload 0
aconst_null
putfield sun.lwawt.macosx.CInputMethod.fCurrentText:Ljava/text/AttributedString;
12: aload 0
aconst_null
putfield sun.lwawt.macosx.CInputMethod.fCurrentTextAsString:Ljava/lang/String;
13: aload 0
iconst_0
putfield sun.lwawt.macosx.CInputMethod.fCurrentTextLength:I
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/lwawt/macosx/CInputMethod;
0 15 1 aString Ljava/lang/String;
1 15 2 attribString Ljava/text/AttributedString;
3 15 3 theCaret Ljava/awt/font/TextHitInfo;
10 15 4 event Ljava/awt/event/InputMethodEvent;
MethodParameters:
Name Flags
aString
private void startIMUpdate(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
new java.lang.String
dup
aload 1
invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
putfield sun.lwawt.macosx.CInputMethod.fCurrentTextAsString:Ljava/lang/String;
1: aload 0
new java.text.AttributedString
dup
aload 0
getfield sun.lwawt.macosx.CInputMethod.fCurrentTextAsString:Ljava/lang/String;
invokespecial java.text.AttributedString.<init>:(Ljava/lang/String;)V
putfield sun.lwawt.macosx.CInputMethod.fCurrentText:Ljava/text/AttributedString;
2: aload 0
aload 1
invokevirtual java.lang.String.length:()I
putfield sun.lwawt.macosx.CInputMethod.fCurrentTextLength:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/lwawt/macosx/CInputMethod;
0 4 1 rawText Ljava/lang/String;
MethodParameters:
Name Flags
rawText
private void addAttribute(boolean, boolean, int, int);
descriptor: (ZZII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
istore 5
start local 5 1: iload 3
iload 4
iadd
istore 6
start local 6 2: iconst_1
istore 7
start local 7 3: iload 1
ifeq 6
iload 2
ifeq 6
4: iconst_1
istore 7
5: goto 14
StackMap locals: int int int
StackMap stack:
6: iload 1
ifne 9
iload 2
ifeq 9
7: iconst_1
istore 7
8: goto 14
StackMap locals:
StackMap stack:
9: iload 1
ifeq 12
iload 2
ifne 12
10: iconst_4
istore 7
11: goto 14
StackMap locals:
StackMap stack:
12: iload 1
ifne 14
iload 2
ifne 14
13: iconst_3
istore 7
14: StackMap locals:
StackMap stack:
iload 7
tableswitch { // 1 - 4
1: 21
2: 15
3: 17
4: 19
default: 21
}
15: StackMap locals:
StackMap stack:
getstatic java.awt.im.InputMethodHighlight.SELECTED_RAW_TEXT_HIGHLIGHT:Ljava/awt/im/InputMethodHighlight;
astore 8
start local 8 16: goto 22
end local 8 17: StackMap locals:
StackMap stack:
getstatic java.awt.im.InputMethodHighlight.UNSELECTED_CONVERTED_TEXT_HIGHLIGHT:Ljava/awt/im/InputMethodHighlight;
astore 8
start local 8 18: goto 22
end local 8 19: StackMap locals:
StackMap stack:
getstatic java.awt.im.InputMethodHighlight.SELECTED_CONVERTED_TEXT_HIGHLIGHT:Ljava/awt/im/InputMethodHighlight;
astore 8
start local 8 20: goto 22
end local 8 21: StackMap locals:
StackMap stack:
getstatic java.awt.im.InputMethodHighlight.UNSELECTED_RAW_TEXT_HIGHLIGHT:Ljava/awt/im/InputMethodHighlight;
astore 8
start local 8 22: StackMap locals: java.awt.im.InputMethodHighlight
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CInputMethod.fCurrentText:Ljava/text/AttributedString;
getstatic java.awt.font.TextAttribute.INPUT_METHOD_HIGHLIGHT:Ljava/awt/font/TextAttribute;
aload 8
iload 5
iload 6
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;II)V
23: return
end local 8 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 24 0 this Lsun/lwawt/macosx/CInputMethod;
0 24 1 isThickUnderline Z
0 24 2 isGray Z
0 24 3 start I
0 24 4 length I
1 24 5 begin I
2 24 6 end I
3 24 7 markupType I
16 17 8 theHighlight Ljava/awt/im/InputMethodHighlight;
18 19 8 theHighlight Ljava/awt/im/InputMethodHighlight;
20 21 8 theHighlight Ljava/awt/im/InputMethodHighlight;
22 24 8 theHighlight Ljava/awt/im/InputMethodHighlight;
MethodParameters:
Name Flags
isThickUnderline
isGray
start
length
private void selectPreviousGlyph();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CInputMethod.fIMContext:Ljava/awt/im/spi/InputMethodContext;
ifnonnull 1
return
1: StackMap locals:
StackMap stack:
new sun.lwawt.macosx.CInputMethod$1
dup
aload 0
invokespecial sun.lwawt.macosx.CInputMethod$1.<init>:(Lsun/lwawt/macosx/CInputMethod;)V
2: aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
3: invokestatic sun.lwawt.macosx.LWCToolkit.invokeLater:(Ljava/lang/Runnable;Ljava/awt/Component;)V
4: goto 7
StackMap locals:
StackMap stack: java.lang.Exception
5: astore 1
start local 1 6: aload 1
invokevirtual java.lang.Exception.printStackTrace:()V
end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/lwawt/macosx/CInputMethod;
6 7 1 e Ljava/lang/Exception;
Exception table:
from to target type
1 4 5 Class java.lang.Exception
private void selectNextGlyph();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CInputMethod.fIMContext:Ljava/awt/im/spi/InputMethodContext;
ifnull 1
aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
instanceof javax.swing.text.JTextComponent
ifne 2
StackMap locals:
StackMap stack:
1: return
2: StackMap locals:
StackMap stack:
new sun.lwawt.macosx.CInputMethod$2
dup
aload 0
invokespecial sun.lwawt.macosx.CInputMethod$2.<init>:(Lsun/lwawt/macosx/CInputMethod;)V
3: aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
4: invokestatic sun.lwawt.macosx.LWCToolkit.invokeLater:(Ljava/lang/Runnable;Ljava/awt/Component;)V
5: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 1
start local 1 7: aload 1
invokevirtual java.lang.Exception.printStackTrace:()V
end local 1 8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/lwawt/macosx/CInputMethod;
7 8 1 e Ljava/lang/Exception;
Exception table:
from to target type
2 5 6 Class java.lang.Exception
private void dispatchText(int, int, boolean);
descriptor: (IIZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.lwawt.macosx.CInputMethod.fCurrentText:Ljava/text/AttributedString;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
iload 2
ifne 3
iload 1
invokestatic java.awt.font.TextHitInfo.beforeOffset:(I)Ljava/awt/font/TextHitInfo;
goto 4
StackMap locals:
StackMap stack:
3: aconst_null
StackMap locals:
StackMap stack: java.awt.font.TextHitInfo
4: astore 4
start local 4 5: iconst_0
invokestatic java.awt.font.TextHitInfo.beforeOffset:(I)Ljava/awt/font/TextHitInfo;
astore 5
start local 5 6: new java.awt.event.InputMethodEvent
dup
aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
7: sipush 1100
8: aload 0
getfield sun.lwawt.macosx.CInputMethod.fCurrentText:Ljava/text/AttributedString;
invokevirtual java.text.AttributedString.getIterator:()Ljava/text/AttributedCharacterIterator;
9: iconst_0
10: aload 4
11: aload 5
12: invokespecial java.awt.event.InputMethodEvent.<init>:(Ljava/awt/Component;ILjava/text/AttributedCharacterIterator;ILjava/awt/font/TextHitInfo;Ljava/awt/font/TextHitInfo;)V
astore 6
start local 6 13: aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
invokestatic sun.lwawt.macosx.LWCToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
aload 6
invokestatic sun.lwawt.macosx.LWCToolkit.postEvent:(Lsun/awt/AppContext;Ljava/awt/AWTEvent;)V
14: iload 3
ifeq 15
aload 0
invokevirtual sun.lwawt.macosx.CInputMethod.selectNextGlyph:()V
15: StackMap locals: java.awt.font.TextHitInfo java.awt.font.TextHitInfo java.awt.event.InputMethodEvent
StackMap stack:
return
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 16 0 this Lsun/lwawt/macosx/CInputMethod;
0 16 1 selectStart I
0 16 2 selectLength I
0 16 3 pressAndHold Z
5 16 4 theCaret Ljava/awt/font/TextHitInfo;
6 16 5 visiblePosition Ljava/awt/font/TextHitInfo;
13 16 6 event Ljava/awt/event/InputMethodEvent;
MethodParameters:
Name Flags
selectStart
selectLength
pressAndHold
private synchronized void unmarkText();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=8, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CInputMethod.fCurrentText:Ljava/text/AttributedString;
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CInputMethod.fCurrentTextLength:I
invokestatic java.awt.font.TextHitInfo.afterOffset:(I)Ljava/awt/font/TextHitInfo;
astore 1
start local 1 3: aload 1
astore 2
start local 2 4: new java.awt.event.InputMethodEvent
dup
aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
5: sipush 1100
6: aload 0
getfield sun.lwawt.macosx.CInputMethod.fCurrentText:Ljava/text/AttributedString;
invokevirtual java.text.AttributedString.getIterator:()Ljava/text/AttributedCharacterIterator;
7: aload 0
getfield sun.lwawt.macosx.CInputMethod.fCurrentTextLength:I
8: aload 1
9: aload 2
10: invokespecial java.awt.event.InputMethodEvent.<init>:(Ljava/awt/Component;ILjava/text/AttributedCharacterIterator;ILjava/awt/font/TextHitInfo;Ljava/awt/font/TextHitInfo;)V
astore 3
start local 3 11: aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
invokestatic sun.lwawt.macosx.LWCToolkit.targetToAppContext:(Ljava/lang/Object;)Lsun/awt/AppContext;
aload 3
invokestatic sun.lwawt.macosx.LWCToolkit.postEvent:(Lsun/awt/AppContext;Ljava/awt/AWTEvent;)V
12: aload 0
aconst_null
putfield sun.lwawt.macosx.CInputMethod.fCurrentText:Ljava/text/AttributedString;
13: aload 0
aconst_null
putfield sun.lwawt.macosx.CInputMethod.fCurrentTextAsString:Ljava/lang/String;
14: aload 0
iconst_0
putfield sun.lwawt.macosx.CInputMethod.fCurrentTextLength:I
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/lwawt/macosx/CInputMethod;
3 16 1 theCaret Ljava/awt/font/TextHitInfo;
4 16 2 visiblePosition Ljava/awt/font/TextHitInfo;
11 16 3 event Ljava/awt/event/InputMethodEvent;
private synchronized boolean hasMarkedText();
descriptor: ()Z
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CInputMethod.fCurrentText:Ljava/text/AttributedString;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/lwawt/macosx/CInputMethod;
private synchronized java.lang.String attributedSubstringFromRange(int, int);
descriptor: (II)Ljava/lang/String;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
anewarray java.lang.String
astore 3
start local 3 1: new sun.lwawt.macosx.CInputMethod$3
dup
aload 0
aload 3
iload 1
iload 2
invokespecial sun.lwawt.macosx.CInputMethod$3.<init>:(Lsun/lwawt/macosx/CInputMethod;[Ljava/lang/String;II)V
2: aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
3: invokestatic sun.lwawt.macosx.LWCToolkit.invokeAndWait:(Ljava/lang/Runnable;Ljava/awt/Component;)V
4: goto 7
StackMap locals: sun.lwawt.macosx.CInputMethod int int java.lang.String[]
StackMap stack: java.lang.reflect.InvocationTargetException
5: astore 4
start local 4 6: aload 4
invokevirtual java.lang.reflect.InvocationTargetException.printStackTrace:()V
end local 4 7: StackMap locals:
StackMap stack:
aload 3
dup
astore 4
monitorenter
8: aload 3
iconst_0
aaload
aload 4
monitorexit
9: areturn
StackMap locals: sun.lwawt.macosx.CInputMethod int int java.lang.String[] java.lang.String[]
StackMap stack: java.lang.Throwable
10: aload 4
monitorexit
11: athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/lwawt/macosx/CInputMethod;
0 12 1 locationIn I
0 12 2 lengthIn I
1 12 3 retString [Ljava/lang/String;
6 7 4 ite Ljava/lang/reflect/InvocationTargetException;
Exception table:
from to target type
1 4 5 Class java.lang.reflect.InvocationTargetException
8 9 10 any
10 11 10 any
MethodParameters:
Name Flags
locationIn final
lengthIn final
private synchronized int[] selectedRange();
descriptor: ()[I
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=1
start local 0 0: iconst_2
newarray 10
astore 1
start local 1 1: new sun.lwawt.macosx.CInputMethod$4
dup
aload 0
aload 1
invokespecial sun.lwawt.macosx.CInputMethod$4.<init>:(Lsun/lwawt/macosx/CInputMethod;[I)V
2: aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
3: invokestatic sun.lwawt.macosx.LWCToolkit.invokeAndWait:(Ljava/lang/Runnable;Ljava/awt/Component;)V
4: goto 7
StackMap locals: sun.lwawt.macosx.CInputMethod int[]
StackMap stack: java.lang.reflect.InvocationTargetException
5: astore 2
start local 2 6: aload 2
invokevirtual java.lang.reflect.InvocationTargetException.printStackTrace:()V
end local 2 7: StackMap locals:
StackMap stack:
aload 1
dup
astore 2
monitorenter
8: aload 1
aload 2
monitorexit
9: areturn
StackMap locals: sun.lwawt.macosx.CInputMethod int[] int[]
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/lwawt/macosx/CInputMethod;
1 12 1 returnValue [I
6 7 2 ite Ljava/lang/reflect/InvocationTargetException;
Exception table:
from to target type
1 4 5 Class java.lang.reflect.InvocationTargetException
8 9 10 any
10 11 10 any
private synchronized int[] markedRange();
descriptor: ()[I
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CInputMethod.fCurrentText:Ljava/text/AttributedString;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
iconst_2
newarray 10
astore 1
start local 1 3: new sun.lwawt.macosx.CInputMethod$5
dup
aload 0
aload 1
invokespecial sun.lwawt.macosx.CInputMethod$5.<init>:(Lsun/lwawt/macosx/CInputMethod;[I)V
4: aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
5: invokestatic sun.lwawt.macosx.LWCToolkit.invokeAndWait:(Ljava/lang/Runnable;Ljava/awt/Component;)V
6: goto 9
StackMap locals: sun.lwawt.macosx.CInputMethod int[]
StackMap stack: java.lang.reflect.InvocationTargetException
7: astore 2
start local 2 8: aload 2
invokevirtual java.lang.reflect.InvocationTargetException.printStackTrace:()V
end local 2 9: StackMap locals:
StackMap stack:
aload 1
iconst_1
aload 0
getfield sun.lwawt.macosx.CInputMethod.fCurrentTextLength:I
iastore
10: aload 1
dup
astore 2
monitorenter
11: aload 1
aload 2
monitorexit
12: areturn
StackMap locals: sun.lwawt.macosx.CInputMethod int[] int[]
StackMap stack: java.lang.Throwable
13: aload 2
monitorexit
14: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/lwawt/macosx/CInputMethod;
3 15 1 returnValue [I
8 9 2 ite Ljava/lang/reflect/InvocationTargetException;
Exception table:
from to target type
3 6 7 Class java.lang.reflect.InvocationTargetException
11 12 13 any
13 14 13 any
private synchronized int[] firstRectForCharacterRange(int);
descriptor: (I)[I
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iconst_4
newarray 10
astore 2
start local 2 1: new sun.lwawt.macosx.CInputMethod$6
dup
aload 0
aload 2
iload 1
invokespecial sun.lwawt.macosx.CInputMethod$6.<init>:(Lsun/lwawt/macosx/CInputMethod;[II)V
2: aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
3: invokestatic sun.lwawt.macosx.LWCToolkit.invokeAndWait:(Ljava/lang/Runnable;Ljava/awt/Component;)V
4: goto 7
StackMap locals: sun.lwawt.macosx.CInputMethod int int[]
StackMap stack: java.lang.reflect.InvocationTargetException
5: astore 3
start local 3 6: aload 3
invokevirtual java.lang.reflect.InvocationTargetException.printStackTrace:()V
end local 3 7: StackMap locals:
StackMap stack:
aload 2
dup
astore 3
monitorenter
8: aload 2
aload 3
monitorexit
9: areturn
StackMap locals: sun.lwawt.macosx.CInputMethod int int[] int[]
StackMap stack: java.lang.Throwable
10: aload 3
monitorexit
11: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/lwawt/macosx/CInputMethod;
0 12 1 absoluteTextOffset I
1 12 2 rect [I
6 7 3 ite Ljava/lang/reflect/InvocationTargetException;
Exception table:
from to target type
1 4 5 Class java.lang.reflect.InvocationTargetException
8 9 10 any
10 11 10 any
MethodParameters:
Name Flags
absoluteTextOffset final
private synchronized int characterIndexForPoint(int, int);
descriptor: (II)I
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
anewarray java.awt.font.TextHitInfo
astore 3
start local 3 1: iconst_1
newarray 10
astore 4
start local 4 2: new sun.lwawt.macosx.CInputMethod$7
dup
aload 0
aload 3
iload 1
iload 2
aload 4
invokespecial sun.lwawt.macosx.CInputMethod$7.<init>:(Lsun/lwawt/macosx/CInputMethod;[Ljava/awt/font/TextHitInfo;II[I)V
3: aload 0
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
4: invokestatic sun.lwawt.macosx.LWCToolkit.invokeAndWait:(Ljava/lang/Runnable;Ljava/awt/Component;)V
5: goto 8
StackMap locals: sun.lwawt.macosx.CInputMethod int int java.awt.font.TextHitInfo[] int[]
StackMap stack: java.lang.reflect.InvocationTargetException
6: astore 5
start local 5 7: aload 5
invokevirtual java.lang.reflect.InvocationTargetException.printStackTrace:()V
end local 5 8: StackMap locals:
StackMap stack:
aload 3
iconst_0
aaload
ifnonnull 10
9: aload 4
iconst_0
iaload
ireturn
10: StackMap locals:
StackMap stack:
aload 3
iconst_0
aaload
invokevirtual java.awt.font.TextHitInfo.getCharIndex:()I
aload 4
iconst_0
iaload
iadd
istore 5
start local 5 11: aload 3
iconst_0
aaload
invokevirtual java.awt.font.TextHitInfo.getCharIndex:()I
aload 0
getfield sun.lwawt.macosx.CInputMethod.fCurrentTextLength:I
if_icmpne 13
12: iinc 5 -1
13: StackMap locals: int
StackMap stack:
iload 5
ireturn
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 14 0 this Lsun/lwawt/macosx/CInputMethod;
0 14 1 screenX I
0 14 2 screenY I
1 14 3 offsetInfo [Ljava/awt/font/TextHitInfo;
2 14 4 insertPositionOffset [I
7 8 5 ite Ljava/lang/reflect/InvocationTargetException;
11 14 5 returnValue I
Exception table:
from to target type
2 5 6 Class java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
screenX final
screenY final
public void disableInputMethod();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CInputMethod;
public java.lang.String getNativeInputMethodInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.lwawt.macosx.CInputMethod.nativeGetCurrentInputMethodInfo:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CInputMethod;
private native void nativeNotifyPeer(long, sun.lwawt.macosx.CInputMethod);
descriptor: (JLsun/lwawt/macosx/CInputMethod;)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
nativePeer
imInstance
private native void nativeEndComposition(long);
descriptor: (J)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
nativePeer
private native void nativeHandleEvent(sun.lwawt.LWComponentPeer<?, ?>, java.awt.AWTEvent);
descriptor: (Lsun/lwawt/LWComponentPeer;Ljava/awt/AWTEvent;)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Signature: (Lsun/lwawt/LWComponentPeer<**>;Ljava/awt/AWTEvent;)V
MethodParameters:
Name Flags
peer
event
static native java.util.Locale getNativeLocale();
descriptor: ()Ljava/util/Locale;
flags: (0x0108) ACC_STATIC, ACC_NATIVE
static native boolean setNativeLocale(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
localeName
onActivate
static native java.lang.String nativeGetCurrentInputMethodInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0108) ACC_STATIC, ACC_NATIVE
static native void nativeInit();
descriptor: ()V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
}
SourceFile: "CInputMethod.java"
NestMembers:
sun.lwawt.macosx.CInputMethod$1 sun.lwawt.macosx.CInputMethod$2 sun.lwawt.macosx.CInputMethod$3 sun.lwawt.macosx.CInputMethod$4 sun.lwawt.macosx.CInputMethod$5 sun.lwawt.macosx.CInputMethod$6 sun.lwawt.macosx.CInputMethod$7
InnerClasses:
public Subset = java.lang.Character$Subset of java.lang.Character
public Attribute = java.text.AttributedCharacterIterator$Attribute of java.text.AttributedCharacterIterator
public abstract ComponentAccessor = sun.awt.AWTAccessor$ComponentAccessor of sun.awt.AWTAccessor
sun.lwawt.macosx.CInputMethod$1
sun.lwawt.macosx.CInputMethod$2
sun.lwawt.macosx.CInputMethod$3
sun.lwawt.macosx.CInputMethod$4
sun.lwawt.macosx.CInputMethod$5
sun.lwawt.macosx.CInputMethod$6
sun.lwawt.macosx.CInputMethod$7