public class javax.swing.text.Utilities
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.Utilities
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // javax.swing.text.Utilities this
0: .line 52
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // javax.swing.text.Utilities this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/Utilities;
static javax.swing.JComponent getJComponent(javax.swing.text.View);
descriptor: (Ljavax/swing/text/View;)Ljavax/swing/JComponent;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 // javax.swing.text.View view
0: .line 58
aload 0 /* view */
ifnull 4
1: .line 59
aload 0 /* view */
invokevirtual javax.swing.text.View.getContainer:()Ljava/awt/Container;
astore 1 /* component */
start local 1 // java.awt.Component component
2: .line 60
aload 1 /* component */
instanceof javax.swing.JComponent
ifeq 4
3: .line 61
aload 1 /* component */
checkcast javax.swing.JComponent
areturn
end local 1 // java.awt.Component component
4: .line 64
StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 // javax.swing.text.View view
LocalVariableTable:
Start End Slot Name Signature
0 5 0 view Ljavax/swing/text/View;
2 4 1 component Ljava/awt/Component;
MethodParameters:
Name Flags
view
public static final int drawTabbedText(javax.swing.text.Segment, int, int, java.awt.Graphics, javax.swing.text.TabExpander, int);
descriptor: (Ljavax/swing/text/Segment;IILjava/awt/Graphics;Ljavax/swing/text/TabExpander;I)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=7, locals=6, args_size=6
start local 0 // javax.swing.text.Segment s
start local 1 // int x
start local 2 // int y
start local 3 // java.awt.Graphics g
start local 4 // javax.swing.text.TabExpander e
start local 5 // int startOffset
0: .line 84
aconst_null
aload 0 /* s */
iload 1 /* x */
iload 2 /* y */
aload 3 /* g */
aload 4 /* e */
iload 5 /* startOffset */
invokestatic javax.swing.text.Utilities.drawTabbedText:(Ljavax/swing/text/View;Ljavax/swing/text/Segment;IILjava/awt/Graphics;Ljavax/swing/text/TabExpander;I)I
ireturn
end local 5 // int startOffset
end local 4 // javax.swing.text.TabExpander e
end local 3 // java.awt.Graphics g
end local 2 // int y
end local 1 // int x
end local 0 // javax.swing.text.Segment s
LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljavax/swing/text/Segment;
0 1 1 x I
0 1 2 y I
0 1 3 g Ljava/awt/Graphics;
0 1 4 e Ljavax/swing/text/TabExpander;
0 1 5 startOffset I
MethodParameters:
Name Flags
s
x
y
g
e
startOffset
static final int drawTabbedText(javax.swing.text.View, javax.swing.text.Segment, int, int, java.awt.Graphics, javax.swing.text.TabExpander, int);
descriptor: (Ljavax/swing/text/View;Ljavax/swing/text/Segment;IILjava/awt/Graphics;Ljavax/swing/text/TabExpander;I)I
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=8, locals=7, args_size=7
start local 0 // javax.swing.text.View view
start local 1 // javax.swing.text.Segment s
start local 2 // int x
start local 3 // int y
start local 4 // java.awt.Graphics g
start local 5 // javax.swing.text.TabExpander e
start local 6 // int startOffset
0: .line 106
aload 0 /* view */
aload 1 /* s */
iload 2 /* x */
iload 3 /* y */
aload 4 /* g */
aload 5 /* e */
iload 6 /* startOffset */
aconst_null
invokestatic javax.swing.text.Utilities.drawTabbedText:(Ljavax/swing/text/View;Ljavax/swing/text/Segment;IILjava/awt/Graphics;Ljavax/swing/text/TabExpander;I[I)I
ireturn
end local 6 // int startOffset
end local 5 // javax.swing.text.TabExpander e
end local 4 // java.awt.Graphics g
end local 3 // int y
end local 2 // int x
end local 1 // javax.swing.text.Segment s
end local 0 // javax.swing.text.View view
LocalVariableTable:
Start End Slot Name Signature
0 1 0 view Ljavax/swing/text/View;
0 1 1 s Ljavax/swing/text/Segment;
0 1 2 x I
0 1 3 y I
0 1 4 g Ljava/awt/Graphics;
0 1 5 e Ljavax/swing/text/TabExpander;
0 1 6 startOffset I
MethodParameters:
Name Flags
view
s
x
y
g
e
startOffset
static final int drawTabbedText(javax.swing.text.View, javax.swing.text.Segment, int, int, java.awt.Graphics, javax.swing.text.TabExpander, int, int[]);
descriptor: (Ljavax/swing/text/View;Ljavax/swing/text/Segment;IILjava/awt/Graphics;Ljavax/swing/text/TabExpander;I[I)I
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=7, locals=21, args_size=8
start local 0 // javax.swing.text.View view
start local 1 // javax.swing.text.Segment s
start local 2 // int x
start local 3 // int y
start local 4 // java.awt.Graphics g
start local 5 // javax.swing.text.TabExpander e
start local 6 // int startOffset
start local 7 // int[] justificationData
0: .line 120
aload 0 /* view */
invokestatic javax.swing.text.Utilities.getJComponent:(Ljavax/swing/text/View;)Ljavax/swing/JComponent;
astore 8 /* component */
start local 8 // javax.swing.JComponent component
1: .line 121
aload 8 /* component */
aload 4 /* g */
invokestatic sun.swing.SwingUtilities2.getFontMetrics:(Ljavax/swing/JComponent;Ljava/awt/Graphics;)Ljava/awt/FontMetrics;
astore 9 /* metrics */
start local 9 // java.awt.FontMetrics metrics
2: .line 122
iload 2 /* x */
istore 10 /* nextX */
start local 10 // int nextX
3: .line 123
aload 1 /* s */
getfield javax.swing.text.Segment.array:[C
astore 11 /* txt */
start local 11 // char[] txt
4: .line 124
aload 1 /* s */
getfield javax.swing.text.Segment.offset:I
istore 12 /* txtOffset */
start local 12 // int txtOffset
5: .line 125
iconst_0
istore 13 /* flushLen */
start local 13 // int flushLen
6: .line 126
aload 1 /* s */
getfield javax.swing.text.Segment.offset:I
istore 14 /* flushIndex */
start local 14 // int flushIndex
7: .line 127
iconst_0
istore 15 /* spaceAddon */
start local 15 // int spaceAddon
8: .line 128
iconst_m1
istore 16 /* spaceAddonLeftoverEnd */
start local 16 // int spaceAddonLeftoverEnd
9: .line 129
iconst_0
istore 17 /* startJustifiableContent */
start local 17 // int startJustifiableContent
10: .line 130
iconst_0
istore 18 /* endJustifiableContent */
start local 18 // int endJustifiableContent
11: .line 131
aload 7 /* justificationData */
ifnull 25
12: .line 132
iload 6 /* startOffset */
ineg
iload 12 /* txtOffset */
iadd
istore 19 /* offset */
start local 19 // int offset
13: .line 133
aconst_null
astore 20 /* parent */
start local 20 // javax.swing.text.View parent
14: .line 134
aload 0 /* view */
ifnull 17
15: .line 135
aload 0 /* view */
invokevirtual javax.swing.text.View.getParent:()Ljavax/swing/text/View;
dup
astore 20 /* parent */
ifnull 17
16: .line 136
iload 19 /* offset */
aload 20 /* parent */
invokevirtual javax.swing.text.View.getStartOffset:()I
iadd
istore 19 /* offset */
17: .line 139
StackMap locals: javax.swing.text.View javax.swing.text.Segment int int java.awt.Graphics javax.swing.text.TabExpander int int[] javax.swing.JComponent java.awt.FontMetrics int char[] int int int int int int int int javax.swing.text.View
StackMap stack:
aload 7 /* justificationData */
iconst_0
iaload
18: .line 138
istore 15 /* spaceAddon */
19: .line 141
aload 7 /* justificationData */
iconst_1
iaload
iload 19 /* offset */
iadd
20: .line 140
istore 16 /* spaceAddonLeftoverEnd */
21: .line 143
aload 7 /* justificationData */
iconst_2
iaload
iload 19 /* offset */
iadd
22: .line 142
istore 17 /* startJustifiableContent */
23: .line 145
aload 7 /* justificationData */
iconst_3
iaload
iload 19 /* offset */
iadd
24: .line 144
istore 18 /* endJustifiableContent */
end local 20 // javax.swing.text.View parent
end local 19 // int offset
25: .line 147
StackMap locals:
StackMap stack:
aload 1 /* s */
getfield javax.swing.text.Segment.offset:I
aload 1 /* s */
getfield javax.swing.text.Segment.count:I
iadd
istore 19 /* n */
start local 19 // int n
26: .line 148
iload 12 /* txtOffset */
istore 20 /* i */
start local 20 // int i
27: goto 62
28: .line 149
StackMap locals: int int
StackMap stack:
aload 11 /* txt */
iload 20 /* i */
caload
bipush 9
if_icmpeq 33
29: .line 150
iload 15 /* spaceAddon */
ifne 30
iload 20 /* i */
iload 16 /* spaceAddonLeftoverEnd */
if_icmpgt 51
30: .line 151
StackMap locals:
StackMap stack:
aload 11 /* txt */
iload 20 /* i */
caload
bipush 32
if_icmpne 51
31: .line 152
iload 17 /* startJustifiableContent */
iload 20 /* i */
if_icmpgt 51
32: .line 153
iload 20 /* i */
iload 18 /* endJustifiableContent */
if_icmpgt 51
33: .line 155
StackMap locals:
StackMap stack:
iload 13 /* flushLen */
ifle 38
34: .line 156
aload 8 /* component */
aload 4 /* g */
aload 11 /* txt */
35: .line 157
iload 14 /* flushIndex */
iload 13 /* flushLen */
iload 2 /* x */
iload 3 /* y */
36: .line 156
invokestatic sun.swing.SwingUtilities2.drawChars:(Ljavax/swing/JComponent;Ljava/awt/Graphics;[CIIII)I
istore 10 /* nextX */
37: .line 158
iconst_0
istore 13 /* flushLen */
38: .line 160
StackMap locals:
StackMap stack:
iload 20 /* i */
iconst_1
iadd
istore 14 /* flushIndex */
39: .line 161
aload 11 /* txt */
iload 20 /* i */
caload
bipush 9
if_icmpne 45
40: .line 162
aload 5 /* e */
ifnull 43
41: .line 163
aload 5 /* e */
iload 10 /* nextX */
i2f
iload 6 /* startOffset */
iload 20 /* i */
iadd
iload 12 /* txtOffset */
isub
invokeinterface javax.swing.text.TabExpander.nextTabStop:(FI)F
f2i
istore 10 /* nextX */
42: .line 164
goto 49
43: .line 165
StackMap locals:
StackMap stack:
iload 10 /* nextX */
aload 9 /* metrics */
bipush 32
invokevirtual java.awt.FontMetrics.charWidth:(C)I
iadd
istore 10 /* nextX */
44: .line 167
goto 49
StackMap locals:
StackMap stack:
45: aload 11 /* txt */
iload 20 /* i */
caload
bipush 32
if_icmpne 49
46: .line 168
iload 10 /* nextX */
aload 9 /* metrics */
bipush 32
invokevirtual java.awt.FontMetrics.charWidth:(C)I
iload 15 /* spaceAddon */
iadd
iadd
istore 10 /* nextX */
47: .line 169
iload 20 /* i */
iload 16 /* spaceAddonLeftoverEnd */
if_icmpgt 49
48: .line 170
iinc 10 /* nextX */ 1
49: .line 173
StackMap locals:
StackMap stack:
iload 10 /* nextX */
istore 2 /* x */
50: .line 174
goto 61
StackMap locals:
StackMap stack:
51: aload 11 /* txt */
iload 20 /* i */
caload
bipush 10
if_icmpeq 52
aload 11 /* txt */
iload 20 /* i */
caload
bipush 13
if_icmpne 60
52: .line 175
StackMap locals:
StackMap stack:
iload 13 /* flushLen */
ifle 57
53: .line 176
aload 8 /* component */
aload 4 /* g */
aload 11 /* txt */
54: .line 177
iload 14 /* flushIndex */
iload 13 /* flushLen */
iload 2 /* x */
iload 3 /* y */
55: .line 176
invokestatic sun.swing.SwingUtilities2.drawChars:(Ljavax/swing/JComponent;Ljava/awt/Graphics;[CIIII)I
istore 10 /* nextX */
56: .line 178
iconst_0
istore 13 /* flushLen */
57: .line 180
StackMap locals:
StackMap stack:
iload 20 /* i */
iconst_1
iadd
istore 14 /* flushIndex */
58: .line 181
iload 10 /* nextX */
istore 2 /* x */
59: .line 182
goto 61
60: .line 183
StackMap locals:
StackMap stack:
iinc 13 /* flushLen */ 1
61: .line 148
StackMap locals:
StackMap stack:
iinc 20 /* i */ 1
StackMap locals:
StackMap stack:
62: iload 20 /* i */
iload 19 /* n */
if_icmplt 28
end local 20 // int i
63: .line 186
iload 13 /* flushLen */
ifle 67
64: .line 187
aload 8 /* component */
aload 4 /* g */
aload 11 /* txt */
iload 14 /* flushIndex */
65: .line 188
iload 13 /* flushLen */
iload 2 /* x */
iload 3 /* y */
66: .line 187
invokestatic sun.swing.SwingUtilities2.drawChars:(Ljavax/swing/JComponent;Ljava/awt/Graphics;[CIIII)I
istore 10 /* nextX */
67: .line 190
StackMap locals:
StackMap stack:
iload 10 /* nextX */
ireturn
end local 19 // int n
end local 18 // int endJustifiableContent
end local 17 // int startJustifiableContent
end local 16 // int spaceAddonLeftoverEnd
end local 15 // int spaceAddon
end local 14 // int flushIndex
end local 13 // int flushLen
end local 12 // int txtOffset
end local 11 // char[] txt
end local 10 // int nextX
end local 9 // java.awt.FontMetrics metrics
end local 8 // javax.swing.JComponent component
end local 7 // int[] justificationData
end local 6 // int startOffset
end local 5 // javax.swing.text.TabExpander e
end local 4 // java.awt.Graphics g
end local 3 // int y
end local 2 // int x
end local 1 // javax.swing.text.Segment s
end local 0 // javax.swing.text.View view
LocalVariableTable:
Start End Slot Name Signature
0 68 0 view Ljavax/swing/text/View;
0 68 1 s Ljavax/swing/text/Segment;
0 68 2 x I
0 68 3 y I
0 68 4 g Ljava/awt/Graphics;
0 68 5 e Ljavax/swing/text/TabExpander;
0 68 6 startOffset I
0 68 7 justificationData [I
1 68 8 component Ljavax/swing/JComponent;
2 68 9 metrics Ljava/awt/FontMetrics;
3 68 10 nextX I
4 68 11 txt [C
5 68 12 txtOffset I
6 68 13 flushLen I
7 68 14 flushIndex I
8 68 15 spaceAddon I
9 68 16 spaceAddonLeftoverEnd I
10 68 17 startJustifiableContent I
11 68 18 endJustifiableContent I
13 25 19 offset I
14 25 20 parent Ljavax/swing/text/View;
26 68 19 n I
27 63 20 i I
MethodParameters:
Name Flags
view
s
x
y
g
e
startOffset
justificationData
public static final int getTabbedTextWidth(javax.swing.text.Segment, java.awt.FontMetrics, int, javax.swing.text.TabExpander, int);
descriptor: (Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;ILjavax/swing/text/TabExpander;I)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=7, locals=5, args_size=5
start local 0 // javax.swing.text.Segment s
start local 1 // java.awt.FontMetrics metrics
start local 2 // int x
start local 3 // javax.swing.text.TabExpander e
start local 4 // int startOffset
0: .line 208
aconst_null
aload 0 /* s */
aload 1 /* metrics */
iload 2 /* x */
aload 3 /* e */
iload 4 /* startOffset */
aconst_null
invokestatic javax.swing.text.Utilities.getTabbedTextWidth:(Ljavax/swing/text/View;Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;ILjavax/swing/text/TabExpander;I[I)I
ireturn
end local 4 // int startOffset
end local 3 // javax.swing.text.TabExpander e
end local 2 // int x
end local 1 // java.awt.FontMetrics metrics
end local 0 // javax.swing.text.Segment s
LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljavax/swing/text/Segment;
0 1 1 metrics Ljava/awt/FontMetrics;
0 1 2 x I
0 1 3 e Ljavax/swing/text/TabExpander;
0 1 4 startOffset I
MethodParameters:
Name Flags
s
metrics
x
e
startOffset
static final int getTabbedTextWidth(javax.swing.text.View, javax.swing.text.Segment, java.awt.FontMetrics, int, javax.swing.text.TabExpander, int, int[]);
descriptor: (Ljavax/swing/text/View;Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;ILjavax/swing/text/TabExpander;I[I)I
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=18, args_size=7
start local 0 // javax.swing.text.View view
start local 1 // javax.swing.text.Segment s
start local 2 // java.awt.FontMetrics metrics
start local 3 // int x
start local 4 // javax.swing.text.TabExpander e
start local 5 // int startOffset
start local 6 // int[] justificationData
0: .line 222
iload 3 /* x */
istore 7 /* nextX */
start local 7 // int nextX
1: .line 223
aload 1 /* s */
getfield javax.swing.text.Segment.array:[C
astore 8 /* txt */
start local 8 // char[] txt
2: .line 224
aload 1 /* s */
getfield javax.swing.text.Segment.offset:I
istore 9 /* txtOffset */
start local 9 // int txtOffset
3: .line 225
aload 1 /* s */
getfield javax.swing.text.Segment.offset:I
aload 1 /* s */
getfield javax.swing.text.Segment.count:I
iadd
istore 10 /* n */
start local 10 // int n
4: .line 226
iconst_0
istore 11 /* charCount */
start local 11 // int charCount
5: .line 227
iconst_0
istore 12 /* spaceAddon */
start local 12 // int spaceAddon
6: .line 228
iconst_m1
istore 13 /* spaceAddonLeftoverEnd */
start local 13 // int spaceAddonLeftoverEnd
7: .line 229
iconst_0
istore 14 /* startJustifiableContent */
start local 14 // int startJustifiableContent
8: .line 230
iconst_0
istore 15 /* endJustifiableContent */
start local 15 // int endJustifiableContent
9: .line 231
aload 6 /* justificationData */
ifnull 23
10: .line 232
iload 5 /* startOffset */
ineg
iload 9 /* txtOffset */
iadd
istore 16 /* offset */
start local 16 // int offset
11: .line 233
aconst_null
astore 17 /* parent */
start local 17 // javax.swing.text.View parent
12: .line 234
aload 0 /* view */
ifnull 15
13: .line 235
aload 0 /* view */
invokevirtual javax.swing.text.View.getParent:()Ljavax/swing/text/View;
dup
astore 17 /* parent */
ifnull 15
14: .line 236
iload 16 /* offset */
aload 17 /* parent */
invokevirtual javax.swing.text.View.getStartOffset:()I
iadd
istore 16 /* offset */
15: .line 239
StackMap locals: javax.swing.text.View javax.swing.text.Segment java.awt.FontMetrics int javax.swing.text.TabExpander int int[] int char[] int int int int int int int int javax.swing.text.View
StackMap stack:
aload 6 /* justificationData */
iconst_0
iaload
16: .line 238
istore 12 /* spaceAddon */
17: .line 241
aload 6 /* justificationData */
iconst_1
iaload
iload 16 /* offset */
iadd
18: .line 240
istore 13 /* spaceAddonLeftoverEnd */
19: .line 243
aload 6 /* justificationData */
iconst_2
iaload
iload 16 /* offset */
iadd
20: .line 242
istore 14 /* startJustifiableContent */
21: .line 245
aload 6 /* justificationData */
iconst_3
iaload
iload 16 /* offset */
iadd
22: .line 244
istore 15 /* endJustifiableContent */
end local 17 // javax.swing.text.View parent
end local 16 // int offset
23: .line 248
StackMap locals:
StackMap stack:
iload 9 /* txtOffset */
istore 16 /* i */
start local 16 // int i
24: goto 51
25: .line 249
StackMap locals: int
StackMap stack:
aload 8 /* txt */
iload 16 /* i */
caload
bipush 9
if_icmpeq 30
26: .line 250
iload 12 /* spaceAddon */
ifne 27
iload 16 /* i */
iload 13 /* spaceAddonLeftoverEnd */
if_icmpgt 45
27: .line 251
StackMap locals:
StackMap stack:
aload 8 /* txt */
iload 16 /* i */
caload
bipush 32
if_icmpne 45
28: .line 252
iload 14 /* startJustifiableContent */
iload 16 /* i */
if_icmpgt 45
29: .line 253
iload 16 /* i */
iload 15 /* endJustifiableContent */
if_icmpgt 45
30: .line 255
StackMap locals:
StackMap stack:
iload 7 /* nextX */
aload 2 /* metrics */
aload 8 /* txt */
iload 16 /* i */
iload 11 /* charCount */
isub
iload 11 /* charCount */
invokevirtual java.awt.FontMetrics.charsWidth:([CII)I
iadd
istore 7 /* nextX */
31: .line 256
iconst_0
istore 11 /* charCount */
32: .line 257
aload 8 /* txt */
iload 16 /* i */
caload
bipush 9
if_icmpne 40
33: .line 258
aload 4 /* e */
ifnull 38
34: .line 259
aload 4 /* e */
iload 7 /* nextX */
i2f
35: .line 260
iload 5 /* startOffset */
iload 16 /* i */
iadd
iload 9 /* txtOffset */
isub
36: .line 259
invokeinterface javax.swing.text.TabExpander.nextTabStop:(FI)F
f2i
istore 7 /* nextX */
37: .line 261
goto 50
38: .line 262
StackMap locals:
StackMap stack:
iload 7 /* nextX */
aload 2 /* metrics */
bipush 32
invokevirtual java.awt.FontMetrics.charWidth:(C)I
iadd
istore 7 /* nextX */
39: .line 264
goto 50
StackMap locals:
StackMap stack:
40: aload 8 /* txt */
iload 16 /* i */
caload
bipush 32
if_icmpne 50
41: .line 265
iload 7 /* nextX */
aload 2 /* metrics */
bipush 32
invokevirtual java.awt.FontMetrics.charWidth:(C)I
iload 12 /* spaceAddon */
iadd
iadd
istore 7 /* nextX */
42: .line 266
iload 16 /* i */
iload 13 /* spaceAddonLeftoverEnd */
if_icmpgt 50
43: .line 267
iinc 7 /* nextX */ 1
44: .line 270
goto 50
StackMap locals:
StackMap stack:
45: aload 8 /* txt */
iload 16 /* i */
caload
bipush 10
if_icmpne 49
46: .line 273
iload 7 /* nextX */
aload 2 /* metrics */
aload 8 /* txt */
iload 16 /* i */
iload 11 /* charCount */
isub
iload 11 /* charCount */
invokevirtual java.awt.FontMetrics.charsWidth:([CII)I
iadd
istore 7 /* nextX */
47: .line 274
iconst_0
istore 11 /* charCount */
48: .line 275
goto 50
49: .line 276
StackMap locals:
StackMap stack:
iinc 11 /* charCount */ 1
50: .line 248
StackMap locals:
StackMap stack:
iinc 16 /* i */ 1
StackMap locals:
StackMap stack:
51: iload 16 /* i */
iload 10 /* n */
if_icmplt 25
end local 16 // int i
52: .line 279
iload 7 /* nextX */
aload 2 /* metrics */
aload 8 /* txt */
iload 10 /* n */
iload 11 /* charCount */
isub
iload 11 /* charCount */
invokevirtual java.awt.FontMetrics.charsWidth:([CII)I
iadd
istore 7 /* nextX */
53: .line 280
iload 7 /* nextX */
iload 3 /* x */
isub
ireturn
end local 15 // int endJustifiableContent
end local 14 // int startJustifiableContent
end local 13 // int spaceAddonLeftoverEnd
end local 12 // int spaceAddon
end local 11 // int charCount
end local 10 // int n
end local 9 // int txtOffset
end local 8 // char[] txt
end local 7 // int nextX
end local 6 // int[] justificationData
end local 5 // int startOffset
end local 4 // javax.swing.text.TabExpander e
end local 3 // int x
end local 2 // java.awt.FontMetrics metrics
end local 1 // javax.swing.text.Segment s
end local 0 // javax.swing.text.View view
LocalVariableTable:
Start End Slot Name Signature
0 54 0 view Ljavax/swing/text/View;
0 54 1 s Ljavax/swing/text/Segment;
0 54 2 metrics Ljava/awt/FontMetrics;
0 54 3 x I
0 54 4 e Ljavax/swing/text/TabExpander;
0 54 5 startOffset I
0 54 6 justificationData [I
1 54 7 nextX I
2 54 8 txt [C
3 54 9 txtOffset I
4 54 10 n I
5 54 11 charCount I
6 54 12 spaceAddon I
7 54 13 spaceAddonLeftoverEnd I
8 54 14 startJustifiableContent I
9 54 15 endJustifiableContent I
11 23 16 offset I
12 23 17 parent Ljavax/swing/text/View;
24 52 16 i I
MethodParameters:
Name Flags
view
s
metrics
x
e
startOffset
justificationData
public static final int getTabbedTextOffset(javax.swing.text.Segment, java.awt.FontMetrics, int, int, javax.swing.text.TabExpander, int);
descriptor: (Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;IILjavax/swing/text/TabExpander;I)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=7, locals=6, args_size=6
start local 0 // javax.swing.text.Segment s
start local 1 // java.awt.FontMetrics metrics
start local 2 // int x0
start local 3 // int x
start local 4 // javax.swing.text.TabExpander e
start local 5 // int startOffset
0: .line 303
aload 0 /* s */
aload 1 /* metrics */
iload 2 /* x0 */
iload 3 /* x */
aload 4 /* e */
iload 5 /* startOffset */
iconst_1
invokestatic javax.swing.text.Utilities.getTabbedTextOffset:(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;IILjavax/swing/text/TabExpander;IZ)I
ireturn
end local 5 // int startOffset
end local 4 // javax.swing.text.TabExpander e
end local 3 // int x
end local 2 // int x0
end local 1 // java.awt.FontMetrics metrics
end local 0 // javax.swing.text.Segment s
LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljavax/swing/text/Segment;
0 1 1 metrics Ljava/awt/FontMetrics;
0 1 2 x0 I
0 1 3 x I
0 1 4 e Ljavax/swing/text/TabExpander;
0 1 5 startOffset I
MethodParameters:
Name Flags
s
metrics
x0
x
e
startOffset
static final int getTabbedTextOffset(javax.swing.text.View, javax.swing.text.Segment, java.awt.FontMetrics, int, int, javax.swing.text.TabExpander, int, int[]);
descriptor: (Ljavax/swing/text/View;Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;IILjavax/swing/text/TabExpander;I[I)I
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=9, locals=8, args_size=8
start local 0 // javax.swing.text.View view
start local 1 // javax.swing.text.Segment s
start local 2 // java.awt.FontMetrics metrics
start local 3 // int x0
start local 4 // int x
start local 5 // javax.swing.text.TabExpander e
start local 6 // int startOffset
start local 7 // int[] justificationData
0: .line 310
aload 0 /* view */
aload 1 /* s */
aload 2 /* metrics */
iload 3 /* x0 */
iload 4 /* x */
aload 5 /* e */
iload 6 /* startOffset */
iconst_1
1: .line 311
aload 7 /* justificationData */
2: .line 310
invokestatic javax.swing.text.Utilities.getTabbedTextOffset:(Ljavax/swing/text/View;Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;IILjavax/swing/text/TabExpander;IZ[I)I
ireturn
end local 7 // int[] justificationData
end local 6 // int startOffset
end local 5 // javax.swing.text.TabExpander e
end local 4 // int x
end local 3 // int x0
end local 2 // java.awt.FontMetrics metrics
end local 1 // javax.swing.text.Segment s
end local 0 // javax.swing.text.View view
LocalVariableTable:
Start End Slot Name Signature
0 3 0 view Ljavax/swing/text/View;
0 3 1 s Ljavax/swing/text/Segment;
0 3 2 metrics Ljava/awt/FontMetrics;
0 3 3 x0 I
0 3 4 x I
0 3 5 e Ljavax/swing/text/TabExpander;
0 3 6 startOffset I
0 3 7 justificationData [I
MethodParameters:
Name Flags
view
s
metrics
x0
x
e
startOffset
justificationData
public static final int getTabbedTextOffset(javax.swing.text.Segment, java.awt.FontMetrics, int, int, javax.swing.text.TabExpander, int, boolean);
descriptor: (Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;IILjavax/swing/text/TabExpander;IZ)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=9, locals=7, args_size=7
start local 0 // javax.swing.text.Segment s
start local 1 // java.awt.FontMetrics metrics
start local 2 // int x0
start local 3 // int x
start local 4 // javax.swing.text.TabExpander e
start local 5 // int startOffset
start local 6 // boolean round
0: .line 319
aconst_null
aload 0 /* s */
aload 1 /* metrics */
iload 2 /* x0 */
iload 3 /* x */
aload 4 /* e */
iload 5 /* startOffset */
iload 6 /* round */
aconst_null
invokestatic javax.swing.text.Utilities.getTabbedTextOffset:(Ljavax/swing/text/View;Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;IILjavax/swing/text/TabExpander;IZ[I)I
ireturn
end local 6 // boolean round
end local 5 // int startOffset
end local 4 // javax.swing.text.TabExpander e
end local 3 // int x
end local 2 // int x0
end local 1 // java.awt.FontMetrics metrics
end local 0 // javax.swing.text.Segment s
LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljavax/swing/text/Segment;
0 1 1 metrics Ljava/awt/FontMetrics;
0 1 2 x0 I
0 1 3 x I
0 1 4 e Ljavax/swing/text/TabExpander;
0 1 5 startOffset I
0 1 6 round Z
MethodParameters:
Name Flags
s
metrics
x0
x
e
startOffset
round
static final int getTabbedTextOffset(javax.swing.text.View, javax.swing.text.Segment, java.awt.FontMetrics, int, int, javax.swing.text.TabExpander, int, boolean, int[]);
descriptor: (Ljavax/swing/text/View;Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;IILjavax/swing/text/TabExpander;IZ[I)I
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=20, args_size=9
start local 0 // javax.swing.text.View view
start local 1 // javax.swing.text.Segment s
start local 2 // java.awt.FontMetrics metrics
start local 3 // int x0
start local 4 // int x
start local 5 // javax.swing.text.TabExpander e
start local 6 // int startOffset
start local 7 // boolean round
start local 8 // int[] justificationData
0: .line 336
iload 3 /* x0 */
iload 4 /* x */
if_icmplt 2
1: .line 338
iconst_0
ireturn
2: .line 340
StackMap locals:
StackMap stack:
iload 3 /* x0 */
istore 9 /* currX */
start local 9 // int currX
3: .line 341
iload 9 /* currX */
istore 10 /* nextX */
start local 10 // int nextX
4: .line 344
aload 1 /* s */
getfield javax.swing.text.Segment.array:[C
astore 11 /* txt */
start local 11 // char[] txt
5: .line 345
aload 1 /* s */
getfield javax.swing.text.Segment.offset:I
istore 12 /* txtOffset */
start local 12 // int txtOffset
6: .line 346
aload 1 /* s */
getfield javax.swing.text.Segment.count:I
istore 13 /* txtCount */
start local 13 // int txtCount
7: .line 347
iconst_0
istore 14 /* spaceAddon */
start local 14 // int spaceAddon
8: .line 348
iconst_m1
istore 15 /* spaceAddonLeftoverEnd */
start local 15 // int spaceAddonLeftoverEnd
9: .line 349
iconst_0
istore 16 /* startJustifiableContent */
start local 16 // int startJustifiableContent
10: .line 350
iconst_0
istore 17 /* endJustifiableContent */
start local 17 // int endJustifiableContent
11: .line 351
aload 8 /* justificationData */
ifnull 25
12: .line 352
iload 6 /* startOffset */
ineg
iload 12 /* txtOffset */
iadd
istore 18 /* offset */
start local 18 // int offset
13: .line 353
aconst_null
astore 19 /* parent */
start local 19 // javax.swing.text.View parent
14: .line 354
aload 0 /* view */
ifnull 17
15: .line 355
aload 0 /* view */
invokevirtual javax.swing.text.View.getParent:()Ljavax/swing/text/View;
dup
astore 19 /* parent */
ifnull 17
16: .line 356
iload 18 /* offset */
aload 19 /* parent */
invokevirtual javax.swing.text.View.getStartOffset:()I
iadd
istore 18 /* offset */
17: .line 359
StackMap locals: javax.swing.text.View javax.swing.text.Segment java.awt.FontMetrics int int javax.swing.text.TabExpander int int int[] int int char[] int int int int int int int javax.swing.text.View
StackMap stack:
aload 8 /* justificationData */
iconst_0
iaload
18: .line 358
istore 14 /* spaceAddon */
19: .line 361
aload 8 /* justificationData */
iconst_1
iaload
iload 18 /* offset */
iadd
20: .line 360
istore 15 /* spaceAddonLeftoverEnd */
21: .line 363
aload 8 /* justificationData */
iconst_2
iaload
iload 18 /* offset */
iadd
22: .line 362
istore 16 /* startJustifiableContent */
23: .line 365
aload 8 /* justificationData */
iconst_3
iaload
iload 18 /* offset */
iadd
24: .line 364
istore 17 /* endJustifiableContent */
end local 19 // javax.swing.text.View parent
end local 18 // int offset
25: .line 367
StackMap locals:
StackMap stack:
aload 1 /* s */
getfield javax.swing.text.Segment.offset:I
aload 1 /* s */
getfield javax.swing.text.Segment.count:I
iadd
istore 18 /* n */
start local 18 // int n
26: .line 368
aload 1 /* s */
getfield javax.swing.text.Segment.offset:I
istore 19 /* i */
start local 19 // int i
27: goto 53
28: .line 369
StackMap locals: int int
StackMap stack:
aload 11 /* txt */
iload 19 /* i */
caload
bipush 9
if_icmpeq 33
29: .line 370
iload 14 /* spaceAddon */
ifne 30
iload 19 /* i */
iload 15 /* spaceAddonLeftoverEnd */
if_icmpgt 46
30: .line 371
StackMap locals:
StackMap stack:
aload 11 /* txt */
iload 19 /* i */
caload
bipush 32
if_icmpne 46
31: .line 372
iload 16 /* startJustifiableContent */
iload 19 /* i */
if_icmpgt 46
32: .line 373
iload 19 /* i */
iload 17 /* endJustifiableContent */
if_icmpgt 46
33: .line 375
StackMap locals:
StackMap stack:
aload 11 /* txt */
iload 19 /* i */
caload
bipush 9
if_icmpne 41
34: .line 376
aload 5 /* e */
ifnull 39
35: .line 377
aload 5 /* e */
iload 10 /* nextX */
i2f
36: .line 378
iload 6 /* startOffset */
iload 19 /* i */
iadd
iload 12 /* txtOffset */
isub
37: .line 377
invokeinterface javax.swing.text.TabExpander.nextTabStop:(FI)F
f2i
istore 10 /* nextX */
38: .line 379
goto 47
39: .line 380
StackMap locals:
StackMap stack:
iload 10 /* nextX */
aload 2 /* metrics */
bipush 32
invokevirtual java.awt.FontMetrics.charWidth:(C)I
iadd
istore 10 /* nextX */
40: .line 382
goto 47
StackMap locals:
StackMap stack:
41: aload 11 /* txt */
iload 19 /* i */
caload
bipush 32
if_icmpne 47
42: .line 383
iload 10 /* nextX */
aload 2 /* metrics */
bipush 32
invokevirtual java.awt.FontMetrics.charWidth:(C)I
iload 14 /* spaceAddon */
iadd
iadd
istore 10 /* nextX */
43: .line 384
iload 19 /* i */
iload 15 /* spaceAddonLeftoverEnd */
if_icmpgt 47
44: .line 385
iinc 10 /* nextX */ 1
45: .line 388
goto 47
46: .line 389
StackMap locals:
StackMap stack:
iload 10 /* nextX */
aload 2 /* metrics */
aload 11 /* txt */
iload 19 /* i */
caload
invokevirtual java.awt.FontMetrics.charWidth:(C)I
iadd
istore 10 /* nextX */
47: .line 391
StackMap locals:
StackMap stack:
iload 4 /* x */
iload 9 /* currX */
if_icmplt 51
iload 4 /* x */
iload 10 /* nextX */
if_icmpge 51
48: .line 393
iload 7 /* round */
ifeq 49
iload 4 /* x */
iload 9 /* currX */
isub
iload 10 /* nextX */
iload 4 /* x */
isub
if_icmpge 50
49: .line 394
StackMap locals:
StackMap stack:
iload 19 /* i */
iload 12 /* txtOffset */
isub
ireturn
50: .line 396
StackMap locals:
StackMap stack:
iload 19 /* i */
iconst_1
iadd
iload 12 /* txtOffset */
isub
ireturn
51: .line 399
StackMap locals:
StackMap stack:
iload 10 /* nextX */
istore 9 /* currX */
52: .line 368
iinc 19 /* i */ 1
StackMap locals:
StackMap stack:
53: iload 19 /* i */
iload 18 /* n */
if_icmplt 28
end local 19 // int i
54: .line 403
iload 13 /* txtCount */
ireturn
end local 18 // int n
end local 17 // int endJustifiableContent
end local 16 // int startJustifiableContent
end local 15 // int spaceAddonLeftoverEnd
end local 14 // int spaceAddon
end local 13 // int txtCount
end local 12 // int txtOffset
end local 11 // char[] txt
end local 10 // int nextX
end local 9 // int currX
end local 8 // int[] justificationData
end local 7 // boolean round
end local 6 // int startOffset
end local 5 // javax.swing.text.TabExpander e
end local 4 // int x
end local 3 // int x0
end local 2 // java.awt.FontMetrics metrics
end local 1 // javax.swing.text.Segment s
end local 0 // javax.swing.text.View view
LocalVariableTable:
Start End Slot Name Signature
0 55 0 view Ljavax/swing/text/View;
0 55 1 s Ljavax/swing/text/Segment;
0 55 2 metrics Ljava/awt/FontMetrics;
0 55 3 x0 I
0 55 4 x I
0 55 5 e Ljavax/swing/text/TabExpander;
0 55 6 startOffset I
0 55 7 round Z
0 55 8 justificationData [I
3 55 9 currX I
4 55 10 nextX I
5 55 11 txt [C
6 55 12 txtOffset I
7 55 13 txtCount I
8 55 14 spaceAddon I
9 55 15 spaceAddonLeftoverEnd I
10 55 16 startJustifiableContent I
11 55 17 endJustifiableContent I
13 25 18 offset I
14 25 19 parent Ljavax/swing/text/View;
26 55 18 n I
27 54 19 i I
MethodParameters:
Name Flags
view
s
metrics
x0
x
e
startOffset
round
justificationData
public static final int getBreakLocation(javax.swing.text.Segment, java.awt.FontMetrics, int, int, javax.swing.text.TabExpander, int);
descriptor: (Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;IILjavax/swing/text/TabExpander;I)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=7, locals=14, args_size=6
start local 0 // javax.swing.text.Segment s
start local 1 // java.awt.FontMetrics metrics
start local 2 // int x0
start local 3 // int x
start local 4 // javax.swing.text.TabExpander e
start local 5 // int startOffset
0: .line 423
aload 0 /* s */
getfield javax.swing.text.Segment.array:[C
astore 6 /* txt */
start local 6 // char[] txt
1: .line 424
aload 0 /* s */
getfield javax.swing.text.Segment.offset:I
istore 7 /* txtOffset */
start local 7 // int txtOffset
2: .line 425
aload 0 /* s */
getfield javax.swing.text.Segment.count:I
istore 8 /* txtCount */
start local 8 // int txtCount
3: .line 426
aload 0 /* s */
aload 1 /* metrics */
iload 2 /* x0 */
iload 3 /* x */
4: .line 427
aload 4 /* e */
iload 5 /* startOffset */
iconst_0
5: .line 426
invokestatic javax.swing.text.Utilities.getTabbedTextOffset:(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;IILjavax/swing/text/TabExpander;IZ)I
istore 9 /* index */
start local 9 // int index
6: .line 430
iload 9 /* index */
iload 8 /* txtCount */
iconst_1
isub
if_icmplt 8
7: .line 431
iload 8 /* txtCount */
ireturn
8: .line 434
StackMap locals: javax.swing.text.Segment java.awt.FontMetrics int int javax.swing.text.TabExpander int char[] int int int
StackMap stack:
iload 7 /* txtOffset */
iload 9 /* index */
iadd
istore 10 /* i */
start local 10 // int i
9: goto 22
10: .line 435
StackMap locals: int
StackMap stack:
aload 6 /* txt */
iload 10 /* i */
caload
istore 11 /* ch */
start local 11 // char ch
11: .line 436
iload 11 /* ch */
sipush 256
if_icmpge 15
12: .line 438
iload 11 /* ch */
invokestatic java.lang.Character.isWhitespace:(C)Z
ifeq 21
13: .line 439
iload 10 /* i */
iload 7 /* txtOffset */
isub
iconst_1
iadd
istore 9 /* index */
14: .line 440
goto 23
15: .line 444
StackMap locals: int
StackMap stack:
invokestatic java.text.BreakIterator.getLineInstance:()Ljava/text/BreakIterator;
astore 12 /* bit */
start local 12 // java.text.BreakIterator bit
16: .line 445
aload 12 /* bit */
aload 0 /* s */
invokevirtual java.text.BreakIterator.setText:(Ljava/text/CharacterIterator;)V
17: .line 446
aload 12 /* bit */
iload 10 /* i */
iconst_1
iadd
invokevirtual java.text.BreakIterator.preceding:(I)I
istore 13 /* breakPos */
start local 13 // int breakPos
18: .line 447
iload 13 /* breakPos */
iload 7 /* txtOffset */
if_icmple 23
19: .line 448
iload 13 /* breakPos */
iload 7 /* txtOffset */
isub
istore 9 /* index */
20: .line 450
goto 23
end local 13 // int breakPos
end local 12 // java.text.BreakIterator bit
end local 11 // char ch
21: .line 434
StackMap locals:
StackMap stack:
iinc 10 /* i */ -1
StackMap locals:
StackMap stack:
22: iload 10 /* i */
iload 7 /* txtOffset */
if_icmpge 10
end local 10 // int i
23: .line 453
StackMap locals:
StackMap stack:
iload 9 /* index */
ireturn
end local 9 // int index
end local 8 // int txtCount
end local 7 // int txtOffset
end local 6 // char[] txt
end local 5 // int startOffset
end local 4 // javax.swing.text.TabExpander e
end local 3 // int x
end local 2 // int x0
end local 1 // java.awt.FontMetrics metrics
end local 0 // javax.swing.text.Segment s
LocalVariableTable:
Start End Slot Name Signature
0 24 0 s Ljavax/swing/text/Segment;
0 24 1 metrics Ljava/awt/FontMetrics;
0 24 2 x0 I
0 24 3 x I
0 24 4 e Ljavax/swing/text/TabExpander;
0 24 5 startOffset I
1 24 6 txt [C
2 24 7 txtOffset I
3 24 8 txtCount I
6 24 9 index I
9 23 10 i I
11 21 11 ch C
16 21 12 bit Ljava/text/BreakIterator;
18 21 13 breakPos I
MethodParameters:
Name Flags
s
metrics
x0
x
e
startOffset
public static final int getRowStart(javax.swing.text.JTextComponent, int);
descriptor: (Ljavax/swing/text/JTextComponent;I)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=5, args_size=2
start local 0 // javax.swing.text.JTextComponent c
start local 1 // int offs
0: .line 469
aload 0 /* c */
iload 1 /* offs */
invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
astore 2 /* r */
start local 2 // java.awt.Rectangle r
1: .line 470
aload 2 /* r */
ifnonnull 3
2: .line 471
iconst_m1
ireturn
3: .line 473
StackMap locals: java.awt.Rectangle
StackMap stack:
iload 1 /* offs */
istore 3 /* lastOffs */
start local 3 // int lastOffs
4: .line 474
aload 2 /* r */
getfield java.awt.Rectangle.y:I
istore 4 /* y */
start local 4 // int y
5: .line 475
goto 12
6: .line 477
StackMap locals: int int
StackMap stack:
aload 2 /* r */
getfield java.awt.Rectangle.height:I
ifeq 8
7: .line 478
iload 3 /* lastOffs */
istore 1 /* offs */
8: .line 480
StackMap locals:
StackMap stack:
iinc 3 /* lastOffs */ -1
9: .line 481
iload 3 /* lastOffs */
iflt 10
aload 0 /* c */
iload 3 /* lastOffs */
invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
goto 11
StackMap locals:
StackMap stack:
10: aconst_null
StackMap locals:
StackMap stack: java.awt.Rectangle
11: astore 2 /* r */
12: .line 475
StackMap locals:
StackMap stack:
aload 2 /* r */
ifnull 13
iload 4 /* y */
aload 2 /* r */
getfield java.awt.Rectangle.y:I
if_icmpeq 6
13: .line 483
StackMap locals:
StackMap stack:
iload 1 /* offs */
ireturn
end local 4 // int y
end local 3 // int lastOffs
end local 2 // java.awt.Rectangle r
end local 1 // int offs
end local 0 // javax.swing.text.JTextComponent c
LocalVariableTable:
Start End Slot Name Signature
0 14 0 c Ljavax/swing/text/JTextComponent;
0 14 1 offs I
1 14 2 r Ljava/awt/Rectangle;
4 14 3 lastOffs I
5 14 4 y I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
c
offs
public static final int getRowEnd(javax.swing.text.JTextComponent, int);
descriptor: (Ljavax/swing/text/JTextComponent;I)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=6, args_size=2
start local 0 // javax.swing.text.JTextComponent c
start local 1 // int offs
0: .line 499
aload 0 /* c */
iload 1 /* offs */
invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
astore 2 /* r */
start local 2 // java.awt.Rectangle r
1: .line 500
aload 2 /* r */
ifnonnull 3
2: .line 501
iconst_m1
ireturn
3: .line 503
StackMap locals: java.awt.Rectangle
StackMap stack:
aload 0 /* c */
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
istore 3 /* n */
start local 3 // int n
4: .line 504
iload 1 /* offs */
istore 4 /* lastOffs */
start local 4 // int lastOffs
5: .line 505
aload 2 /* r */
getfield java.awt.Rectangle.y:I
istore 5 /* y */
start local 5 // int y
6: .line 506
goto 13
7: .line 508
StackMap locals: int int int
StackMap stack:
aload 2 /* r */
getfield java.awt.Rectangle.height:I
ifeq 9
8: .line 509
iload 4 /* lastOffs */
istore 1 /* offs */
9: .line 511
StackMap locals:
StackMap stack:
iinc 4 /* lastOffs */ 1
10: .line 512
iload 4 /* lastOffs */
iload 3 /* n */
if_icmpgt 11
aload 0 /* c */
iload 4 /* lastOffs */
invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
goto 12
StackMap locals:
StackMap stack:
11: aconst_null
StackMap locals:
StackMap stack: java.awt.Rectangle
12: astore 2 /* r */
13: .line 506
StackMap locals:
StackMap stack:
aload 2 /* r */
ifnull 14
iload 5 /* y */
aload 2 /* r */
getfield java.awt.Rectangle.y:I
if_icmpeq 7
14: .line 514
StackMap locals:
StackMap stack:
iload 1 /* offs */
ireturn
end local 5 // int y
end local 4 // int lastOffs
end local 3 // int n
end local 2 // java.awt.Rectangle r
end local 1 // int offs
end local 0 // javax.swing.text.JTextComponent c
LocalVariableTable:
Start End Slot Name Signature
0 15 0 c Ljavax/swing/text/JTextComponent;
0 15 1 offs I
1 15 2 r Ljava/awt/Rectangle;
4 15 3 n I
5 15 4 lastOffs I
6 15 5 y I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
c
offs
public static final int getPositionAbove(javax.swing.text.JTextComponent, int, int);
descriptor: (Ljavax/swing/text/JTextComponent;II)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=8, args_size=3
start local 0 // javax.swing.text.JTextComponent c
start local 1 // int offs
start local 2 // int x
0: .line 531
aload 0 /* c */
iload 1 /* offs */
invokestatic javax.swing.text.Utilities.getRowStart:(Ljavax/swing/text/JTextComponent;I)I
iconst_1
isub
istore 3 /* lastOffs */
start local 3 // int lastOffs
1: .line 532
iload 3 /* lastOffs */
ifge 3
2: .line 533
iconst_m1
ireturn
3: .line 535
StackMap locals: int
StackMap stack:
ldc 2147483647
istore 4 /* bestSpan */
start local 4 // int bestSpan
4: .line 536
iconst_0
istore 5 /* y */
start local 5 // int y
5: .line 537
aconst_null
astore 6 /* r */
start local 6 // java.awt.Rectangle r
6: .line 538
iload 3 /* lastOffs */
iflt 18
7: .line 539
aload 0 /* c */
iload 3 /* lastOffs */
invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
astore 6 /* r */
8: .line 540
aload 6 /* r */
getfield java.awt.Rectangle.y:I
istore 5 /* y */
9: .line 542
goto 18
10: .line 543
StackMap locals: int int java.awt.Rectangle
StackMap stack:
aload 6 /* r */
getfield java.awt.Rectangle.x:I
iload 2 /* x */
isub
invokestatic java.lang.Math.abs:(I)I
istore 7 /* span */
start local 7 // int span
11: .line 544
iload 7 /* span */
iload 4 /* bestSpan */
if_icmpge 14
12: .line 545
iload 3 /* lastOffs */
istore 1 /* offs */
13: .line 546
iload 7 /* span */
istore 4 /* bestSpan */
14: .line 548
StackMap locals: int
StackMap stack:
iinc 3 /* lastOffs */ -1
15: .line 549
iload 3 /* lastOffs */
iflt 16
aload 0 /* c */
iload 3 /* lastOffs */
invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
goto 17
StackMap locals:
StackMap stack:
16: aconst_null
StackMap locals:
StackMap stack: java.awt.Rectangle
17: astore 6 /* r */
end local 7 // int span
18: .line 542
StackMap locals:
StackMap stack:
aload 6 /* r */
ifnull 19
iload 5 /* y */
aload 6 /* r */
getfield java.awt.Rectangle.y:I
if_icmpeq 10
19: .line 551
StackMap locals:
StackMap stack:
iload 1 /* offs */
ireturn
end local 6 // java.awt.Rectangle r
end local 5 // int y
end local 4 // int bestSpan
end local 3 // int lastOffs
end local 2 // int x
end local 1 // int offs
end local 0 // javax.swing.text.JTextComponent c
LocalVariableTable:
Start End Slot Name Signature
0 20 0 c Ljavax/swing/text/JTextComponent;
0 20 1 offs I
0 20 2 x I
1 20 3 lastOffs I
4 20 4 bestSpan I
5 20 5 y I
6 20 6 r Ljava/awt/Rectangle;
11 18 7 span I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
c
offs
x
public static final int getPositionBelow(javax.swing.text.JTextComponent, int, int);
descriptor: (Ljavax/swing/text/JTextComponent;II)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=9, args_size=3
start local 0 // javax.swing.text.JTextComponent c
start local 1 // int offs
start local 2 // int x
0: .line 568
aload 0 /* c */
iload 1 /* offs */
invokestatic javax.swing.text.Utilities.getRowEnd:(Ljavax/swing/text/JTextComponent;I)I
iconst_1
iadd
istore 3 /* lastOffs */
start local 3 // int lastOffs
1: .line 569
iload 3 /* lastOffs */
ifgt 3
2: .line 570
iconst_m1
ireturn
3: .line 572
StackMap locals: int
StackMap stack:
ldc 2147483647
istore 4 /* bestSpan */
start local 4 // int bestSpan
4: .line 573
aload 0 /* c */
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
istore 5 /* n */
start local 5 // int n
5: .line 574
iconst_0
istore 6 /* y */
start local 6 // int y
6: .line 575
aconst_null
astore 7 /* r */
start local 7 // java.awt.Rectangle r
7: .line 576
iload 3 /* lastOffs */
iload 5 /* n */
if_icmpgt 19
8: .line 577
aload 0 /* c */
iload 3 /* lastOffs */
invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
astore 7 /* r */
9: .line 578
aload 7 /* r */
getfield java.awt.Rectangle.y:I
istore 6 /* y */
10: .line 580
goto 19
11: .line 581
StackMap locals: javax.swing.text.JTextComponent int int int int int int java.awt.Rectangle
StackMap stack:
iload 2 /* x */
aload 7 /* r */
getfield java.awt.Rectangle.x:I
isub
invokestatic java.lang.Math.abs:(I)I
istore 8 /* span */
start local 8 // int span
12: .line 582
iload 8 /* span */
iload 4 /* bestSpan */
if_icmpge 15
13: .line 583
iload 3 /* lastOffs */
istore 1 /* offs */
14: .line 584
iload 8 /* span */
istore 4 /* bestSpan */
15: .line 586
StackMap locals: int
StackMap stack:
iinc 3 /* lastOffs */ 1
16: .line 587
iload 3 /* lastOffs */
iload 5 /* n */
if_icmpgt 17
aload 0 /* c */
iload 3 /* lastOffs */
invokevirtual javax.swing.text.JTextComponent.modelToView:(I)Ljava/awt/Rectangle;
goto 18
StackMap locals:
StackMap stack:
17: aconst_null
StackMap locals:
StackMap stack: java.awt.Rectangle
18: astore 7 /* r */
end local 8 // int span
19: .line 580
StackMap locals:
StackMap stack:
aload 7 /* r */
ifnull 20
iload 6 /* y */
aload 7 /* r */
getfield java.awt.Rectangle.y:I
if_icmpeq 11
20: .line 589
StackMap locals:
StackMap stack:
iload 1 /* offs */
ireturn
end local 7 // java.awt.Rectangle r
end local 6 // int y
end local 5 // int n
end local 4 // int bestSpan
end local 3 // int lastOffs
end local 2 // int x
end local 1 // int offs
end local 0 // javax.swing.text.JTextComponent c
LocalVariableTable:
Start End Slot Name Signature
0 21 0 c Ljavax/swing/text/JTextComponent;
0 21 1 offs I
0 21 2 x I
1 21 3 lastOffs I
4 21 4 bestSpan I
5 21 5 n I
6 21 6 y I
7 21 7 r Ljava/awt/Rectangle;
12 19 8 span I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
c
offs
x
public static final int getWordStart(javax.swing.text.JTextComponent, int);
descriptor: (Ljavax/swing/text/JTextComponent;I)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=9, args_size=2
start local 0 // javax.swing.text.JTextComponent c
start local 1 // int offs
0: .line 602
aload 0 /* c */
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 2 /* doc */
start local 2 // javax.swing.text.Document doc
1: .line 603
aload 0 /* c */
iload 1 /* offs */
invokestatic javax.swing.text.Utilities.getParagraphElement:(Ljavax/swing/text/JTextComponent;I)Ljavax/swing/text/Element;
astore 3 /* line */
start local 3 // javax.swing.text.Element line
2: .line 604
aload 3 /* line */
ifnonnull 4
3: .line 605
new javax.swing.text.BadLocationException
dup
new java.lang.StringBuilder
dup
ldc "No word at "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1 /* offs */
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 1 /* offs */
invokespecial javax.swing.text.BadLocationException.<init>:(Ljava/lang/String;I)V
athrow
4: .line 607
StackMap locals: javax.swing.text.Document javax.swing.text.Element
StackMap stack:
aload 3 /* line */
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 4 /* lineStart */
start local 4 // int lineStart
5: .line 608
aload 3 /* line */
invokeinterface javax.swing.text.Element.getEndOffset:()I
aload 2 /* doc */
invokeinterface javax.swing.text.Document.getLength:()I
invokestatic java.lang.Math.min:(II)I
istore 5 /* lineEnd */
start local 5 // int lineEnd
6: .line 610
invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 6 /* seg */
start local 6 // javax.swing.text.Segment seg
7: .line 611
aload 2 /* doc */
iload 4 /* lineStart */
iload 5 /* lineEnd */
iload 4 /* lineStart */
isub
aload 6 /* seg */
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
8: .line 612
aload 6 /* seg */
getfield javax.swing.text.Segment.count:I
ifle 16
9: .line 613
aload 0 /* c */
invokevirtual javax.swing.text.JTextComponent.getLocale:()Ljava/util/Locale;
invokestatic java.text.BreakIterator.getWordInstance:(Ljava/util/Locale;)Ljava/text/BreakIterator;
astore 7 /* words */
start local 7 // java.text.BreakIterator words
10: .line 614
aload 7 /* words */
aload 6 /* seg */
invokevirtual java.text.BreakIterator.setText:(Ljava/text/CharacterIterator;)V
11: .line 615
aload 6 /* seg */
getfield javax.swing.text.Segment.offset:I
iload 1 /* offs */
iadd
iload 4 /* lineStart */
isub
istore 8 /* wordPosition */
start local 8 // int wordPosition
12: .line 616
iload 8 /* wordPosition */
aload 7 /* words */
invokevirtual java.text.BreakIterator.last:()I
if_icmplt 14
13: .line 617
aload 7 /* words */
invokevirtual java.text.BreakIterator.last:()I
iconst_1
isub
istore 8 /* wordPosition */
14: .line 619
StackMap locals: javax.swing.text.JTextComponent int javax.swing.text.Document javax.swing.text.Element int int javax.swing.text.Segment java.text.BreakIterator int
StackMap stack:
aload 7 /* words */
iload 8 /* wordPosition */
invokevirtual java.text.BreakIterator.following:(I)I
pop
15: .line 620
iload 4 /* lineStart */
aload 7 /* words */
invokevirtual java.text.BreakIterator.previous:()I
iadd
aload 6 /* seg */
getfield javax.swing.text.Segment.offset:I
isub
istore 1 /* offs */
end local 8 // int wordPosition
end local 7 // java.text.BreakIterator words
16: .line 622
StackMap locals:
StackMap stack:
aload 6 /* seg */
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
17: .line 623
iload 1 /* offs */
ireturn
end local 6 // javax.swing.text.Segment seg
end local 5 // int lineEnd
end local 4 // int lineStart
end local 3 // javax.swing.text.Element line
end local 2 // javax.swing.text.Document doc
end local 1 // int offs
end local 0 // javax.swing.text.JTextComponent c
LocalVariableTable:
Start End Slot Name Signature
0 18 0 c Ljavax/swing/text/JTextComponent;
0 18 1 offs I
1 18 2 doc Ljavax/swing/text/Document;
2 18 3 line Ljavax/swing/text/Element;
5 18 4 lineStart I
6 18 5 lineEnd I
7 18 6 seg Ljavax/swing/text/Segment;
10 16 7 words Ljava/text/BreakIterator;
12 16 8 wordPosition I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
c
offs
public static final int getWordEnd(javax.swing.text.JTextComponent, int);
descriptor: (Ljavax/swing/text/JTextComponent;I)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=9, args_size=2
start local 0 // javax.swing.text.JTextComponent c
start local 1 // int offs
0: .line 636
aload 0 /* c */
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 2 /* doc */
start local 2 // javax.swing.text.Document doc
1: .line 637
aload 0 /* c */
iload 1 /* offs */
invokestatic javax.swing.text.Utilities.getParagraphElement:(Ljavax/swing/text/JTextComponent;I)Ljavax/swing/text/Element;
astore 3 /* line */
start local 3 // javax.swing.text.Element line
2: .line 638
aload 3 /* line */
ifnonnull 4
3: .line 639
new javax.swing.text.BadLocationException
dup
new java.lang.StringBuilder
dup
ldc "No word at "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1 /* offs */
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 1 /* offs */
invokespecial javax.swing.text.BadLocationException.<init>:(Ljava/lang/String;I)V
athrow
4: .line 641
StackMap locals: javax.swing.text.Document javax.swing.text.Element
StackMap stack:
aload 3 /* line */
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 4 /* lineStart */
start local 4 // int lineStart
5: .line 642
aload 3 /* line */
invokeinterface javax.swing.text.Element.getEndOffset:()I
aload 2 /* doc */
invokeinterface javax.swing.text.Document.getLength:()I
invokestatic java.lang.Math.min:(II)I
istore 5 /* lineEnd */
start local 5 // int lineEnd
6: .line 644
invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 6 /* seg */
start local 6 // javax.swing.text.Segment seg
7: .line 645
aload 2 /* doc */
iload 4 /* lineStart */
iload 5 /* lineEnd */
iload 4 /* lineStart */
isub
aload 6 /* seg */
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
8: .line 646
aload 6 /* seg */
getfield javax.swing.text.Segment.count:I
ifle 15
9: .line 647
aload 0 /* c */
invokevirtual javax.swing.text.JTextComponent.getLocale:()Ljava/util/Locale;
invokestatic java.text.BreakIterator.getWordInstance:(Ljava/util/Locale;)Ljava/text/BreakIterator;
astore 7 /* words */
start local 7 // java.text.BreakIterator words
10: .line 648
aload 7 /* words */
aload 6 /* seg */
invokevirtual java.text.BreakIterator.setText:(Ljava/text/CharacterIterator;)V
11: .line 649
iload 1 /* offs */
iload 4 /* lineStart */
isub
aload 6 /* seg */
getfield javax.swing.text.Segment.offset:I
iadd
istore 8 /* wordPosition */
start local 8 // int wordPosition
12: .line 650
iload 8 /* wordPosition */
aload 7 /* words */
invokevirtual java.text.BreakIterator.last:()I
if_icmplt 14
13: .line 651
aload 7 /* words */
invokevirtual java.text.BreakIterator.last:()I
iconst_1
isub
istore 8 /* wordPosition */
14: .line 653
StackMap locals: javax.swing.text.JTextComponent int javax.swing.text.Document javax.swing.text.Element int int javax.swing.text.Segment java.text.BreakIterator int
StackMap stack:
iload 4 /* lineStart */
aload 7 /* words */
iload 8 /* wordPosition */
invokevirtual java.text.BreakIterator.following:(I)I
iadd
aload 6 /* seg */
getfield javax.swing.text.Segment.offset:I
isub
istore 1 /* offs */
end local 8 // int wordPosition
end local 7 // java.text.BreakIterator words
15: .line 655
StackMap locals:
StackMap stack:
aload 6 /* seg */
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
16: .line 656
iload 1 /* offs */
ireturn
end local 6 // javax.swing.text.Segment seg
end local 5 // int lineEnd
end local 4 // int lineStart
end local 3 // javax.swing.text.Element line
end local 2 // javax.swing.text.Document doc
end local 1 // int offs
end local 0 // javax.swing.text.JTextComponent c
LocalVariableTable:
Start End Slot Name Signature
0 17 0 c Ljavax/swing/text/JTextComponent;
0 17 1 offs I
1 17 2 doc Ljavax/swing/text/Document;
2 17 3 line Ljavax/swing/text/Element;
5 17 4 lineStart I
6 17 5 lineEnd I
7 17 6 seg Ljavax/swing/text/Segment;
10 15 7 words Ljava/text/BreakIterator;
12 15 8 wordPosition I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
c
offs
public static final int getNextWord(javax.swing.text.JTextComponent, int);
descriptor: (Ljavax/swing/text/JTextComponent;I)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=2
start local 0 // javax.swing.text.JTextComponent c
start local 1 // int offs
0: .line 670
aload 0 /* c */
iload 1 /* offs */
invokestatic javax.swing.text.Utilities.getParagraphElement:(Ljavax/swing/text/JTextComponent;I)Ljavax/swing/text/Element;
astore 3 /* line */
start local 3 // javax.swing.text.Element line
1: .line 671
aload 0 /* c */
aload 3 /* line */
iload 1 /* offs */
iconst_0
invokestatic javax.swing.text.Utilities.getNextWordInParagraph:(Ljavax/swing/text/JTextComponent;Ljavax/swing/text/Element;IZ)I
istore 2 /* nextWord */
start local 2 // int nextWord
2: .line 672
goto 6
3: .line 676
StackMap locals: int javax.swing.text.Element
StackMap stack:
aload 3 /* line */
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 1 /* offs */
4: .line 677
aload 0 /* c */
iload 1 /* offs */
invokestatic javax.swing.text.Utilities.getParagraphElement:(Ljavax/swing/text/JTextComponent;I)Ljavax/swing/text/Element;
astore 3 /* line */
5: .line 673
aload 0 /* c */
aload 3 /* line */
iload 1 /* offs */
iconst_1
invokestatic javax.swing.text.Utilities.getNextWordInParagraph:(Ljavax/swing/text/JTextComponent;Ljavax/swing/text/Element;IZ)I
istore 2 /* nextWord */
6: .line 672
StackMap locals:
StackMap stack:
iload 2 /* nextWord */
iconst_m1
if_icmpeq 3
7: .line 679
iload 2 /* nextWord */
ireturn
end local 3 // javax.swing.text.Element line
end local 2 // int nextWord
end local 1 // int offs
end local 0 // javax.swing.text.JTextComponent c
LocalVariableTable:
Start End Slot Name Signature
0 8 0 c Ljavax/swing/text/JTextComponent;
0 8 1 offs I
2 8 2 nextWord I
1 8 3 line Ljavax/swing/text/Element;
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
c
offs
static int getNextWordInParagraph(javax.swing.text.JTextComponent, javax.swing.text.Element, int, boolean);
descriptor: (Ljavax/swing/text/JTextComponent;Ljavax/swing/text/Element;IZ)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=11, args_size=4
start local 0 // javax.swing.text.JTextComponent c
start local 1 // javax.swing.text.Element line
start local 2 // int offs
start local 3 // boolean first
0: .line 690
aload 1 /* line */
ifnonnull 2
1: .line 691
new javax.swing.text.BadLocationException
dup
ldc "No more words"
iload 2 /* offs */
invokespecial javax.swing.text.BadLocationException.<init>:(Ljava/lang/String;I)V
athrow
2: .line 693
StackMap locals:
StackMap stack:
aload 1 /* line */
invokeinterface javax.swing.text.Element.getDocument:()Ljavax/swing/text/Document;
astore 4 /* doc */
start local 4 // javax.swing.text.Document doc
3: .line 694
aload 1 /* line */
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 5 /* lineStart */
start local 5 // int lineStart
4: .line 695
aload 1 /* line */
invokeinterface javax.swing.text.Element.getEndOffset:()I
aload 4 /* doc */
invokeinterface javax.swing.text.Document.getLength:()I
invokestatic java.lang.Math.min:(II)I
istore 6 /* lineEnd */
start local 6 // int lineEnd
5: .line 696
iload 2 /* offs */
iload 6 /* lineEnd */
if_icmpge 6
iload 2 /* offs */
iload 5 /* lineStart */
if_icmpge 7
6: .line 697
StackMap locals: javax.swing.text.Document int int
StackMap stack:
new javax.swing.text.BadLocationException
dup
ldc "No more words"
iload 2 /* offs */
invokespecial javax.swing.text.BadLocationException.<init>:(Ljava/lang/String;I)V
athrow
7: .line 699
StackMap locals:
StackMap stack:
invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 7 /* seg */
start local 7 // javax.swing.text.Segment seg
8: .line 700
aload 4 /* doc */
iload 5 /* lineStart */
iload 6 /* lineEnd */
iload 5 /* lineStart */
isub
aload 7 /* seg */
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
9: .line 701
aload 0 /* c */
invokevirtual javax.swing.text.JTextComponent.getLocale:()Ljava/util/Locale;
invokestatic java.text.BreakIterator.getWordInstance:(Ljava/util/Locale;)Ljava/text/BreakIterator;
astore 8 /* words */
start local 8 // java.text.BreakIterator words
10: .line 702
aload 8 /* words */
aload 7 /* seg */
invokevirtual java.text.BreakIterator.setText:(Ljava/text/CharacterIterator;)V
11: .line 703
iload 3 /* first */
ifeq 14
aload 8 /* words */
invokevirtual java.text.BreakIterator.first:()I
aload 7 /* seg */
getfield javax.swing.text.Segment.offset:I
iload 2 /* offs */
iadd
iload 5 /* lineStart */
isub
if_icmpne 14
12: .line 704
aload 7 /* seg */
getfield javax.swing.text.Segment.array:[C
aload 8 /* words */
invokevirtual java.text.BreakIterator.first:()I
caload
invokestatic java.lang.Character.isWhitespace:(C)Z
ifne 14
13: .line 706
iload 2 /* offs */
ireturn
14: .line 708
StackMap locals: javax.swing.text.Segment java.text.BreakIterator
StackMap stack:
aload 8 /* words */
aload 7 /* seg */
getfield javax.swing.text.Segment.offset:I
iload 2 /* offs */
iadd
iload 5 /* lineStart */
isub
invokevirtual java.text.BreakIterator.following:(I)I
istore 9 /* wordPosition */
start local 9 // int wordPosition
15: .line 709
iload 9 /* wordPosition */
iconst_m1
if_icmpeq 17
16: .line 710
iload 9 /* wordPosition */
aload 7 /* seg */
getfield javax.swing.text.Segment.offset:I
aload 7 /* seg */
getfield javax.swing.text.Segment.count:I
iadd
if_icmplt 18
17: .line 712
StackMap locals: int
StackMap stack:
iconst_m1
ireturn
18: .line 717
StackMap locals:
StackMap stack:
aload 7 /* seg */
getfield javax.swing.text.Segment.array:[C
iload 9 /* wordPosition */
caload
istore 10 /* ch */
start local 10 // char ch
19: .line 718
iload 10 /* ch */
invokestatic java.lang.Character.isWhitespace:(C)Z
ifne 21
20: .line 719
iload 5 /* lineStart */
iload 9 /* wordPosition */
iadd
aload 7 /* seg */
getfield javax.swing.text.Segment.offset:I
isub
ireturn
21: .line 725
StackMap locals: int
StackMap stack:
aload 8 /* words */
invokevirtual java.text.BreakIterator.next:()I
istore 9 /* wordPosition */
22: .line 726
iload 9 /* wordPosition */
iconst_m1
if_icmpeq 26
23: .line 727
iload 5 /* lineStart */
iload 9 /* wordPosition */
iadd
aload 7 /* seg */
getfield javax.swing.text.Segment.offset:I
isub
istore 2 /* offs */
24: .line 728
iload 2 /* offs */
iload 6 /* lineEnd */
if_icmpeq 26
25: .line 729
iload 2 /* offs */
ireturn
26: .line 732
StackMap locals:
StackMap stack:
aload 7 /* seg */
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
27: .line 733
iconst_m1
ireturn
end local 10 // char ch
end local 9 // int wordPosition
end local 8 // java.text.BreakIterator words
end local 7 // javax.swing.text.Segment seg
end local 6 // int lineEnd
end local 5 // int lineStart
end local 4 // javax.swing.text.Document doc
end local 3 // boolean first
end local 2 // int offs
end local 1 // javax.swing.text.Element line
end local 0 // javax.swing.text.JTextComponent c
LocalVariableTable:
Start End Slot Name Signature
0 28 0 c Ljavax/swing/text/JTextComponent;
0 28 1 line Ljavax/swing/text/Element;
0 28 2 offs I
0 28 3 first Z
3 28 4 doc Ljavax/swing/text/Document;
4 28 5 lineStart I
5 28 6 lineEnd I
8 28 7 seg Ljavax/swing/text/Segment;
10 28 8 words Ljava/text/BreakIterator;
15 28 9 wordPosition I
19 28 10 ch C
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
c
line
offs
first
public static final int getPreviousWord(javax.swing.text.JTextComponent, int);
descriptor: (Ljavax/swing/text/JTextComponent;I)I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=2
start local 0 // javax.swing.text.JTextComponent c
start local 1 // int offs
0: .line 748
aload 0 /* c */
iload 1 /* offs */
invokestatic javax.swing.text.Utilities.getParagraphElement:(Ljavax/swing/text/JTextComponent;I)Ljavax/swing/text/Element;
astore 3 /* line */
start local 3 // javax.swing.text.Element line
1: .line 749
aload 0 /* c */
aload 3 /* line */
iload 1 /* offs */
invokestatic javax.swing.text.Utilities.getPrevWordInParagraph:(Ljavax/swing/text/JTextComponent;Ljavax/swing/text/Element;I)I
istore 2 /* prevWord */
start local 2 // int prevWord
2: .line 750
goto 6
3: .line 754
StackMap locals: int javax.swing.text.Element
StackMap stack:
aload 3 /* line */
invokeinterface javax.swing.text.Element.getStartOffset:()I
iconst_1
isub
istore 1 /* offs */
4: .line 755
aload 0 /* c */
iload 1 /* offs */
invokestatic javax.swing.text.Utilities.getParagraphElement:(Ljavax/swing/text/JTextComponent;I)Ljavax/swing/text/Element;
astore 3 /* line */
5: .line 751
aload 0 /* c */
aload 3 /* line */
iload 1 /* offs */
invokestatic javax.swing.text.Utilities.getPrevWordInParagraph:(Ljavax/swing/text/JTextComponent;Ljavax/swing/text/Element;I)I
istore 2 /* prevWord */
6: .line 750
StackMap locals:
StackMap stack:
iload 2 /* prevWord */
iconst_m1
if_icmpeq 3
7: .line 757
iload 2 /* prevWord */
ireturn
end local 3 // javax.swing.text.Element line
end local 2 // int prevWord
end local 1 // int offs
end local 0 // javax.swing.text.JTextComponent c
LocalVariableTable:
Start End Slot Name Signature
0 8 0 c Ljavax/swing/text/JTextComponent;
0 8 1 offs I
2 8 2 prevWord I
1 8 3 line Ljavax/swing/text/Element;
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
c
offs
static int getPrevWordInParagraph(javax.swing.text.JTextComponent, javax.swing.text.Element, int);
descriptor: (Ljavax/swing/text/JTextComponent;Ljavax/swing/text/Element;I)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=10, args_size=3
start local 0 // javax.swing.text.JTextComponent c
start local 1 // javax.swing.text.Element line
start local 2 // int offs
0: .line 768
aload 1 /* line */
ifnonnull 2
1: .line 769
new javax.swing.text.BadLocationException
dup
ldc "No more words"
iload 2 /* offs */
invokespecial javax.swing.text.BadLocationException.<init>:(Ljava/lang/String;I)V
athrow
2: .line 771
StackMap locals:
StackMap stack:
aload 1 /* line */
invokeinterface javax.swing.text.Element.getDocument:()Ljavax/swing/text/Document;
astore 3 /* doc */
start local 3 // javax.swing.text.Document doc
3: .line 772
aload 1 /* line */
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 4 /* lineStart */
start local 4 // int lineStart
4: .line 773
aload 1 /* line */
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 5 /* lineEnd */
start local 5 // int lineEnd
5: .line 774
iload 2 /* offs */
iload 5 /* lineEnd */
if_icmpgt 6
iload 2 /* offs */
iload 4 /* lineStart */
if_icmpge 7
6: .line 775
StackMap locals: javax.swing.text.Document int int
StackMap stack:
new javax.swing.text.BadLocationException
dup
ldc "No more words"
iload 2 /* offs */
invokespecial javax.swing.text.BadLocationException.<init>:(Ljava/lang/String;I)V
athrow
7: .line 777
StackMap locals:
StackMap stack:
invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 6 /* seg */
start local 6 // javax.swing.text.Segment seg
8: .line 778
aload 3 /* doc */
iload 4 /* lineStart */
iload 5 /* lineEnd */
iload 4 /* lineStart */
isub
aload 6 /* seg */
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
9: .line 779
aload 0 /* c */
invokevirtual javax.swing.text.JTextComponent.getLocale:()Ljava/util/Locale;
invokestatic java.text.BreakIterator.getWordInstance:(Ljava/util/Locale;)Ljava/text/BreakIterator;
astore 7 /* words */
start local 7 // java.text.BreakIterator words
10: .line 780
aload 7 /* words */
aload 6 /* seg */
invokevirtual java.text.BreakIterator.setText:(Ljava/text/CharacterIterator;)V
11: .line 781
aload 7 /* words */
aload 6 /* seg */
getfield javax.swing.text.Segment.offset:I
iload 2 /* offs */
iadd
iload 4 /* lineStart */
isub
invokevirtual java.text.BreakIterator.following:(I)I
iconst_m1
if_icmpne 13
12: .line 782
aload 7 /* words */
invokevirtual java.text.BreakIterator.last:()I
pop
13: .line 784
StackMap locals: javax.swing.text.Segment java.text.BreakIterator
StackMap stack:
aload 7 /* words */
invokevirtual java.text.BreakIterator.previous:()I
istore 8 /* wordPosition */
start local 8 // int wordPosition
14: .line 785
iload 8 /* wordPosition */
aload 6 /* seg */
getfield javax.swing.text.Segment.offset:I
iload 2 /* offs */
iadd
iload 4 /* lineStart */
isub
if_icmpne 16
15: .line 786
aload 7 /* words */
invokevirtual java.text.BreakIterator.previous:()I
istore 8 /* wordPosition */
16: .line 789
StackMap locals: int
StackMap stack:
iload 8 /* wordPosition */
iconst_m1
if_icmpne 18
17: .line 791
iconst_m1
ireturn
18: .line 796
StackMap locals:
StackMap stack:
aload 6 /* seg */
getfield javax.swing.text.Segment.array:[C
iload 8 /* wordPosition */
caload
istore 9 /* ch */
start local 9 // char ch
19: .line 797
iload 9 /* ch */
invokestatic java.lang.Character.isWhitespace:(C)Z
ifne 21
20: .line 798
iload 4 /* lineStart */
iload 8 /* wordPosition */
iadd
aload 6 /* seg */
getfield javax.swing.text.Segment.offset:I
isub
ireturn
21: .line 804
StackMap locals: int
StackMap stack:
aload 7 /* words */
invokevirtual java.text.BreakIterator.previous:()I
istore 8 /* wordPosition */
22: .line 805
iload 8 /* wordPosition */
iconst_m1
if_icmpeq 24
23: .line 806
iload 4 /* lineStart */
iload 8 /* wordPosition */
iadd
aload 6 /* seg */
getfield javax.swing.text.Segment.offset:I
isub
ireturn
24: .line 808
StackMap locals:
StackMap stack:
aload 6 /* seg */
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
25: .line 809
iconst_m1
ireturn
end local 9 // char ch
end local 8 // int wordPosition
end local 7 // java.text.BreakIterator words
end local 6 // javax.swing.text.Segment seg
end local 5 // int lineEnd
end local 4 // int lineStart
end local 3 // javax.swing.text.Document doc
end local 2 // int offs
end local 1 // javax.swing.text.Element line
end local 0 // javax.swing.text.JTextComponent c
LocalVariableTable:
Start End Slot Name Signature
0 26 0 c Ljavax/swing/text/JTextComponent;
0 26 1 line Ljavax/swing/text/Element;
0 26 2 offs I
3 26 3 doc Ljavax/swing/text/Document;
4 26 4 lineStart I
5 26 5 lineEnd I
8 26 6 seg Ljavax/swing/text/Segment;
10 26 7 words Ljava/text/BreakIterator;
14 26 8 wordPosition I
19 26 9 ch C
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
c
line
offs
public static final javax.swing.text.Element getParagraphElement(javax.swing.text.JTextComponent, int);
descriptor: (Ljavax/swing/text/JTextComponent;I)Ljavax/swing/text/Element;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=6, args_size=2
start local 0 // javax.swing.text.JTextComponent c
start local 1 // int offs
0: .line 820
aload 0 /* c */
invokevirtual javax.swing.text.JTextComponent.getDocument:()Ljavax/swing/text/Document;
astore 2 /* doc */
start local 2 // javax.swing.text.Document doc
1: .line 821
aload 2 /* doc */
instanceof javax.swing.text.StyledDocument
ifeq 3
2: .line 822
aload 2 /* doc */
checkcast javax.swing.text.StyledDocument
iload 1 /* offs */
invokeinterface javax.swing.text.StyledDocument.getParagraphElement:(I)Ljavax/swing/text/Element;
areturn
3: .line 824
StackMap locals: javax.swing.text.Document
StackMap stack:
aload 2 /* doc */
invokeinterface javax.swing.text.Document.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 3 /* map */
start local 3 // javax.swing.text.Element map
4: .line 825
aload 3 /* map */
iload 1 /* offs */
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
istore 4 /* index */
start local 4 // int index
5: .line 826
aload 3 /* map */
iload 4 /* index */
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 5 /* paragraph */
start local 5 // javax.swing.text.Element paragraph
6: .line 827
iload 1 /* offs */
aload 5 /* paragraph */
invokeinterface javax.swing.text.Element.getStartOffset:()I
if_icmplt 8
iload 1 /* offs */
aload 5 /* paragraph */
invokeinterface javax.swing.text.Element.getEndOffset:()I
if_icmpge 8
7: .line 828
aload 5 /* paragraph */
areturn
8: .line 830
StackMap locals: javax.swing.text.Element int javax.swing.text.Element
StackMap stack:
aconst_null
areturn
end local 5 // javax.swing.text.Element paragraph
end local 4 // int index
end local 3 // javax.swing.text.Element map
end local 2 // javax.swing.text.Document doc
end local 1 // int offs
end local 0 // javax.swing.text.JTextComponent c
LocalVariableTable:
Start End Slot Name Signature
0 9 0 c Ljavax/swing/text/JTextComponent;
0 9 1 offs I
1 9 2 doc Ljavax/swing/text/Document;
4 9 3 map Ljavax/swing/text/Element;
5 9 4 index I
6 9 5 paragraph Ljavax/swing/text/Element;
MethodParameters:
Name Flags
c
offs
static boolean isComposedTextElement(javax.swing.text.Document, int);
descriptor: (Ljavax/swing/text/Document;I)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 // javax.swing.text.Document doc
start local 1 // int offset
0: .line 834
aload 0 /* doc */
invokeinterface javax.swing.text.Document.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 2 /* elem */
start local 2 // javax.swing.text.Element elem
1: .line 835
goto 3
2: .line 836
StackMap locals: javax.swing.text.Element
StackMap stack:
aload 2 /* elem */
aload 2 /* elem */
iload 1 /* offset */
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 2 /* elem */
3: .line 835
StackMap locals:
StackMap stack:
aload 2 /* elem */
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifeq 2
4: .line 838
aload 2 /* elem */
invokestatic javax.swing.text.Utilities.isComposedTextElement:(Ljavax/swing/text/Element;)Z
ireturn
end local 2 // javax.swing.text.Element elem
end local 1 // int offset
end local 0 // javax.swing.text.Document doc
LocalVariableTable:
Start End Slot Name Signature
0 5 0 doc Ljavax/swing/text/Document;
0 5 1 offset I
1 5 2 elem Ljavax/swing/text/Element;
MethodParameters:
Name Flags
doc
offset
static boolean isComposedTextElement(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 // javax.swing.text.Element elem
0: .line 842
aload 0 /* elem */
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 1 /* as */
start local 1 // javax.swing.text.AttributeSet as
1: .line 843
aload 1 /* as */
invokestatic javax.swing.text.Utilities.isComposedTextAttributeDefined:(Ljavax/swing/text/AttributeSet;)Z
ireturn
end local 1 // javax.swing.text.AttributeSet as
end local 0 // javax.swing.text.Element elem
LocalVariableTable:
Start End Slot Name Signature
0 2 0 elem Ljavax/swing/text/Element;
1 2 1 as Ljavax/swing/text/AttributeSet;
MethodParameters:
Name Flags
elem
static boolean isComposedTextAttributeDefined(javax.swing.text.AttributeSet);
descriptor: (Ljavax/swing/text/AttributeSet;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 // javax.swing.text.AttributeSet as
0: .line 847
aload 0 /* as */
ifnull 3
1: .line 848
aload 0 /* as */
getstatic javax.swing.text.StyleConstants.ComposedTextAttribute:Ljava/lang/Object;
invokeinterface javax.swing.text.AttributeSet.isDefined:(Ljava/lang/Object;)Z
ifeq 3
2: .line 847
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 // javax.swing.text.AttributeSet as
LocalVariableTable:
Start End Slot Name Signature
0 4 0 as Ljavax/swing/text/AttributeSet;
MethodParameters:
Name Flags
as
static int drawComposedText(javax.swing.text.View, javax.swing.text.AttributeSet, java.awt.Graphics, int, int, int, int);
descriptor: (Ljavax/swing/text/View;Ljavax/swing/text/AttributeSet;Ljava/awt/Graphics;IIII)I
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=10, args_size=7
start local 0 // javax.swing.text.View view
start local 1 // javax.swing.text.AttributeSet attr
start local 2 // java.awt.Graphics g
start local 3 // int x
start local 4 // int y
start local 5 // int p0
start local 6 // int p1
0: .line 866
aload 2 /* g */
checkcast java.awt.Graphics2D
astore 7 /* g2d */
start local 7 // java.awt.Graphics2D g2d
1: .line 867
aload 1 /* attr */
2: .line 868
getstatic javax.swing.text.StyleConstants.ComposedTextAttribute:Ljava/lang/Object;
3: .line 867
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.text.AttributedString
astore 8 /* as */
start local 8 // java.text.AttributedString as
4: .line 869
aload 8 /* as */
getstatic java.awt.font.TextAttribute.FONT:Ljava/awt/font/TextAttribute;
aload 2 /* g */
invokevirtual java.awt.Graphics.getFont:()Ljava/awt/Font;
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;)V
5: .line 871
iload 5 /* p0 */
iload 6 /* p1 */
if_icmplt 7
6: .line 872
iload 3 /* x */
ireturn
7: .line 874
StackMap locals: java.awt.Graphics2D java.text.AttributedString
StackMap stack:
aload 8 /* as */
aconst_null
iload 5 /* p0 */
iload 6 /* p1 */
invokevirtual java.text.AttributedString.getIterator:([Ljava/text/AttributedCharacterIterator$Attribute;II)Ljava/text/AttributedCharacterIterator;
astore 9 /* aci */
start local 9 // java.text.AttributedCharacterIterator aci
8: .line 875
iload 3 /* x */
9: .line 876
aload 0 /* view */
invokestatic javax.swing.text.Utilities.getJComponent:(Ljavax/swing/text/View;)Ljavax/swing/JComponent;
aload 7 /* g2d */
aload 9 /* aci */
iload 3 /* x */
iload 4 /* y */
10: .line 875
invokestatic sun.swing.SwingUtilities2.drawString:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/text/AttributedCharacterIterator;II)F
f2i
iadd
ireturn
end local 9 // java.text.AttributedCharacterIterator aci
end local 8 // java.text.AttributedString as
end local 7 // java.awt.Graphics2D g2d
end local 6 // int p1
end local 5 // int p0
end local 4 // int y
end local 3 // int x
end local 2 // java.awt.Graphics g
end local 1 // javax.swing.text.AttributeSet attr
end local 0 // javax.swing.text.View view
LocalVariableTable:
Start End Slot Name Signature
0 11 0 view Ljavax/swing/text/View;
0 11 1 attr Ljavax/swing/text/AttributeSet;
0 11 2 g Ljava/awt/Graphics;
0 11 3 x I
0 11 4 y I
0 11 5 p0 I
0 11 6 p1 I
1 11 7 g2d Ljava/awt/Graphics2D;
4 11 8 as Ljava/text/AttributedString;
8 11 9 aci Ljava/text/AttributedCharacterIterator;
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
view
attr
g
x
y
p0
p1
static void paintComposedText(java.awt.Graphics, java.awt.Rectangle, javax.swing.text.GlyphView);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Rectangle;Ljavax/swing/text/GlyphView;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=12, args_size=3
start local 0 // java.awt.Graphics g
start local 1 // java.awt.Rectangle alloc
start local 2 // javax.swing.text.GlyphView v
0: .line 883
aload 0 /* g */
instanceof java.awt.Graphics2D
ifeq 28
1: .line 884
aload 0 /* g */
checkcast java.awt.Graphics2D
astore 3 /* g2d */
start local 3 // java.awt.Graphics2D g2d
2: .line 885
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView.getStartOffset:()I
istore 4 /* p0 */
start local 4 // int p0
3: .line 886
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView.getEndOffset:()I
istore 5 /* p1 */
start local 5 // int p1
4: .line 887
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView.getElement:()Ljavax/swing/text/Element;
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 6 /* attrSet */
start local 6 // javax.swing.text.AttributeSet attrSet
5: .line 889
aload 6 /* attrSet */
getstatic javax.swing.text.StyleConstants.ComposedTextAttribute:Ljava/lang/Object;
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.text.AttributedString
6: .line 888
astore 7 /* as */
start local 7 // java.text.AttributedString as
7: .line 890
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView.getElement:()Ljavax/swing/text/Element;
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 8 /* start */
start local 8 // int start
8: .line 891
aload 1 /* alloc */
getfield java.awt.Rectangle.y:I
aload 1 /* alloc */
getfield java.awt.Rectangle.height:I
iadd
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView.getGlyphPainter:()Ljavax/swing/text/GlyphView$GlyphPainter;
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView$GlyphPainter.getDescent:(Ljavax/swing/text/GlyphView;)F
f2i
isub
istore 9 /* y */
start local 9 // int y
9: .line 892
aload 1 /* alloc */
getfield java.awt.Rectangle.x:I
istore 10 /* x */
start local 10 // int x
10: .line 895
aload 7 /* as */
getstatic java.awt.font.TextAttribute.FONT:Ljava/awt/font/TextAttribute;
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView.getFont:()Ljava/awt/Font;
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;)V
11: .line 896
aload 7 /* as */
getstatic java.awt.font.TextAttribute.FOREGROUND:Ljava/awt/font/TextAttribute;
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView.getForeground:()Ljava/awt/Color;
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;)V
12: .line 897
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView.getAttributes:()Ljavax/swing/text/AttributeSet;
invokestatic javax.swing.text.StyleConstants.isBold:(Ljavax/swing/text/AttributeSet;)Z
ifeq 14
13: .line 898
aload 7 /* as */
getstatic java.awt.font.TextAttribute.WEIGHT:Ljava/awt/font/TextAttribute;
getstatic java.awt.font.TextAttribute.WEIGHT_BOLD:Ljava/lang/Float;
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;)V
14: .line 900
StackMap locals: java.awt.Graphics java.awt.Rectangle javax.swing.text.GlyphView java.awt.Graphics2D int int javax.swing.text.AttributeSet java.text.AttributedString int int int
StackMap stack:
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView.getAttributes:()Ljavax/swing/text/AttributeSet;
invokestatic javax.swing.text.StyleConstants.isItalic:(Ljavax/swing/text/AttributeSet;)Z
ifeq 16
15: .line 901
aload 7 /* as */
getstatic java.awt.font.TextAttribute.POSTURE:Ljava/awt/font/TextAttribute;
getstatic java.awt.font.TextAttribute.POSTURE_OBLIQUE:Ljava/lang/Float;
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;)V
16: .line 903
StackMap locals:
StackMap stack:
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView.isUnderline:()Z
ifeq 18
17: .line 904
aload 7 /* as */
getstatic java.awt.font.TextAttribute.UNDERLINE:Ljava/awt/font/TextAttribute;
getstatic java.awt.font.TextAttribute.UNDERLINE_ON:Ljava/lang/Integer;
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;)V
18: .line 906
StackMap locals:
StackMap stack:
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView.isStrikeThrough:()Z
ifeq 20
19: .line 907
aload 7 /* as */
getstatic java.awt.font.TextAttribute.STRIKETHROUGH:Ljava/awt/font/TextAttribute;
getstatic java.awt.font.TextAttribute.STRIKETHROUGH_ON:Ljava/lang/Boolean;
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;)V
20: .line 909
StackMap locals:
StackMap stack:
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView.isSuperscript:()Z
ifeq 22
21: .line 910
aload 7 /* as */
getstatic java.awt.font.TextAttribute.SUPERSCRIPT:Ljava/awt/font/TextAttribute;
getstatic java.awt.font.TextAttribute.SUPERSCRIPT_SUPER:Ljava/lang/Integer;
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;)V
22: .line 912
StackMap locals:
StackMap stack:
aload 2 /* v */
invokevirtual javax.swing.text.GlyphView.isSubscript:()Z
ifeq 24
23: .line 913
aload 7 /* as */
getstatic java.awt.font.TextAttribute.SUPERSCRIPT:Ljava/awt/font/TextAttribute;
getstatic java.awt.font.TextAttribute.SUPERSCRIPT_SUB:Ljava/lang/Integer;
invokevirtual java.text.AttributedString.addAttribute:(Ljava/text/AttributedCharacterIterator$Attribute;Ljava/lang/Object;)V
24: .line 917
StackMap locals:
StackMap stack:
aload 7 /* as */
aconst_null
iload 4 /* p0 */
iload 8 /* start */
isub
iload 5 /* p1 */
iload 8 /* start */
isub
invokevirtual java.text.AttributedString.getIterator:([Ljava/text/AttributedCharacterIterator$Attribute;II)Ljava/text/AttributedCharacterIterator;
astore 11 /* aci */
start local 11 // java.text.AttributedCharacterIterator aci
25: .line 918
aload 2 /* v */
invokestatic javax.swing.text.Utilities.getJComponent:(Ljavax/swing/text/View;)Ljavax/swing/JComponent;
26: .line 919
aload 3 /* g2d */
aload 11 /* aci */
iload 10 /* x */
iload 9 /* y */
27: .line 918
invokestatic sun.swing.SwingUtilities2.drawString:(Ljavax/swing/JComponent;Ljava/awt/Graphics;Ljava/text/AttributedCharacterIterator;II)F
pop
end local 11 // java.text.AttributedCharacterIterator aci
end local 10 // int x
end local 9 // int y
end local 8 // int start
end local 7 // java.text.AttributedString as
end local 6 // javax.swing.text.AttributeSet attrSet
end local 5 // int p1
end local 4 // int p0
end local 3 // java.awt.Graphics2D g2d
28: .line 921
StackMap locals: java.awt.Graphics java.awt.Rectangle javax.swing.text.GlyphView
StackMap stack:
return
end local 2 // javax.swing.text.GlyphView v
end local 1 // java.awt.Rectangle alloc
end local 0 // java.awt.Graphics g
LocalVariableTable:
Start End Slot Name Signature
0 29 0 g Ljava/awt/Graphics;
0 29 1 alloc Ljava/awt/Rectangle;
0 29 2 v Ljavax/swing/text/GlyphView;
2 28 3 g2d Ljava/awt/Graphics2D;
3 28 4 p0 I
4 28 5 p1 I
5 28 6 attrSet Ljavax/swing/text/AttributeSet;
7 28 7 as Ljava/text/AttributedString;
8 28 8 start I
9 28 9 y I
10 28 10 x I
25 28 11 aci Ljava/text/AttributedCharacterIterator;
MethodParameters:
Name Flags
g
alloc
v
static boolean isLeftToRight(java.awt.Component);
descriptor: (Ljava/awt/Component;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 // java.awt.Component c
0: .line 928
aload 0 /* c */
invokevirtual java.awt.Component.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ireturn
end local 0 // java.awt.Component c
LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljava/awt/Component;
MethodParameters:
Name Flags
c
static int getNextVisualPositionFrom(javax.swing.text.View, int, javax.swing.text.Position$Bias, java.awt.Shape, int, javax.swing.text.Position$Bias[]);
descriptor: (Ljavax/swing/text/View;ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;I[Ljavax/swing/text/Position$Bias;)I
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=14, args_size=6
start local 0 // javax.swing.text.View v
start local 1 // int pos
start local 2 // javax.swing.text.Position$Bias b
start local 3 // java.awt.Shape alloc
start local 4 // int direction
start local 5 // javax.swing.text.Position$Bias[] biasRet
0: .line 968
aload 0 /* v */
invokevirtual javax.swing.text.View.getViewCount:()I
ifne 2
1: .line 970
iload 1 /* pos */
ireturn
2: .line 972
StackMap locals:
StackMap stack:
iload 4 /* direction */
iconst_1
if_icmpeq 5
3: .line 973
iload 4 /* direction */
bipush 7
if_icmpeq 5
4: .line 972
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: istore 6 /* top */
start local 6 // boolean top
7: .line 975
iload 1 /* pos */
iconst_m1
if_icmpne 24
8: .line 977
iload 6 /* top */
ifeq 9
aload 0 /* v */
invokevirtual javax.swing.text.View.getViewCount:()I
iconst_1
isub
goto 10
StackMap locals: int
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 8 /* childIndex */
start local 8 // int childIndex
11: .line 978
aload 0 /* v */
iload 8 /* childIndex */
invokevirtual javax.swing.text.View.getView:(I)Ljavax/swing/text/View;
astore 9 /* child */
start local 9 // javax.swing.text.View child
12: .line 979
aload 0 /* v */
iload 8 /* childIndex */
aload 3 /* alloc */
invokevirtual javax.swing.text.View.getChildAllocation:(ILjava/awt/Shape;)Ljava/awt/Shape;
astore 10 /* childBounds */
start local 10 // java.awt.Shape childBounds
13: .line 980
aload 9 /* child */
iload 1 /* pos */
aload 2 /* b */
aload 10 /* childBounds */
14: .line 981
iload 4 /* direction */
aload 5 /* biasRet */
15: .line 980
invokevirtual javax.swing.text.View.getNextVisualPositionFrom:(ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;I[Ljavax/swing/text/Position$Bias;)I
istore 7 /* retValue */
start local 7 // int retValue
16: .line 982
iload 7 /* retValue */
iconst_m1
if_icmpne 69
iload 6 /* top */
ifne 69
aload 0 /* v */
invokevirtual javax.swing.text.View.getViewCount:()I
iconst_1
if_icmple 69
17: .line 986
aload 0 /* v */
iconst_1
invokevirtual javax.swing.text.View.getView:(I)Ljavax/swing/text/View;
astore 9 /* child */
18: .line 987
aload 0 /* v */
iconst_1
aload 3 /* alloc */
invokevirtual javax.swing.text.View.getChildAllocation:(ILjava/awt/Shape;)Ljava/awt/Shape;
astore 10 /* childBounds */
19: .line 988
aload 9 /* child */
iconst_m1
aload 5 /* biasRet */
iconst_0
aaload
20: .line 989
aload 10 /* childBounds */
21: .line 990
iload 4 /* direction */
aload 5 /* biasRet */
22: .line 988
invokevirtual javax.swing.text.View.getNextVisualPositionFrom:(ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;I[Ljavax/swing/text/Position$Bias;)I
istore 7 /* retValue */
end local 10 // java.awt.Shape childBounds
end local 9 // javax.swing.text.View child
end local 8 // int childIndex
23: .line 992
goto 69
end local 7 // int retValue
24: .line 994
StackMap locals:
StackMap stack:
iload 6 /* top */
ifeq 25
iconst_m1
goto 26
StackMap locals:
StackMap stack:
25: iconst_1
StackMap locals:
StackMap stack: int
26: istore 8 /* increment */
start local 8 // int increment
27: .line 996
aload 2 /* b */
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
if_acmpne 30
iload 1 /* pos */
ifle 30
28: .line 997
aload 0 /* v */
iload 1 /* pos */
iconst_1
isub
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
invokevirtual javax.swing.text.View.getViewIndex:(ILjavax/swing/text/Position$Bias;)I
istore 9 /* childIndex */
start local 9 // int childIndex
29: .line 998
goto 31
end local 9 // int childIndex
30: .line 1000
StackMap locals: javax.swing.text.View int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] int top int
StackMap stack:
aload 0 /* v */
iload 1 /* pos */
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
invokevirtual javax.swing.text.View.getViewIndex:(ILjavax/swing/text/Position$Bias;)I
istore 9 /* childIndex */
start local 9 // int childIndex
31: .line 1002
StackMap locals: int
StackMap stack:
aload 0 /* v */
iload 9 /* childIndex */
invokevirtual javax.swing.text.View.getView:(I)Ljavax/swing/text/View;
astore 10 /* child */
start local 10 // javax.swing.text.View child
32: .line 1003
aload 0 /* v */
iload 9 /* childIndex */
aload 3 /* alloc */
invokevirtual javax.swing.text.View.getChildAllocation:(ILjava/awt/Shape;)Ljava/awt/Shape;
astore 11 /* childBounds */
start local 11 // java.awt.Shape childBounds
33: .line 1004
aload 10 /* child */
iload 1 /* pos */
aload 2 /* b */
aload 11 /* childBounds */
34: .line 1005
iload 4 /* direction */
aload 5 /* biasRet */
35: .line 1004
invokevirtual javax.swing.text.View.getNextVisualPositionFrom:(ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;I[Ljavax/swing/text/Position$Bias;)I
istore 7 /* retValue */
start local 7 // int retValue
36: .line 1006
iload 4 /* direction */
iconst_3
if_icmpeq 38
37: .line 1007
iload 4 /* direction */
bipush 7
if_icmpne 41
38: .line 1008
StackMap locals: javax.swing.text.View int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] int int int int javax.swing.text.View java.awt.Shape
StackMap stack:
aload 0 /* v */
instanceof javax.swing.text.CompositeView
ifeq 41
39: .line 1009
aload 0 /* v */
checkcast javax.swing.text.CompositeView
iload 1 /* pos */
aload 2 /* b */
invokevirtual javax.swing.text.CompositeView.flipEastAndWestAtEnds:(ILjavax/swing/text/Position$Bias;)Z
ifeq 41
40: .line 1010
iload 8 /* increment */
iconst_m1
imul
istore 8 /* increment */
41: .line 1012
StackMap locals:
StackMap stack:
iload 9 /* childIndex */
iload 8 /* increment */
iadd
istore 9 /* childIndex */
42: .line 1013
iload 7 /* retValue */
iconst_m1
if_icmpne 54
iload 9 /* childIndex */
iflt 54
43: .line 1014
iload 9 /* childIndex */
aload 0 /* v */
invokevirtual javax.swing.text.View.getViewCount:()I
if_icmpge 54
44: .line 1015
aload 0 /* v */
iload 9 /* childIndex */
invokevirtual javax.swing.text.View.getView:(I)Ljavax/swing/text/View;
astore 10 /* child */
45: .line 1016
aload 0 /* v */
iload 9 /* childIndex */
aload 3 /* alloc */
invokevirtual javax.swing.text.View.getChildAllocation:(ILjava/awt/Shape;)Ljava/awt/Shape;
astore 11 /* childBounds */
46: .line 1017
aload 10 /* child */
47: .line 1018
iconst_m1
aload 2 /* b */
aload 11 /* childBounds */
iload 4 /* direction */
aload 5 /* biasRet */
48: .line 1017
invokevirtual javax.swing.text.View.getNextVisualPositionFrom:(ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;I[Ljavax/swing/text/Position$Bias;)I
istore 7 /* retValue */
49: .line 1022
iload 7 /* retValue */
iload 1 /* pos */
if_icmpne 69
aload 5 /* biasRet */
iconst_0
aaload
aload 2 /* b */
if_acmpeq 69
50: .line 1023
aload 0 /* v */
iload 1 /* pos */
aload 5 /* biasRet */
iconst_0
aaload
51: .line 1024
aload 3 /* alloc */
iload 4 /* direction */
52: .line 1025
aload 5 /* biasRet */
53: .line 1023
invokestatic javax.swing.text.Utilities.getNextVisualPositionFrom:(Ljavax/swing/text/View;ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;I[Ljavax/swing/text/Position$Bias;)I
ireturn
54: .line 1028
StackMap locals:
StackMap stack:
iload 7 /* retValue */
iconst_m1
if_icmpeq 69
aload 5 /* biasRet */
iconst_0
aaload
aload 2 /* b */
if_acmpeq 69
55: .line 1029
iload 8 /* increment */
iconst_1
if_icmpne 56
aload 10 /* child */
invokevirtual javax.swing.text.View.getEndOffset:()I
iload 7 /* retValue */
if_icmpeq 58
56: .line 1030
StackMap locals:
StackMap stack:
iload 8 /* increment */
iconst_m1
if_icmpne 69
57: .line 1031
aload 10 /* child */
invokevirtual javax.swing.text.View.getStartOffset:()I
iload 7 /* retValue */
if_icmpne 69
58: .line 1032
StackMap locals:
StackMap stack:
iload 9 /* childIndex */
iflt 69
iload 9 /* childIndex */
aload 0 /* v */
invokevirtual javax.swing.text.View.getViewCount:()I
if_icmpge 69
59: .line 1035
aload 0 /* v */
iload 9 /* childIndex */
invokevirtual javax.swing.text.View.getView:(I)Ljavax/swing/text/View;
astore 10 /* child */
60: .line 1036
aload 0 /* v */
iload 9 /* childIndex */
aload 3 /* alloc */
invokevirtual javax.swing.text.View.getChildAllocation:(ILjava/awt/Shape;)Ljava/awt/Shape;
astore 11 /* childBounds */
61: .line 1037
aload 5 /* biasRet */
iconst_0
aaload
astore 12 /* originalBias */
start local 12 // javax.swing.text.Position$Bias originalBias
62: .line 1038
aload 10 /* child */
63: .line 1039
iconst_m1
aload 2 /* b */
aload 11 /* childBounds */
iload 4 /* direction */
aload 5 /* biasRet */
64: .line 1038
invokevirtual javax.swing.text.View.getNextVisualPositionFrom:(ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;I[Ljavax/swing/text/Position$Bias;)I
istore 13 /* nextPos */
start local 13 // int nextPos
65: .line 1040
aload 5 /* biasRet */
iconst_0
aaload
aload 2 /* b */
if_acmpne 68
66: .line 1041
iload 13 /* nextPos */
istore 7 /* retValue */
67: .line 1042
goto 69
68: .line 1044
StackMap locals: javax.swing.text.Position$Bias int
StackMap stack:
aload 5 /* biasRet */
iconst_0
aload 12 /* originalBias */
aastore
end local 13 // int nextPos
end local 12 // javax.swing.text.Position$Bias originalBias
end local 11 // java.awt.Shape childBounds
end local 10 // javax.swing.text.View child
end local 9 // int childIndex
end local 8 // int increment
69: .line 1048
StackMap locals: javax.swing.text.View int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] int int
StackMap stack:
iload 7 /* retValue */
ireturn
end local 7 // int retValue
end local 6 // boolean top
end local 5 // javax.swing.text.Position$Bias[] biasRet
end local 4 // int direction
end local 3 // java.awt.Shape alloc
end local 2 // javax.swing.text.Position$Bias b
end local 1 // int pos
end local 0 // javax.swing.text.View v
LocalVariableTable:
Start End Slot Name Signature
0 70 0 v Ljavax/swing/text/View;
0 70 1 pos I
0 70 2 b Ljavax/swing/text/Position$Bias;
0 70 3 alloc Ljava/awt/Shape;
0 70 4 direction I
0 70 5 biasRet [Ljavax/swing/text/Position$Bias;
7 70 6 top Z
16 24 7 retValue I
36 70 7 retValue I
11 23 8 childIndex I
12 23 9 child Ljavax/swing/text/View;
13 23 10 childBounds Ljava/awt/Shape;
27 69 8 increment I
29 30 9 childIndex I
31 69 9 childIndex I
32 69 10 child Ljavax/swing/text/View;
33 69 11 childBounds Ljava/awt/Shape;
62 69 12 originalBias Ljavax/swing/text/Position$Bias;
65 69 13 nextPos I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
v
pos
b
alloc
direction
biasRet
}
SourceFile: "Utilities.java"
InnerClasses:
public Attribute = java.text.AttributedCharacterIterator$Attribute of java.text.AttributedCharacterIterator
public abstract GlyphPainter = javax.swing.text.GlyphView$GlyphPainter of javax.swing.text.GlyphView
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position