public class sun.awt.im.InputMethodContext extends sun.awt.im.InputContext implements java.awt.im.spi.InputMethodContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.im.InputMethodContext
super_class: sun.awt.im.InputContext
{
private boolean dispatchingCommittedText;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private sun.awt.im.CompositionAreaHandler compositionAreaHandler;
descriptor: Lsun/awt/im/CompositionAreaHandler;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object compositionAreaHandlerLock;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private static boolean belowTheSpotInputRequested;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private boolean inputMethodSupportsBelowTheSpot;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: new sun.security.action.GetPropertyAction
dup
ldc "java.awt.im.style"
aconst_null
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 0
start local 0 2: aload 0
ifnonnull 4
3: ldc "java.awt.im.style"
aconst_null
invokestatic java.awt.Toolkit.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 0
4: StackMap locals: java.lang.String
StackMap stack:
ldc "below-the-spot"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putstatic sun.awt.im.InputMethodContext.belowTheSpotInputRequested:Z
end local 0 5: return
LocalVariableTable:
Start End Slot Name Signature
2 5 0 inputStyle Ljava/lang/String;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.awt.im.InputContext.<init>:()V
1: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield sun.awt.im.InputMethodContext.compositionAreaHandlerLock:Ljava/lang/Object;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/im/InputMethodContext;
void setInputMethodSupportsBelowTheSpot(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield sun.awt.im.InputMethodContext.inputMethodSupportsBelowTheSpot:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/im/InputMethodContext;
0 2 1 supported Z
MethodParameters:
Name Flags
supported
boolean useBelowTheSpotInput();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.awt.im.InputMethodContext.belowTheSpotInputRequested:Z
ifeq 1
aload 0
getfield sun.awt.im.InputMethodContext.inputMethodSupportsBelowTheSpot:Z
ifeq 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/awt/im/InputMethodContext;
private boolean haveActiveClient();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.im.InputMethodContext.getClientComponent:()Ljava/awt/Component;
astore 1
start local 1 1: aload 1
ifnull 4
2: aload 1
invokevirtual java.awt.Component.getInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
ifnull 4
3: iconst_1
ireturn
StackMap locals: java.awt.Component
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/im/InputMethodContext;
1 5 1 client Ljava/awt/Component;
public void dispatchInputMethodEvent(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: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual sun.awt.im.InputMethodContext.getClientComponent:()Ljava/awt/Component;
astore 6
start local 6 1: aload 6
ifnull 9
2: new java.awt.event.InputMethodEvent
dup
aload 6
3: iload 1
aload 2
iload 3
aload 4
aload 5
4: invokespecial java.awt.event.InputMethodEvent.<init>:(Ljava/awt/Component;ILjava/text/AttributedCharacterIterator;ILjava/awt/font/TextHitInfo;Ljava/awt/font/TextHitInfo;)V
astore 7
start local 7 5: aload 0
invokevirtual sun.awt.im.InputMethodContext.haveActiveClient:()Z
ifeq 8
aload 0
invokevirtual sun.awt.im.InputMethodContext.useBelowTheSpotInput:()Z
ifne 8
6: aload 6
aload 7
invokevirtual java.awt.Component.dispatchEvent:(Ljava/awt/AWTEvent;)V
7: goto 9
8: StackMap locals: java.awt.Component java.awt.event.InputMethodEvent
StackMap stack:
aload 0
iconst_1
invokevirtual sun.awt.im.InputMethodContext.getCompositionAreaHandler:(Z)Lsun/awt/im/CompositionAreaHandler;
aload 7
invokevirtual sun.awt.im.CompositionAreaHandler.processInputMethodEvent:(Ljava/awt/event/InputMethodEvent;)V
end local 7 9: StackMap locals:
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 10 0 this Lsun/awt/im/InputMethodContext;
0 10 1 id I
0 10 2 text Ljava/text/AttributedCharacterIterator;
0 10 3 committedCharacterCount I
0 10 4 caret Ljava/awt/font/TextHitInfo;
0 10 5 visiblePosition Ljava/awt/font/TextHitInfo;
1 10 6 source Ljava/awt/Component;
5 9 7 event Ljava/awt/event/InputMethodEvent;
MethodParameters:
Name Flags
id
text
committedCharacterCount
caret
visiblePosition
synchronized void dispatchCommittedText(java.awt.Component, java.text.AttributedCharacterIterator, int);
descriptor: (Ljava/awt/Component;Ljava/text/AttributedCharacterIterator;I)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=9, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 2
1: aload 2
invokeinterface java.text.AttributedCharacterIterator.getEndIndex:()I
aload 2
invokeinterface java.text.AttributedCharacterIterator.getBeginIndex:()I
if_icmpgt 3
2: StackMap locals:
StackMap stack:
return
3: StackMap locals:
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
lstore 4
start local 4 4: aload 0
iconst_1
putfield sun.awt.im.InputMethodContext.dispatchingCommittedText:Z
5: aload 1
invokevirtual java.awt.Component.getInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
astore 6
start local 6 6: aload 6
ifnull 19
7: aload 2
invokeinterface java.text.AttributedCharacterIterator.getBeginIndex:()I
istore 7
start local 7 8: new java.text.AttributedString
dup
aload 2
iload 7
iload 7
iload 3
iadd
invokespecial java.text.AttributedString.<init>:(Ljava/text/AttributedCharacterIterator;II)V
invokevirtual java.text.AttributedString.getIterator:()Ljava/text/AttributedCharacterIterator;
9: astore 8
start local 8 10: new java.awt.event.InputMethodEvent
dup
11: aload 1
12: sipush 1100
13: aload 8
14: iload 3
15: aconst_null
aconst_null
16: invokespecial java.awt.event.InputMethodEvent.<init>:(Ljava/awt/Component;ILjava/text/AttributedCharacterIterator;ILjava/awt/font/TextHitInfo;Ljava/awt/font/TextHitInfo;)V
astore 9
start local 9 17: aload 1
aload 9
invokevirtual java.awt.Component.dispatchEvent:(Ljava/awt/AWTEvent;)V
end local 9 end local 8 end local 7 18: goto 31
19: StackMap locals: long java.awt.im.InputMethodRequests
StackMap stack:
aload 2
invokeinterface java.text.AttributedCharacterIterator.first:()C
istore 7
start local 7 20: goto 26
21: StackMap locals: int
StackMap stack:
new java.awt.event.KeyEvent
dup
aload 1
sipush 400
22: lload 4
iconst_0
iconst_0
iload 7
23: invokespecial java.awt.event.KeyEvent.<init>:(Ljava/awt/Component;IJIIC)V
astore 8
start local 8 24: aload 1
aload 8
invokevirtual java.awt.Component.dispatchEvent:(Ljava/awt/AWTEvent;)V
25: aload 2
invokeinterface java.text.AttributedCharacterIterator.next:()C
istore 7
end local 8 26: StackMap locals:
StackMap stack:
iload 3
iinc 3 -1
ifle 31
iload 7
ldc 65535
if_icmpne 21
end local 7 end local 6 27: goto 31
StackMap locals: sun.awt.im.InputMethodContext java.awt.Component java.text.AttributedCharacterIterator int long
StackMap stack: java.lang.Throwable
28: astore 10
29: aload 0
iconst_0
putfield sun.awt.im.InputMethodContext.dispatchingCommittedText:Z
30: aload 10
athrow
31: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.awt.im.InputMethodContext.dispatchingCommittedText:Z
32: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/awt/im/InputMethodContext;
0 33 1 client Ljava/awt/Component;
0 33 2 text Ljava/text/AttributedCharacterIterator;
0 33 3 committedCharacterCount I
4 33 4 time J
6 27 6 req Ljava/awt/im/InputMethodRequests;
8 18 7 beginIndex I
10 18 8 toBeCommitted Ljava/text/AttributedCharacterIterator;
17 18 9 inputEvent Ljava/awt/event/InputMethodEvent;
20 27 7 keyChar C
24 26 8 keyEvent Ljava/awt/event/KeyEvent;
Exception table:
from to target type
5 28 28 any
MethodParameters:
Name Flags
client
text
committedCharacterCount
public void dispatchEvent(java.awt.AWTEvent);
descriptor: (Ljava/awt/AWTEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.awt.event.InputMethodEvent
ifeq 5
1: aload 1
invokevirtual java.awt.AWTEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Component
invokevirtual java.awt.Component.getInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
ifnull 3
2: aload 0
invokevirtual sun.awt.im.InputMethodContext.useBelowTheSpotInput:()Z
ifeq 7
aload 0
getfield sun.awt.im.InputMethodContext.dispatchingCommittedText:Z
ifne 7
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual sun.awt.im.InputMethodContext.getCompositionAreaHandler:(Z)Lsun/awt/im/CompositionAreaHandler;
aload 1
checkcast java.awt.event.InputMethodEvent
invokevirtual sun.awt.im.CompositionAreaHandler.processInputMethodEvent:(Ljava/awt/event/InputMethodEvent;)V
4: goto 7
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.im.InputMethodContext.dispatchingCommittedText:Z
ifne 7
6: aload 0
aload 1
invokespecial sun.awt.im.InputContext.dispatchEvent:(Ljava/awt/AWTEvent;)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/im/InputMethodContext;
0 8 1 event Ljava/awt/AWTEvent;
MethodParameters:
Name Flags
event
private sun.awt.im.CompositionAreaHandler getCompositionAreaHandler(boolean);
descriptor: (Z)Lsun/awt/im/CompositionAreaHandler;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandlerLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
ifnonnull 3
2: aload 0
new sun.awt.im.CompositionAreaHandler
dup
aload 0
invokespecial sun.awt.im.CompositionAreaHandler.<init>:(Lsun/awt/im/InputMethodContext;)V
putfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
aload 0
invokevirtual sun.awt.im.InputMethodContext.getClientComponent:()Ljava/awt/Component;
invokevirtual sun.awt.im.CompositionAreaHandler.setClientComponent:(Ljava/awt/Component;)V
4: iload 1
ifeq 6
5: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
iconst_0
invokevirtual sun.awt.im.CompositionAreaHandler.grabCompositionArea:(Z)V
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
aload 2
monitorexit
7: areturn
8: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
9: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/im/InputMethodContext;
0 10 1 grab Z
Exception table:
from to target type
1 7 8 any
8 9 8 any
MethodParameters:
Name Flags
grab
void grabCompositionArea(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandlerLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
ifnull 4
2: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
iload 1
invokevirtual sun.awt.im.CompositionAreaHandler.grabCompositionArea:(Z)V
3: goto 5
4: StackMap locals: java.lang.Object
StackMap stack:
invokestatic sun.awt.im.CompositionAreaHandler.closeCompositionArea:()V
5: StackMap locals:
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:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/awt/im/InputMethodContext;
0 10 1 doUpdate Z
Exception table:
from to target type
1 6 7 any
7 8 7 any
MethodParameters:
Name Flags
doUpdate
void releaseCompositionArea();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandlerLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
ifnull 3
2: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
invokevirtual sun.awt.im.CompositionAreaHandler.releaseCompositionArea:()V
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/im/InputMethodContext;
Exception table:
from to target type
1 4 5 any
5 6 5 any
boolean isCompositionAreaVisible();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
ifnull 2
1: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
invokevirtual sun.awt.im.CompositionAreaHandler.isCompositionAreaVisible:()Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/im/InputMethodContext;
void setCompositionAreaVisible(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
ifnull 2
1: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
iload 1
invokevirtual sun.awt.im.CompositionAreaHandler.setCompositionAreaVisible:(Z)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/im/InputMethodContext;
0 3 1 visible Z
MethodParameters:
Name Flags
visible
public java.awt.Rectangle getTextLocation(java.awt.font.TextHitInfo);
descriptor: (Ljava/awt/font/TextHitInfo;)Ljava/awt/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.im.InputMethodContext.getReq:()Ljava/awt/im/InputMethodRequests;
aload 1
invokeinterface java.awt.im.InputMethodRequests.getTextLocation:(Ljava/awt/font/TextHitInfo;)Ljava/awt/Rectangle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/im/InputMethodContext;
0 1 1 offset Ljava/awt/font/TextHitInfo;
MethodParameters:
Name Flags
offset
public java.awt.font.TextHitInfo getLocationOffset(int, int);
descriptor: (II)Ljava/awt/font/TextHitInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.awt.im.InputMethodContext.getReq:()Ljava/awt/im/InputMethodRequests;
iload 1
iload 2
invokeinterface java.awt.im.InputMethodRequests.getLocationOffset:(II)Ljava/awt/font/TextHitInfo;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/im/InputMethodContext;
0 1 1 x I
0 1 2 y I
MethodParameters:
Name Flags
x
y
public int getInsertPositionOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.im.InputMethodContext.getReq:()Ljava/awt/im/InputMethodRequests;
invokeinterface java.awt.im.InputMethodRequests.getInsertPositionOffset:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/im/InputMethodContext;
public java.text.AttributedCharacterIterator getCommittedText(int, int, java.text.AttributedCharacterIterator$Attribute[]);
descriptor: (II[Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/text/AttributedCharacterIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual sun.awt.im.InputMethodContext.getReq:()Ljava/awt/im/InputMethodRequests;
iload 1
iload 2
aload 3
invokeinterface java.awt.im.InputMethodRequests.getCommittedText:(II[Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/text/AttributedCharacterIterator;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/im/InputMethodContext;
0 1 1 beginIndex I
0 1 2 endIndex I
0 1 3 attributes [Ljava/text/AttributedCharacterIterator$Attribute;
MethodParameters:
Name Flags
beginIndex
endIndex
attributes
public int getCommittedTextLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.im.InputMethodContext.getReq:()Ljava/awt/im/InputMethodRequests;
invokeinterface java.awt.im.InputMethodRequests.getCommittedTextLength:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/im/InputMethodContext;
public java.text.AttributedCharacterIterator cancelLatestCommittedText(java.text.AttributedCharacterIterator$Attribute[]);
descriptor: ([Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/text/AttributedCharacterIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.im.InputMethodContext.getReq:()Ljava/awt/im/InputMethodRequests;
aload 1
invokeinterface java.awt.im.InputMethodRequests.cancelLatestCommittedText:([Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/text/AttributedCharacterIterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/im/InputMethodContext;
0 1 1 attributes [Ljava/text/AttributedCharacterIterator$Attribute;
MethodParameters:
Name Flags
attributes
public java.text.AttributedCharacterIterator getSelectedText(java.text.AttributedCharacterIterator$Attribute[]);
descriptor: ([Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/text/AttributedCharacterIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.im.InputMethodContext.getReq:()Ljava/awt/im/InputMethodRequests;
aload 1
invokeinterface java.awt.im.InputMethodRequests.getSelectedText:([Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/text/AttributedCharacterIterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/im/InputMethodContext;
0 1 1 attributes [Ljava/text/AttributedCharacterIterator$Attribute;
MethodParameters:
Name Flags
attributes
private java.awt.im.InputMethodRequests getReq();
descriptor: ()Ljava/awt/im/InputMethodRequests;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.im.InputMethodContext.haveActiveClient:()Z
ifeq 2
aload 0
invokevirtual sun.awt.im.InputMethodContext.useBelowTheSpotInput:()Z
ifne 2
1: aload 0
invokevirtual sun.awt.im.InputMethodContext.getClientComponent:()Ljava/awt/Component;
invokevirtual java.awt.Component.getInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
areturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual sun.awt.im.InputMethodContext.getCompositionAreaHandler:(Z)Lsun/awt/im/CompositionAreaHandler;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/im/InputMethodContext;
public java.awt.Window createInputMethodWindow(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/awt/Window;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 1
aload 0
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: sun.awt.im.InputMethodContext
2: astore 3
start local 3 3: aload 1
aload 3
iconst_0
invokestatic sun.awt.im.InputMethodContext.createInputMethodWindow:(Ljava/lang/String;Lsun/awt/im/InputContext;Z)Ljava/awt/Window;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/im/InputMethodContext;
0 4 1 title Ljava/lang/String;
0 4 2 attachToInputContext Z
3 4 3 context Lsun/awt/im/InputContext;
MethodParameters:
Name Flags
title
attachToInputContext
public javax.swing.JFrame createInputMethodJFrame(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljavax/swing/JFrame;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 1
aload 0
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: sun.awt.im.InputMethodContext
2: astore 3
start local 3 3: aload 1
aload 3
iconst_1
invokestatic sun.awt.im.InputMethodContext.createInputMethodWindow:(Ljava/lang/String;Lsun/awt/im/InputContext;Z)Ljava/awt/Window;
checkcast javax.swing.JFrame
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/im/InputMethodContext;
0 4 1 title Ljava/lang/String;
0 4 2 attachToInputContext Z
3 4 3 context Lsun/awt/im/InputContext;
MethodParameters:
Name Flags
title
attachToInputContext
static java.awt.Window createInputMethodWindow(java.lang.String, sun.awt.im.InputContext, boolean);
descriptor: (Ljava/lang/String;Lsun/awt/im/InputContext;Z)Ljava/awt/Window;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifeq 2
1: new java.awt.HeadlessException
dup
invokespecial java.awt.HeadlessException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 2
ifeq 4
3: new sun.awt.im.InputMethodJFrame
dup
aload 0
aload 1
invokespecial sun.awt.im.InputMethodJFrame.<init>:(Ljava/lang/String;Lsun/awt/im/InputContext;)V
areturn
4: StackMap locals:
StackMap stack:
invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
astore 3
start local 3 5: aload 3
instanceof sun.awt.InputMethodSupport
ifeq 9
6: aload 3
checkcast sun.awt.InputMethodSupport
7: aload 0
aload 1
8: invokeinterface sun.awt.InputMethodSupport.createInputMethodWindow:(Ljava/lang/String;Lsun/awt/im/InputContext;)Ljava/awt/Window;
areturn
end local 3 9: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
ldc "Input methods must be supported"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 title Ljava/lang/String;
0 10 1 context Lsun/awt/im/InputContext;
0 10 2 isSwing Z
5 9 3 toolkit Ljava/awt/Toolkit;
MethodParameters:
Name Flags
title
context
isSwing
public void enableClientWindowNotification(java.awt.im.spi.InputMethod, boolean);
descriptor: (Ljava/awt/im/spi/InputMethod;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial sun.awt.im.InputContext.enableClientWindowNotification:(Ljava/awt/im/spi/InputMethod;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/im/InputMethodContext;
0 2 1 inputMethod Ljava/awt/im/spi/InputMethod;
0 2 2 enable Z
MethodParameters:
Name Flags
inputMethod
enable
void setCompositionAreaUndecorated(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
ifnull 2
1: aload 0
getfield sun.awt.im.InputMethodContext.compositionAreaHandler:Lsun/awt/im/CompositionAreaHandler;
iload 1
invokevirtual sun.awt.im.CompositionAreaHandler.setCompositionAreaUndecorated:(Z)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/im/InputMethodContext;
0 3 1 undecorated Z
MethodParameters:
Name Flags
undecorated
}
SourceFile: "InputMethodContext.java"
InnerClasses:
public Attribute = java.text.AttributedCharacterIterator$Attribute of java.text.AttributedCharacterIterator