class sun.lwawt.macosx.CInputMethod$6 implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.lwawt.macosx.CInputMethod$6
super_class: java.lang.Object
{
final sun.lwawt.macosx.CInputMethod this$0;
descriptor: Lsun/lwawt/macosx/CInputMethod;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final int[] val$rect;
descriptor: [I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final int val$absoluteTextOffset;
descriptor: I
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(sun.lwawt.macosx.CInputMethod, int[], int);
descriptor: (Lsun/lwawt/macosx/CInputMethod;[II)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield sun.lwawt.macosx.CInputMethod$6.this$0:Lsun/lwawt/macosx/CInputMethod;
aload 0
aload 2
putfield sun.lwawt.macosx.CInputMethod$6.val$rect:[I
aload 0
iload 3
putfield sun.lwawt.macosx.CInputMethod$6.val$absoluteTextOffset:I
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CInputMethod$6;
MethodParameters:
Name Flags
this$0 final
val$rect final
val$absoluteTextOffset final
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=1
start local 0 0: aload 0
getfield sun.lwawt.macosx.CInputMethod$6.val$rect:[I
dup
astore 1
monitorenter
1: aload 0
getfield sun.lwawt.macosx.CInputMethod$6.this$0:Lsun/lwawt/macosx/CInputMethod;
getfield sun.lwawt.macosx.CInputMethod.fIMContext:Ljava/awt/im/spi/InputMethodContext;
invokeinterface java.awt.im.spi.InputMethodContext.getInsertPositionOffset:()I
istore 2
start local 2 2: aload 0
getfield sun.lwawt.macosx.CInputMethod$6.val$absoluteTextOffset:I
iload 2
isub
istore 3
start local 3 3: iload 3
ifge 4
iconst_0
istore 3
4: StackMap locals: int[] int int
StackMap stack:
aload 0
getfield sun.lwawt.macosx.CInputMethod$6.this$0:Lsun/lwawt/macosx/CInputMethod;
getfield sun.lwawt.macosx.CInputMethod.fIMContext:Ljava/awt/im/spi/InputMethodContext;
iload 3
invokestatic java.awt.font.TextHitInfo.beforeOffset:(I)Ljava/awt/font/TextHitInfo;
invokeinterface java.awt.im.spi.InputMethodContext.getTextLocation:(Ljava/awt/font/TextHitInfo;)Ljava/awt/Rectangle;
astore 4
start local 4 5: aload 0
getfield sun.lwawt.macosx.CInputMethod$6.val$rect:[I
iconst_0
aload 4
getfield java.awt.Rectangle.x:I
iastore
6: aload 0
getfield sun.lwawt.macosx.CInputMethod$6.val$rect:[I
iconst_1
aload 4
getfield java.awt.Rectangle.y:I
iastore
7: aload 0
getfield sun.lwawt.macosx.CInputMethod$6.val$rect:[I
iconst_2
aload 4
getfield java.awt.Rectangle.width:I
iastore
8: aload 0
getfield sun.lwawt.macosx.CInputMethod$6.val$rect:[I
iconst_3
aload 4
getfield java.awt.Rectangle.height:I
iastore
9: iload 3
ifle 17
aload 0
getfield sun.lwawt.macosx.CInputMethod$6.this$0:Lsun/lwawt/macosx/CInputMethod;
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
instanceof javax.swing.text.JTextComponent
ifeq 17
10: aload 0
getfield sun.lwawt.macosx.CInputMethod$6.this$0:Lsun/lwawt/macosx/CInputMethod;
getfield sun.lwawt.macosx.CInputMethod.fIMContext:Ljava/awt/im/spi/InputMethodContext;
iconst_0
invokestatic java.awt.font.TextHitInfo.beforeOffset:(I)Ljava/awt/font/TextHitInfo;
invokeinterface java.awt.im.spi.InputMethodContext.getTextLocation:(Ljava/awt/font/TextHitInfo;)Ljava/awt/Rectangle;
astore 5
start local 5 11: aload 4
aload 5
invokevirtual java.awt.Rectangle.equals:(Ljava/lang/Object;)Z
ifeq 17
12: aload 0
getfield sun.lwawt.macosx.CInputMethod$6.this$0:Lsun/lwawt/macosx/CInputMethod;
getfield sun.lwawt.macosx.CInputMethod.fCurrentTextAsString:Ljava/lang/String;
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 13: aload 0
getfield sun.lwawt.macosx.CInputMethod$6.this$0:Lsun/lwawt/macosx/CInputMethod;
getfield sun.lwawt.macosx.CInputMethod.fAwtFocussedComponent:Ljava/awt/Component;
invokevirtual java.awt.Component.getGraphics:()Ljava/awt/Graphics;
astore 7
start local 7 14: aload 7
invokevirtual java.awt.Graphics.getFontMetrics:()Ljava/awt/FontMetrics;
aload 6
invokevirtual java.awt.FontMetrics.stringWidth:(Ljava/lang/String;)I
istore 8
start local 8 15: aload 0
getfield sun.lwawt.macosx.CInputMethod$6.val$rect:[I
iconst_0
dup2
iaload
iload 8
iadd
iastore
16: aload 7
invokevirtual java.awt.Graphics.dispose:()V
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 17: StackMap locals:
StackMap stack:
aload 1
monitorexit
18: goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
19: aload 1
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/lwawt/macosx/CInputMethod$6;
2 17 2 insertOffset I
3 17 3 composedTextOffset I
5 17 4 r Ljava/awt/Rectangle;
11 17 5 r2 Ljava/awt/Rectangle;
13 17 6 inProgressSubstring Ljava/lang/String;
14 17 7 g Ljava/awt/Graphics;
15 17 8 xOffset I
Exception table:
from to target type
1 18 19 any
19 20 19 any
}
SourceFile: "CInputMethod.java"
EnclosingMethod: sun.lwawt.macosx.CInputMethod.firstRectForCharacterRange:(I)[I
NestHost: sun.lwawt.macosx.CInputMethod
InnerClasses:
sun.lwawt.macosx.CInputMethod$6