class sun.awt.im.CompositionAreaHandler implements java.awt.event.InputMethodListener, java.awt.im.InputMethodRequests
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.im.CompositionAreaHandler
super_class: java.lang.Object
{
private static sun.awt.im.CompositionArea compositionArea;
descriptor: Lsun/awt/im/CompositionArea;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.Object compositionAreaLock;
descriptor: Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.awt.im.CompositionAreaHandler compositionAreaOwner;
descriptor: Lsun/awt/im/CompositionAreaHandler;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.text.AttributedCharacterIterator composedText;
descriptor: Ljava/text/AttributedCharacterIterator;
flags: (0x0002) ACC_PRIVATE
private java.awt.font.TextHitInfo caret;
descriptor: Ljava/awt/font/TextHitInfo;
flags: (0x0002) ACC_PRIVATE
private java.lang.ref.WeakReference<java.awt.Component> clientComponent;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/ref/WeakReference<Ljava/awt/Component;>;
private sun.awt.im.InputMethodContext inputMethodContext;
descriptor: Lsun/awt/im/InputMethodContext;
flags: (0x0002) ACC_PRIVATE
private static final java.text.AttributedCharacterIterator$Attribute[] IM_ATTRIBUTES;
descriptor: [Ljava/text/AttributedCharacterIterator$Attribute;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.text.AttributedCharacterIterator EMPTY_TEXT;
descriptor: Ljava/text/AttributedCharacterIterator;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic sun.awt.im.CompositionAreaHandler.compositionAreaLock:Ljava/lang/Object;
1: iconst_1
anewarray java.text.AttributedCharacterIterator$Attribute
dup
iconst_0
getstatic java.awt.font.TextAttribute.INPUT_METHOD_HIGHLIGHT:Ljava/awt/font/TextAttribute;
aastore
2: putstatic sun.awt.im.CompositionAreaHandler.IM_ATTRIBUTES:[Ljava/text/AttributedCharacterIterator$Attribute;
3: new java.text.AttributedString
dup
ldc ""
invokespecial java.text.AttributedString.<init>:(Ljava/lang/String;)V
invokevirtual java.text.AttributedString.getIterator:()Ljava/text/AttributedCharacterIterator;
4: putstatic sun.awt.im.CompositionAreaHandler.EMPTY_TEXT:Ljava/text/AttributedCharacterIterator;
5: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(sun.awt.im.InputMethodContext);
descriptor: (Lsun/awt/im/InputMethodContext;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield sun.awt.im.CompositionAreaHandler.caret:Ljava/awt/font/TextHitInfo;
2: aload 0
new java.lang.ref.WeakReference
dup
aconst_null
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield sun.awt.im.CompositionAreaHandler.clientComponent:Ljava/lang/ref/WeakReference;
3: aload 0
aload 1
putfield sun.awt.im.CompositionAreaHandler.inputMethodContext:Lsun/awt/im/InputMethodContext;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/im/CompositionAreaHandler;
0 5 1 context Lsun/awt/im/InputMethodContext;
MethodParameters:
Name Flags
context
private void createCompositionArea();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: getstatic sun.awt.im.CompositionAreaHandler.compositionAreaLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: new sun.awt.im.CompositionArea
dup
invokespecial sun.awt.im.CompositionArea.<init>:()V
putstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
2: getstatic sun.awt.im.CompositionAreaHandler.compositionAreaOwner:Lsun/awt/im/CompositionAreaHandler;
ifnull 4
3: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
getstatic sun.awt.im.CompositionAreaHandler.compositionAreaOwner:Lsun/awt/im/CompositionAreaHandler;
aload 0
getfield sun.awt.im.CompositionAreaHandler.inputMethodContext:Lsun/awt/im/InputMethodContext;
invokevirtual sun.awt.im.CompositionArea.setHandlerInfo:(Lsun/awt/im/CompositionAreaHandler;Lsun/awt/im/InputContext;)V
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.awt.im.CompositionAreaHandler.clientComponent:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.awt.Component
astore 2
start local 2 5: aload 2
ifnull 9
6: aload 2
invokevirtual java.awt.Component.getInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
astore 3
start local 3 7: aload 3
ifnull 9
aload 0
getfield sun.awt.im.CompositionAreaHandler.inputMethodContext:Lsun/awt/im/InputMethodContext;
invokevirtual sun.awt.im.InputMethodContext.useBelowTheSpotInput:()Z
ifeq 9
8: aload 0
iconst_1
invokevirtual sun.awt.im.CompositionAreaHandler.setCompositionAreaUndecorated:(Z)V
end local 3 end local 2 9: StackMap locals:
StackMap stack:
aload 1
monitorexit
10: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
11: aload 1
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/awt/im/CompositionAreaHandler;
5 9 2 client Ljava/awt/Component;
7 9 3 req Ljava/awt/im/InputMethodRequests;
Exception table:
from to target type
1 10 11 any
11 12 11 any
void setClientComponent(java.awt.Component);
descriptor: (Ljava/awt/Component;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield sun.awt.im.CompositionAreaHandler.clientComponent:Ljava/lang/ref/WeakReference;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/im/CompositionAreaHandler;
0 2 1 clientComponent Ljava/awt/Component;
MethodParameters:
Name Flags
clientComponent
void grabCompositionArea(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic sun.awt.im.CompositionAreaHandler.compositionAreaLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: getstatic sun.awt.im.CompositionAreaHandler.compositionAreaOwner:Lsun/awt/im/CompositionAreaHandler;
aload 0
if_acmpeq 10
2: aload 0
putstatic sun.awt.im.CompositionAreaHandler.compositionAreaOwner:Lsun/awt/im/CompositionAreaHandler;
3: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
ifnull 5
4: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
aload 0
aload 0
getfield sun.awt.im.CompositionAreaHandler.inputMethodContext:Lsun/awt/im/InputMethodContext;
invokevirtual sun.awt.im.CompositionArea.setHandlerInfo:(Lsun/awt/im/CompositionAreaHandler;Lsun/awt/im/InputContext;)V
5: StackMap locals: java.lang.Object
StackMap stack:
iload 1
ifeq 10
6: aload 0
getfield sun.awt.im.CompositionAreaHandler.composedText:Ljava/text/AttributedCharacterIterator;
ifnull 8
getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
ifnonnull 8
7: aload 0
invokevirtual sun.awt.im.CompositionAreaHandler.createCompositionArea:()V
8: StackMap locals:
StackMap stack:
getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
ifnull 10
9: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
aload 0
getfield sun.awt.im.CompositionAreaHandler.composedText:Ljava/text/AttributedCharacterIterator;
aload 0
getfield sun.awt.im.CompositionAreaHandler.caret:Ljava/awt/font/TextHitInfo;
invokevirtual sun.awt.im.CompositionArea.setText:(Ljava/text/AttributedCharacterIterator;Ljava/awt/font/TextHitInfo;)V
10: StackMap locals:
StackMap stack:
aload 2
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 2
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/im/CompositionAreaHandler;
0 15 1 doUpdate Z
Exception table:
from to target type
1 11 12 any
12 13 12 any
MethodParameters:
Name Flags
doUpdate
void releaseCompositionArea();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic sun.awt.im.CompositionAreaHandler.compositionAreaLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: getstatic sun.awt.im.CompositionAreaHandler.compositionAreaOwner:Lsun/awt/im/CompositionAreaHandler;
aload 0
if_acmpne 6
2: aconst_null
putstatic sun.awt.im.CompositionAreaHandler.compositionAreaOwner:Lsun/awt/im/CompositionAreaHandler;
3: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
ifnull 6
4: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
aconst_null
aconst_null
invokevirtual sun.awt.im.CompositionArea.setHandlerInfo:(Lsun/awt/im/CompositionAreaHandler;Lsun/awt/im/InputContext;)V
5: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
aconst_null
aconst_null
invokevirtual sun.awt.im.CompositionArea.setText:(Ljava/text/AttributedCharacterIterator;Ljava/awt/font/TextHitInfo;)V
6: StackMap locals: java.lang.Object
StackMap stack:
aload 1
monitorexit
7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: aload 1
monitorexit
9: athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/awt/im/CompositionAreaHandler;
Exception table:
from to target type
1 7 8 any
8 9 8 any
static void closeCompositionArea();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
ifnull 9
1: getstatic sun.awt.im.CompositionAreaHandler.compositionAreaLock:Ljava/lang/Object;
dup
astore 0
monitorenter
2: aconst_null
putstatic sun.awt.im.CompositionAreaHandler.compositionAreaOwner:Lsun/awt/im/CompositionAreaHandler;
3: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
aconst_null
aconst_null
invokevirtual sun.awt.im.CompositionArea.setHandlerInfo:(Lsun/awt/im/CompositionAreaHandler;Lsun/awt/im/InputContext;)V
4: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
aconst_null
aconst_null
invokevirtual sun.awt.im.CompositionArea.setText:(Ljava/text/AttributedCharacterIterator;Ljava/awt/font/TextHitInfo;)V
5: aload 0
monitorexit
6: goto 9
StackMap locals: java.lang.Object
StackMap stack: java.lang.Throwable
7: aload 0
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 6 7 any
7 8 7 any
boolean isCompositionAreaVisible();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
ifnull 2
1: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
invokevirtual sun.awt.im.CompositionArea.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/CompositionAreaHandler;
void setCompositionAreaVisible(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
ifnull 2
1: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
iload 1
invokevirtual sun.awt.im.CompositionArea.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/CompositionAreaHandler;
0 3 1 visible Z
MethodParameters:
Name Flags
visible
void processInputMethodEvent(java.awt.event.InputMethodEvent);
descriptor: (Ljava/awt/event/InputMethodEvent;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.InputMethodEvent.getID:()I
sipush 1100
if_icmpne 3
1: aload 0
aload 1
invokevirtual sun.awt.im.CompositionAreaHandler.inputMethodTextChanged:(Ljava/awt/event/InputMethodEvent;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.awt.im.CompositionAreaHandler.caretPositionChanged:(Ljava/awt/event/InputMethodEvent;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/im/CompositionAreaHandler;
0 5 1 event Ljava/awt/event/InputMethodEvent;
MethodParameters:
Name Flags
event
void setCompositionAreaUndecorated(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
ifnull 2
1: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
iload 1
invokevirtual sun.awt.im.CompositionArea.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/CompositionAreaHandler;
0 3 1 undecorated Z
MethodParameters:
Name Flags
undecorated
public void inputMethodTextChanged(java.awt.event.InputMethodEvent);
descriptor: (Ljava/awt/event/InputMethodEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.awt.event.InputMethodEvent.getText:()Ljava/text/AttributedCharacterIterator;
astore 2
start local 2 1: aload 1
invokevirtual java.awt.event.InputMethodEvent.getCommittedCharacterCount:()I
istore 3
start local 3 2: aload 0
aconst_null
putfield sun.awt.im.CompositionAreaHandler.composedText:Ljava/text/AttributedCharacterIterator;
3: aload 0
aconst_null
putfield sun.awt.im.CompositionAreaHandler.caret:Ljava/awt/font/TextHitInfo;
4: aload 2
ifnull 15
5: iload 3
aload 2
invokeinterface java.text.AttributedCharacterIterator.getEndIndex:()I
aload 2
invokeinterface java.text.AttributedCharacterIterator.getBeginIndex:()I
isub
if_icmpge 15
6: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
ifnonnull 8
7: aload 0
invokevirtual sun.awt.im.CompositionAreaHandler.createCompositionArea:()V
8: StackMap locals: java.text.AttributedCharacterIterator int
StackMap stack:
new java.text.AttributedString
dup
aload 2
9: aload 2
invokeinterface java.text.AttributedCharacterIterator.getBeginIndex:()I
iload 3
iadd
10: aload 2
invokeinterface java.text.AttributedCharacterIterator.getEndIndex:()I
getstatic sun.awt.im.CompositionAreaHandler.IM_ATTRIBUTES:[Ljava/text/AttributedCharacterIterator$Attribute;
11: invokespecial java.text.AttributedString.<init>:(Ljava/text/AttributedCharacterIterator;II[Ljava/text/AttributedCharacterIterator$Attribute;)V
astore 4
start local 4 12: aload 4
getstatic java.awt.font.TextAttribute.FONT:Ljava/awt/font/TextAttribute;
getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
invokevirtual sun.awt.im.CompositionArea.getFont:()Ljava/awt/Font;
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;)V
13: aload 0
aload 4
invokevirtual java.text.AttributedString.getIterator:()Ljava/text/AttributedCharacterIterator;
putfield sun.awt.im.CompositionAreaHandler.composedText:Ljava/text/AttributedCharacterIterator;
14: aload 0
aload 1
invokevirtual java.awt.event.InputMethodEvent.getCaret:()Ljava/awt/font/TextHitInfo;
putfield sun.awt.im.CompositionAreaHandler.caret:Ljava/awt/font/TextHitInfo;
end local 4 15: StackMap locals:
StackMap stack:
getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
ifnull 17
16: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
aload 0
getfield sun.awt.im.CompositionAreaHandler.composedText:Ljava/text/AttributedCharacterIterator;
aload 0
getfield sun.awt.im.CompositionAreaHandler.caret:Ljava/awt/font/TextHitInfo;
invokevirtual sun.awt.im.CompositionArea.setText:(Ljava/text/AttributedCharacterIterator;Ljava/awt/font/TextHitInfo;)V
17: StackMap locals:
StackMap stack:
iload 3
ifle 23
18: aload 0
getfield sun.awt.im.CompositionAreaHandler.inputMethodContext:Lsun/awt/im/InputMethodContext;
aload 1
invokevirtual java.awt.event.InputMethodEvent.getSource:()Ljava/lang/Object;
checkcast java.awt.Component
19: aload 2
iload 3
20: invokevirtual sun.awt.im.InputMethodContext.dispatchCommittedText:(Ljava/awt/Component;Ljava/text/AttributedCharacterIterator;I)V
21: aload 0
invokevirtual sun.awt.im.CompositionAreaHandler.isCompositionAreaVisible:()Z
ifeq 23
22: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
invokevirtual sun.awt.im.CompositionArea.updateWindowLocation:()V
23: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.InputMethodEvent.consume:()V
24: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/awt/im/CompositionAreaHandler;
0 25 1 event Ljava/awt/event/InputMethodEvent;
1 25 2 text Ljava/text/AttributedCharacterIterator;
2 25 3 committedCharacterCount I
12 15 4 composedTextString Ljava/text/AttributedString;
MethodParameters:
Name Flags
event
public void caretPositionChanged(java.awt.event.InputMethodEvent);
descriptor: (Ljava/awt/event/InputMethodEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
ifnull 2
1: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
aload 1
invokevirtual java.awt.event.InputMethodEvent.getCaret:()Ljava/awt/font/TextHitInfo;
invokevirtual sun.awt.im.CompositionArea.setCaret:(Ljava/awt/font/TextHitInfo;)V
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.InputMethodEvent.consume:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/im/CompositionAreaHandler;
0 4 1 event Ljava/awt/event/InputMethodEvent;
MethodParameters:
Name Flags
event
java.awt.im.InputMethodRequests getClientInputMethodRequests();
descriptor: ()Ljava/awt/im/InputMethodRequests;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.awt.im.CompositionAreaHandler.clientComponent:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast java.awt.Component
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.awt.Component.getInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
areturn
3: StackMap locals: java.awt.Component
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/im/CompositionAreaHandler;
1 4 1 client Ljava/awt/Component;
public java.awt.Rectangle getTextLocation(java.awt.font.TextHitInfo);
descriptor: (Ljava/awt/font/TextHitInfo;)Ljava/awt/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: getstatic sun.awt.im.CompositionAreaHandler.compositionAreaLock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: getstatic sun.awt.im.CompositionAreaHandler.compositionAreaOwner:Lsun/awt/im/CompositionAreaHandler;
aload 0
if_acmpne 4
aload 0
invokevirtual sun.awt.im.CompositionAreaHandler.isCompositionAreaVisible:()Z
ifeq 4
2: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
aload 1
invokevirtual sun.awt.im.CompositionArea.getTextLocation:(Ljava/awt/font/TextHitInfo;)Ljava/awt/Rectangle;
aload 2
monitorexit
3: areturn
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield sun.awt.im.CompositionAreaHandler.composedText:Ljava/text/AttributedCharacterIterator;
ifnull 7
5: new java.awt.Rectangle
dup
iconst_0
iconst_0
iconst_0
bipush 10
invokespecial java.awt.Rectangle.<init>:(IIII)V
aload 2
monitorexit
6: areturn
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.awt.im.CompositionAreaHandler.getClientInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
astore 3
start local 3 8: aload 3
ifnull 11
9: aload 3
aload 1
invokeinterface java.awt.im.InputMethodRequests.getTextLocation:(Ljava/awt/font/TextHitInfo;)Ljava/awt/Rectangle;
aload 2
monitorexit
10: areturn
11: StackMap locals: java.awt.im.InputMethodRequests
StackMap stack:
new java.awt.Rectangle
dup
iconst_0
iconst_0
iconst_0
bipush 10
invokespecial java.awt.Rectangle.<init>:(IIII)V
aload 2
monitorexit
12: areturn
end local 3 13: StackMap locals: sun.awt.im.CompositionAreaHandler java.awt.font.TextHitInfo java.lang.Object
StackMap stack: java.lang.Throwable
aload 2
monitorexit
14: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/im/CompositionAreaHandler;
0 15 1 offset Ljava/awt/font/TextHitInfo;
8 13 3 requests Ljava/awt/im/InputMethodRequests;
Exception table:
from to target type
1 3 13 any
4 6 13 any
7 10 13 any
11 12 13 any
13 14 13 any
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=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.awt.im.CompositionAreaHandler.compositionAreaLock:Ljava/lang/Object;
dup
astore 3
monitorenter
1: getstatic sun.awt.im.CompositionAreaHandler.compositionAreaOwner:Lsun/awt/im/CompositionAreaHandler;
aload 0
if_acmpne 4
aload 0
invokevirtual sun.awt.im.CompositionAreaHandler.isCompositionAreaVisible:()Z
ifeq 4
2: getstatic sun.awt.im.CompositionAreaHandler.compositionArea:Lsun/awt/im/CompositionArea;
iload 1
iload 2
invokevirtual sun.awt.im.CompositionArea.getLocationOffset:(II)Ljava/awt/font/TextHitInfo;
aload 3
monitorexit
3: areturn
4: StackMap locals: java.lang.Object
StackMap stack:
aload 3
monitorexit
5: aconst_null
areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
aload 3
monitorexit
7: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/im/CompositionAreaHandler;
0 8 1 x I
0 8 2 y I
Exception table:
from to target type
1 3 6 any
4 5 6 any
6 7 6 any
MethodParameters:
Name Flags
x
y
public int getInsertPositionOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.im.CompositionAreaHandler.getClientInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokeinterface java.awt.im.InputMethodRequests.getInsertPositionOffset:()I
ireturn
3: StackMap locals: java.awt.im.InputMethodRequests
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/im/CompositionAreaHandler;
1 4 1 req Ljava/awt/im/InputMethodRequests;
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=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual sun.awt.im.CompositionAreaHandler.getClientInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
astore 4
start local 4 1: aload 4
ifnull 3
2: aload 4
iload 1
iload 2
aload 3
invokeinterface java.awt.im.InputMethodRequests.getCommittedText:(II[Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/text/AttributedCharacterIterator;
areturn
3: StackMap locals: java.awt.im.InputMethodRequests
StackMap stack:
getstatic sun.awt.im.CompositionAreaHandler.EMPTY_TEXT:Ljava/text/AttributedCharacterIterator;
areturn
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/im/CompositionAreaHandler;
0 4 1 beginIndex I
0 4 2 endIndex I
0 4 3 attributes [Ljava/text/AttributedCharacterIterator$Attribute;
1 4 4 req Ljava/awt/im/InputMethodRequests;
MethodParameters:
Name Flags
beginIndex
endIndex
attributes
public int getCommittedTextLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.im.CompositionAreaHandler.getClientInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokeinterface java.awt.im.InputMethodRequests.getCommittedTextLength:()I
ireturn
3: StackMap locals: java.awt.im.InputMethodRequests
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/im/CompositionAreaHandler;
1 4 1 req Ljava/awt/im/InputMethodRequests;
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=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.im.CompositionAreaHandler.getClientInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface java.awt.im.InputMethodRequests.cancelLatestCommittedText:([Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/text/AttributedCharacterIterator;
areturn
3: StackMap locals: java.awt.im.InputMethodRequests
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/im/CompositionAreaHandler;
0 4 1 attributes [Ljava/text/AttributedCharacterIterator$Attribute;
1 4 2 req Ljava/awt/im/InputMethodRequests;
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=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.im.CompositionAreaHandler.getClientInputMethodRequests:()Ljava/awt/im/InputMethodRequests;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface java.awt.im.InputMethodRequests.getSelectedText:([Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/text/AttributedCharacterIterator;
areturn
3: StackMap locals: java.awt.im.InputMethodRequests
StackMap stack:
getstatic sun.awt.im.CompositionAreaHandler.EMPTY_TEXT:Ljava/text/AttributedCharacterIterator;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/im/CompositionAreaHandler;
0 4 1 attributes [Ljava/text/AttributedCharacterIterator$Attribute;
1 4 2 req Ljava/awt/im/InputMethodRequests;
MethodParameters:
Name Flags
attributes
}
SourceFile: "CompositionAreaHandler.java"
InnerClasses:
public Attribute = java.text.AttributedCharacterIterator$Attribute of java.text.AttributedCharacterIterator