class javax.swing.text.GlyphPainter2 extends javax.swing.text.GlyphView$GlyphPainter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.GlyphPainter2
super_class: javax.swing.text.GlyphView$GlyphPainter
{
java.awt.font.TextLayout layout;
descriptor: Ljava/awt/font/TextLayout;
flags: (0x0000)
public void <init>(java.awt.font.TextLayout);
descriptor: (Ljava/awt/font/TextLayout;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.swing.text.GlyphView$GlyphPainter.<init>:()V
1: aload 0
aload 1
putfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/GlyphPainter2;
0 3 1 layout Ljava/awt/font/TextLayout;
MethodParameters:
Name Flags
layout
public javax.swing.text.GlyphView$GlyphPainter getPainter(javax.swing.text.GlyphView, int, int);
descriptor: (Ljavax/swing/text/GlyphView;II)Ljavax/swing/text/GlyphView$GlyphPainter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/GlyphPainter2;
0 1 1 v Ljavax/swing/text/GlyphView;
0 1 2 p0 I
0 1 3 p1 I
MethodParameters:
Name Flags
v
p0
p1
public float getSpan(javax.swing.text.GlyphView, int, int, javax.swing.text.TabExpander, float);
descriptor: (Ljavax/swing/text/GlyphView;IILjavax/swing/text/TabExpander;F)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=14, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 2
aload 1
invokevirtual javax.swing.text.GlyphView.getStartOffset:()I
if_icmpne 2
iload 3
aload 1
invokevirtual javax.swing.text.GlyphView.getEndOffset:()I
if_icmpne 2
1: aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
invokevirtual java.awt.font.TextLayout.getAdvance:()F
freturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.text.GlyphView.getStartOffset:()I
istore 6
start local 6 3: iload 2
iload 6
isub
istore 7
start local 7 4: iload 3
iload 6
isub
istore 8
start local 8 5: iload 7
invokestatic java.awt.font.TextHitInfo.afterOffset:(I)Ljava/awt/font/TextHitInfo;
astore 9
start local 9 6: iload 8
invokestatic java.awt.font.TextHitInfo.beforeOffset:(I)Ljava/awt/font/TextHitInfo;
astore 10
start local 10 7: aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
aload 9
invokevirtual java.awt.font.TextLayout.getCaretInfo:(Ljava/awt/font/TextHitInfo;)[F
astore 11
start local 11 8: aload 11
iconst_0
faload
fstore 12
start local 12 9: aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
aload 10
invokevirtual java.awt.font.TextLayout.getCaretInfo:(Ljava/awt/font/TextHitInfo;)[F
astore 11
10: aload 11
iconst_0
faload
fstore 13
start local 13 11: fload 13
fload 12
fcmpl
ifle 12
fload 13
fload 12
fsub
goto 13
StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView int int javax.swing.text.TabExpander float int int int java.awt.font.TextHitInfo java.awt.font.TextHitInfo float[] float float
StackMap stack:
12: fload 12
fload 13
fsub
StackMap locals:
StackMap stack: float
13: freturn
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/text/GlyphPainter2;
0 14 1 v Ljavax/swing/text/GlyphView;
0 14 2 p0 I
0 14 3 p1 I
0 14 4 e Ljavax/swing/text/TabExpander;
0 14 5 x F
3 14 6 p I
4 14 7 index0 I
5 14 8 index1 I
6 14 9 hit0 Ljava/awt/font/TextHitInfo;
7 14 10 hit1 Ljava/awt/font/TextHitInfo;
8 14 11 locs [F
9 14 12 x0 F
11 14 13 x1 F
MethodParameters:
Name Flags
v
p0
p1
e
x
public float getHeight(javax.swing.text.GlyphView);
descriptor: (Ljavax/swing/text/GlyphView;)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
invokevirtual java.awt.font.TextLayout.getAscent:()F
aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
invokevirtual java.awt.font.TextLayout.getDescent:()F
fadd
aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
invokevirtual java.awt.font.TextLayout.getLeading:()F
fadd
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/GlyphPainter2;
0 1 1 v Ljavax/swing/text/GlyphView;
MethodParameters:
Name Flags
v
public float getAscent(javax.swing.text.GlyphView);
descriptor: (Ljavax/swing/text/GlyphView;)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
invokevirtual java.awt.font.TextLayout.getAscent:()F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/GlyphPainter2;
0 1 1 v Ljavax/swing/text/GlyphView;
MethodParameters:
Name Flags
v
public float getDescent(javax.swing.text.GlyphView);
descriptor: (Ljavax/swing/text/GlyphView;)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
invokevirtual java.awt.font.TextLayout.getDescent:()F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/GlyphPainter2;
0 1 1 v Ljavax/swing/text/GlyphView;
MethodParameters:
Name Flags
v
public void paint(javax.swing.text.GlyphView, java.awt.Graphics, java.awt.Shape, int, int);
descriptor: (Ljavax/swing/text/GlyphView;Ljava/awt/Graphics;Ljava/awt/Shape;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
instanceof java.awt.Graphics2D
ifeq 17
1: aload 3
invokeinterface java.awt.Shape.getBounds2D:()Ljava/awt/geom/Rectangle2D;
astore 6
start local 6 2: aload 2
checkcast java.awt.Graphics2D
astore 7
start local 7 3: aload 6
invokevirtual java.awt.geom.Rectangle2D.getY:()D
d2f
aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
invokevirtual java.awt.font.TextLayout.getAscent:()F
fadd
aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
invokevirtual java.awt.font.TextLayout.getLeading:()F
fadd
fstore 8
start local 8 4: aload 6
invokevirtual java.awt.geom.Rectangle2D.getX:()D
d2f
fstore 9
start local 9 5: iload 4
aload 1
invokevirtual javax.swing.text.GlyphView.getStartOffset:()I
if_icmpgt 6
iload 5
aload 1
invokevirtual javax.swing.text.GlyphView.getEndOffset:()I
if_icmpge 16
6: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView java.awt.Graphics java.awt.Shape int int java.awt.geom.Rectangle2D java.awt.Graphics2D float float
StackMap stack:
aload 1
iload 4
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
7: iload 5
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
aload 3
8: invokevirtual javax.swing.text.GlyphView.modelToView:(ILjavax/swing/text/Position$Bias;ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;)Ljava/awt/Shape;
astore 10
start local 10 9: aload 2
invokevirtual java.awt.Graphics.getClip:()Ljava/awt/Shape;
astore 11
start local 11 10: aload 7
aload 10
invokevirtual java.awt.Graphics2D.clip:(Ljava/awt/Shape;)V
11: aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
aload 7
fload 9
fload 8
invokevirtual java.awt.font.TextLayout.draw:(Ljava/awt/Graphics2D;FF)V
12: aload 2
aload 11
invokevirtual java.awt.Graphics.setClip:(Ljava/awt/Shape;)V
end local 11 end local 10 13: goto 17
StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
14: pop
15: goto 17
16: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
aload 7
fload 9
fload 8
invokevirtual java.awt.font.TextLayout.draw:(Ljava/awt/Graphics2D;FF)V
end local 9 end local 8 end local 7 end local 6 17: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView java.awt.Graphics java.awt.Shape int int
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/swing/text/GlyphPainter2;
0 18 1 v Ljavax/swing/text/GlyphView;
0 18 2 g Ljava/awt/Graphics;
0 18 3 a Ljava/awt/Shape;
0 18 4 p0 I
0 18 5 p1 I
2 17 6 alloc Ljava/awt/geom/Rectangle2D;
3 17 7 g2d Ljava/awt/Graphics2D;
4 17 8 y F
5 17 9 x F
9 13 10 s Ljava/awt/Shape;
10 13 11 savedClip Ljava/awt/Shape;
Exception table:
from to target type
6 13 14 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
v
g
a
p0
p1
public java.awt.Shape modelToView(javax.swing.text.GlyphView, int, javax.swing.text.Position$Bias, java.awt.Shape);
descriptor: (Ljavax/swing/text/GlyphView;ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;)Ljava/awt/Shape;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
aload 1
invokevirtual javax.swing.text.GlyphView.getStartOffset:()I
isub
istore 5
start local 5 1: aload 4
invokeinterface java.awt.Shape.getBounds2D:()Ljava/awt/geom/Rectangle2D;
astore 6
start local 6 2: aload 3
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
if_acmpne 4
3: iload 5
invokestatic java.awt.font.TextHitInfo.afterOffset:(I)Ljava/awt/font/TextHitInfo;
goto 5
StackMap locals: int java.awt.geom.Rectangle2D
StackMap stack:
4: iload 5
invokestatic java.awt.font.TextHitInfo.beforeOffset:(I)Ljava/awt/font/TextHitInfo;
5: StackMap locals:
StackMap stack: java.awt.font.TextHitInfo
astore 7
start local 7 6: aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
aload 7
invokevirtual java.awt.font.TextLayout.getCaretInfo:(Ljava/awt/font/TextHitInfo;)[F
astore 8
start local 8 7: new java.awt.geom.Rectangle2D$Float
dup
invokespecial java.awt.geom.Rectangle2D$Float.<init>:()V
astore 9
start local 9 8: aload 9
aload 6
invokevirtual java.awt.geom.Rectangle2D.getX:()D
aload 8
iconst_0
faload
f2d
dadd
aload 6
invokevirtual java.awt.geom.Rectangle2D.getY:()D
dconst_1
aload 6
invokevirtual java.awt.geom.Rectangle2D.getHeight:()D
invokevirtual java.awt.geom.Rectangle2D.setRect:(DDDD)V
9: aload 9
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/GlyphPainter2;
0 10 1 v Ljavax/swing/text/GlyphView;
0 10 2 pos I
0 10 3 bias Ljavax/swing/text/Position$Bias;
0 10 4 a Ljava/awt/Shape;
1 10 5 offs I
2 10 6 alloc Ljava/awt/geom/Rectangle2D;
6 10 7 hit Ljava/awt/font/TextHitInfo;
7 10 8 locs [F
8 10 9 rect Ljava/awt/geom/Rectangle2D;
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
v
pos
bias
a
public int viewToModel(javax.swing.text.GlyphView, float, float, java.awt.Shape, javax.swing.text.Position$Bias[]);
descriptor: (Ljavax/swing/text/GlyphView;FFLjava/awt/Shape;[Ljavax/swing/text/Position$Bias;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 4
instanceof java.awt.geom.Rectangle2D
ifeq 1
aload 4
checkcast java.awt.geom.Rectangle2D
goto 2
StackMap locals:
StackMap stack:
1: aload 4
invokeinterface java.awt.Shape.getBounds2D:()Ljava/awt/geom/Rectangle2D;
StackMap locals:
StackMap stack: java.awt.geom.Rectangle2D
2: astore 6
start local 6 3: aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
fload 2
aload 6
invokevirtual java.awt.geom.Rectangle2D.getX:()D
d2f
fsub
fconst_0
invokevirtual java.awt.font.TextLayout.hitTestChar:(FF)Ljava/awt/font/TextHitInfo;
astore 7
start local 7 4: aload 7
invokevirtual java.awt.font.TextHitInfo.getInsertionIndex:()I
istore 8
start local 8 5: iload 8
aload 1
invokevirtual javax.swing.text.GlyphView.getEndOffset:()I
if_icmpne 7
6: iinc 8 -1
7: StackMap locals: java.awt.geom.Rectangle2D java.awt.font.TextHitInfo int
StackMap stack:
aload 5
iconst_0
aload 7
invokevirtual java.awt.font.TextHitInfo.isLeadingEdge:()Z
ifeq 8
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
goto 9
StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView float float java.awt.Shape javax.swing.text.Position$Bias[] java.awt.geom.Rectangle2D java.awt.font.TextHitInfo int
StackMap stack: javax.swing.text.Position$Bias[] int
8: getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView float float java.awt.Shape javax.swing.text.Position$Bias[] java.awt.geom.Rectangle2D java.awt.font.TextHitInfo int
StackMap stack: javax.swing.text.Position$Bias[] int javax.swing.text.Position$Bias
9: aastore
10: iload 8
aload 1
invokevirtual javax.swing.text.GlyphView.getStartOffset:()I
iadd
ireturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/GlyphPainter2;
0 11 1 v Ljavax/swing/text/GlyphView;
0 11 2 x F
0 11 3 y F
0 11 4 a Ljava/awt/Shape;
0 11 5 biasReturn [Ljavax/swing/text/Position$Bias;
3 11 6 alloc Ljava/awt/geom/Rectangle2D;
4 11 7 hit Ljava/awt/font/TextHitInfo;
5 11 8 pos I
MethodParameters:
Name Flags
v
x
y
a
biasReturn
public int getBoundedPosition(javax.swing.text.GlyphView, int, float, float);
descriptor: (Ljavax/swing/text/GlyphView;IFF)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: fload 4
fconst_0
fcmpg
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "Length must be >= 0."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
invokevirtual java.awt.font.TextLayout.isLeftToRight:()Z
ifeq 5
3: aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
fload 4
fconst_0
invokevirtual java.awt.font.TextLayout.hitTestChar:(FF)Ljava/awt/font/TextHitInfo;
astore 5
start local 5 4: goto 6
end local 5 5: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
invokevirtual java.awt.font.TextLayout.getAdvance:()F
fload 4
fsub
fconst_0
invokevirtual java.awt.font.TextLayout.hitTestChar:(FF)Ljava/awt/font/TextHitInfo;
astore 5
start local 5 6: StackMap locals: java.awt.font.TextHitInfo
StackMap stack:
aload 1
invokevirtual javax.swing.text.GlyphView.getStartOffset:()I
aload 5
invokevirtual java.awt.font.TextHitInfo.getCharIndex:()I
iadd
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/text/GlyphPainter2;
0 7 1 v Ljavax/swing/text/GlyphView;
0 7 2 p0 I
0 7 3 x F
0 7 4 len F
4 5 5 hit Ljava/awt/font/TextHitInfo;
6 7 5 hit Ljava/awt/font/TextHitInfo;
MethodParameters:
Name Flags
v
p0
x
len
public int getNextVisualPositionFrom(javax.swing.text.GlyphView, int, javax.swing.text.Position$Bias, java.awt.Shape, int, javax.swing.text.Position$Bias[]);
descriptor: (Ljavax/swing/text/GlyphView;ILjavax/swing/text/Position$Bias;Ljava/awt/Shape;I[Ljavax/swing/text/Position$Bias;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=15, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 1
invokevirtual javax.swing.text.GlyphView.getDocument:()Ljavax/swing/text/Document;
astore 7
start local 7 1: aload 1
invokevirtual javax.swing.text.GlyphView.getStartOffset:()I
istore 8
start local 8 2: aload 1
invokevirtual javax.swing.text.GlyphView.getEndOffset:()I
istore 9
start local 9 3: iload 5
tableswitch { // 1 - 7
1: 4
2: 82
3: 6
4: 82
5: 5
6: 82
7: 44
default: 82
}
4: StackMap locals: javax.swing.text.Document int int
StackMap stack:
goto 83
5: StackMap locals:
StackMap stack:
goto 83
6: StackMap locals:
StackMap stack:
aload 7
iload 8
iload 9
invokestatic javax.swing.text.AbstractDocument.isLeftToRight:(Ljavax/swing/text/Document;II)Z
istore 11
start local 11 7: iload 8
aload 7
invokeinterface javax.swing.text.Document.getLength:()I
if_icmpne 12
8: iload 2
iconst_m1
if_icmpne 11
9: aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
10: iload 8
ireturn
11: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] javax.swing.text.Document int int top int
StackMap stack:
iconst_m1
ireturn
12: StackMap locals:
StackMap stack:
iload 2
iconst_m1
if_icmpne 24
13: iload 11
ifeq 16
14: aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
15: iload 8
ireturn
16: StackMap locals:
StackMap stack:
aload 1
iload 9
iconst_1
isub
iload 9
invokevirtual javax.swing.text.GlyphView.getText:(II)Ljavax/swing/text/Segment;
astore 10
start local 10 17: aload 10
getfield javax.swing.text.Segment.array:[C
aload 10
getfield javax.swing.text.Segment.offset:I
caload
istore 14
start local 14 18: aload 10
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
19: iload 14
bipush 10
if_icmpne 22
20: aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
21: iload 9
iconst_1
isub
ireturn
22: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] javax.swing.text.Document int int javax.swing.text.Segment int top top int
StackMap stack:
aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
aastore
23: iload 9
ireturn
end local 14 end local 10 24: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] javax.swing.text.Document int int top int
StackMap stack:
aload 3
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
if_acmpne 27
25: iload 2
iload 8
isub
invokestatic java.awt.font.TextHitInfo.afterOffset:(I)Ljava/awt/font/TextHitInfo;
astore 12
start local 12 26: goto 28
end local 12 27: StackMap locals:
StackMap stack:
iload 2
iload 8
isub
invokestatic java.awt.font.TextHitInfo.beforeOffset:(I)Ljava/awt/font/TextHitInfo;
astore 12
start local 12 28: StackMap locals: java.awt.font.TextHitInfo
StackMap stack:
aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
aload 12
invokevirtual java.awt.font.TextLayout.getNextRightHit:(Ljava/awt/font/TextHitInfo;)Ljava/awt/font/TextHitInfo;
astore 13
start local 13 29: aload 13
ifnonnull 31
30: iconst_m1
ireturn
31: StackMap locals: java.awt.font.TextHitInfo
StackMap stack:
iload 11
aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
invokevirtual java.awt.font.TextLayout.isLeftToRight:()Z
if_icmpeq 33
32: aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
aload 13
invokevirtual java.awt.font.TextLayout.getVisualOtherHit:(Ljava/awt/font/TextHitInfo;)Ljava/awt/font/TextHitInfo;
astore 13
33: StackMap locals:
StackMap stack:
aload 13
invokevirtual java.awt.font.TextHitInfo.getInsertionIndex:()I
iload 8
iadd
istore 2
34: iload 2
iload 9
if_icmpne 42
35: aload 1
iload 9
iconst_1
isub
iload 9
invokevirtual javax.swing.text.GlyphView.getText:(II)Ljavax/swing/text/Segment;
astore 10
start local 10 36: aload 10
getfield javax.swing.text.Segment.array:[C
aload 10
getfield javax.swing.text.Segment.offset:I
caload
istore 14
start local 14 37: aload 10
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
38: iload 14
bipush 10
if_icmpne 40
39: iconst_m1
ireturn
40: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] javax.swing.text.Document int int javax.swing.text.Segment int java.awt.font.TextHitInfo java.awt.font.TextHitInfo int
StackMap stack:
aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
aastore
end local 14 41: goto 43
end local 10 42: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] javax.swing.text.Document int int top int java.awt.font.TextHitInfo java.awt.font.TextHitInfo
StackMap stack:
aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
43: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 13 end local 12 end local 11 44: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] javax.swing.text.Document int int
StackMap stack:
aload 7
iload 8
iload 9
invokestatic javax.swing.text.AbstractDocument.isLeftToRight:(Ljavax/swing/text/Document;II)Z
istore 11
start local 11 45: iload 8
aload 7
invokeinterface javax.swing.text.Document.getLength:()I
if_icmpne 50
46: iload 2
iconst_m1
if_icmpne 49
47: aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
48: iload 8
ireturn
49: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] javax.swing.text.Document int int top int
StackMap stack:
iconst_m1
ireturn
50: StackMap locals:
StackMap stack:
iload 2
iconst_m1
if_icmpne 62
51: iload 11
ifeq 60
52: aload 1
iload 9
iconst_1
isub
iload 9
invokevirtual javax.swing.text.GlyphView.getText:(II)Ljavax/swing/text/Segment;
astore 10
start local 10 53: aload 10
getfield javax.swing.text.Segment.array:[C
aload 10
getfield javax.swing.text.Segment.offset:I
caload
istore 14
start local 14 54: aload 10
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
55: iload 14
bipush 10
if_icmpeq 56
iload 14
invokestatic java.lang.Character.isSpaceChar:(C)Z
ifeq 58
56: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] javax.swing.text.Document int int javax.swing.text.Segment int top top int
StackMap stack:
aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
57: iload 9
iconst_1
isub
ireturn
58: StackMap locals:
StackMap stack:
aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
aastore
59: iload 9
ireturn
end local 14 end local 10 60: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] javax.swing.text.Document int int top int
StackMap stack:
aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
61: iload 8
ireturn
62: StackMap locals:
StackMap stack:
aload 3
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
if_acmpne 65
63: iload 2
iload 8
isub
invokestatic java.awt.font.TextHitInfo.afterOffset:(I)Ljava/awt/font/TextHitInfo;
astore 12
start local 12 64: goto 66
end local 12 65: StackMap locals:
StackMap stack:
iload 2
iload 8
isub
invokestatic java.awt.font.TextHitInfo.beforeOffset:(I)Ljava/awt/font/TextHitInfo;
astore 12
start local 12 66: StackMap locals: java.awt.font.TextHitInfo
StackMap stack:
aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
aload 12
invokevirtual java.awt.font.TextLayout.getNextLeftHit:(Ljava/awt/font/TextHitInfo;)Ljava/awt/font/TextHitInfo;
astore 13
start local 13 67: aload 13
ifnonnull 69
68: iconst_m1
ireturn
69: StackMap locals: java.awt.font.TextHitInfo
StackMap stack:
iload 11
aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
invokevirtual java.awt.font.TextLayout.isLeftToRight:()Z
if_icmpeq 71
70: aload 0
getfield javax.swing.text.GlyphPainter2.layout:Ljava/awt/font/TextLayout;
aload 13
invokevirtual java.awt.font.TextLayout.getVisualOtherHit:(Ljava/awt/font/TextHitInfo;)Ljava/awt/font/TextHitInfo;
astore 13
71: StackMap locals:
StackMap stack:
aload 13
invokevirtual java.awt.font.TextHitInfo.getInsertionIndex:()I
iload 8
iadd
istore 2
72: iload 2
iload 9
if_icmpne 80
73: aload 1
iload 9
iconst_1
isub
iload 9
invokevirtual javax.swing.text.GlyphView.getText:(II)Ljavax/swing/text/Segment;
astore 10
start local 10 74: aload 10
getfield javax.swing.text.Segment.array:[C
aload 10
getfield javax.swing.text.Segment.offset:I
caload
istore 14
start local 14 75: aload 10
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
76: iload 14
bipush 10
if_icmpne 78
77: iconst_m1
ireturn
78: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] javax.swing.text.Document int int javax.swing.text.Segment int java.awt.font.TextHitInfo java.awt.font.TextHitInfo int
StackMap stack:
aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
aastore
end local 14 79: goto 81
end local 10 80: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] javax.swing.text.Document int int top int java.awt.font.TextHitInfo java.awt.font.TextHitInfo
StackMap stack:
aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
81: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 13 end local 12 end local 11 82: StackMap locals: javax.swing.text.GlyphPainter2 javax.swing.text.GlyphView int javax.swing.text.Position$Bias java.awt.Shape int javax.swing.text.Position$Bias[] javax.swing.text.Document int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Bad direction: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
83: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 84 0 this Ljavax/swing/text/GlyphPainter2;
0 84 1 v Ljavax/swing/text/GlyphView;
0 84 2 pos I
0 84 3 b Ljavax/swing/text/Position$Bias;
0 84 4 a Ljava/awt/Shape;
0 84 5 direction I
0 84 6 biasRet [Ljavax/swing/text/Position$Bias;
1 84 7 doc Ljavax/swing/text/Document;
2 84 8 startOffset I
3 84 9 endOffset I
17 24 10 text Ljavax/swing/text/Segment;
36 42 10 text Ljavax/swing/text/Segment;
53 60 10 text Ljavax/swing/text/Segment;
74 80 10 text Ljavax/swing/text/Segment;
7 44 11 viewIsLeftToRight Z
45 82 11 viewIsLeftToRight Z
26 27 12 currentHit Ljava/awt/font/TextHitInfo;
28 44 12 currentHit Ljava/awt/font/TextHitInfo;
64 65 12 currentHit Ljava/awt/font/TextHitInfo;
66 82 12 currentHit Ljava/awt/font/TextHitInfo;
29 44 13 nextHit Ljava/awt/font/TextHitInfo;
67 82 13 nextHit Ljava/awt/font/TextHitInfo;
18 24 14 c C
37 41 14 c C
54 60 14 c C
75 79 14 c C
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
v
pos
b
a
direction
biasRet
}
SourceFile: "GlyphPainter2.java"
InnerClasses:
public Float = java.awt.geom.Rectangle2D$Float of java.awt.geom.Rectangle2D
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