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=9, 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: aload 6
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
8: aload 6
areturn
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 9 0 this Ljavax/swing/text/GlyphPainter2;
0 9 1 v Ljavax/swing/text/GlyphView;
0 9 2 pos I
0 9 3 bias Ljavax/swing/text/Position$Bias;
0 9 4 a Ljava/awt/Shape;
1 9 5 offs I
2 9 6 alloc Ljava/awt/geom/Rectangle2D;
6 9 7 hit Ljava/awt/font/TextHitInfo;
7 9 8 locs [F
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.getStartOffset:()I
istore 7
start local 7 1: aload 1
invokevirtual javax.swing.text.GlyphView.getEndOffset:()I
istore 8
start local 8 2: iload 5
tableswitch { // 1 - 7
1: 3
2: 83
3: 5
4: 83
5: 4
6: 83
7: 44
default: 83
}
3: StackMap locals: int int
StackMap stack:
goto 84
4: StackMap locals:
StackMap stack:
goto 84
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.text.GlyphView.getDocument:()Ljavax/swing/text/Document;
checkcast javax.swing.text.AbstractDocument
astore 10
start local 10 6: aload 10
iload 7
iload 8
invokevirtual javax.swing.text.AbstractDocument.isLeftToRight:(II)Z
istore 11
start local 11 7: iload 7
aload 10
invokevirtual javax.swing.text.AbstractDocument.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 7
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[] int int top javax.swing.text.AbstractDocument 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 7
ireturn
16: StackMap locals:
StackMap stack:
aload 1
iload 8
iconst_1
isub
iload 8
invokevirtual javax.swing.text.GlyphView.getText:(II)Ljavax/swing/text/Segment;
astore 9
start local 9 17: aload 9
getfield javax.swing.text.Segment.array:[C
aload 9
getfield javax.swing.text.Segment.offset:I
caload
istore 14
start local 14 18: aload 9
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 8
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[] int int javax.swing.text.Segment javax.swing.text.AbstractDocument 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 8
ireturn
end local 14 end local 9 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[] int int top javax.swing.text.AbstractDocument int
StackMap stack:
aload 3
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
if_acmpne 27
25: iload 2
iload 7
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 7
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 7
iadd
istore 2
34: iload 2
iload 8
if_icmpne 42
35: aload 1
iload 8
iconst_1
isub
iload 8
invokevirtual javax.swing.text.GlyphView.getText:(II)Ljavax/swing/text/Segment;
astore 9
start local 9 36: aload 9
getfield javax.swing.text.Segment.array:[C
aload 9
getfield javax.swing.text.Segment.offset:I
caload
istore 14
start local 14 37: aload 9
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[] int int javax.swing.text.Segment javax.swing.text.AbstractDocument 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 9 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[] int int top javax.swing.text.AbstractDocument 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 end local 10 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[] int int
StackMap stack:
aload 1
invokevirtual javax.swing.text.GlyphView.getDocument:()Ljavax/swing/text/Document;
checkcast javax.swing.text.AbstractDocument
astore 10
start local 10 45: aload 10
iload 7
iload 8
invokevirtual javax.swing.text.AbstractDocument.isLeftToRight:(II)Z
istore 11
start local 11 46: iload 7
aload 10
invokevirtual javax.swing.text.AbstractDocument.getLength:()I
if_icmpne 51
47: iload 2
iconst_m1
if_icmpne 50
48: aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
49: iload 7
ireturn
50: 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[] int int top javax.swing.text.AbstractDocument int
StackMap stack:
iconst_m1
ireturn
51: StackMap locals:
StackMap stack:
iload 2
iconst_m1
if_icmpne 63
52: iload 11
ifeq 61
53: aload 1
iload 8
iconst_1
isub
iload 8
invokevirtual javax.swing.text.GlyphView.getText:(II)Ljavax/swing/text/Segment;
astore 9
start local 9 54: aload 9
getfield javax.swing.text.Segment.array:[C
aload 9
getfield javax.swing.text.Segment.offset:I
caload
istore 14
start local 14 55: aload 9
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
56: iload 14
bipush 10
if_icmpeq 57
iload 14
invokestatic java.lang.Character.isSpaceChar:(C)Z
ifeq 59
57: 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[] int int javax.swing.text.Segment javax.swing.text.AbstractDocument int top top int
StackMap stack:
aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
58: iload 8
iconst_1
isub
ireturn
59: StackMap locals:
StackMap stack:
aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Backward:Ljavax/swing/text/Position$Bias;
aastore
60: iload 8
ireturn
end local 14 end local 9 61: 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[] int int top javax.swing.text.AbstractDocument int
StackMap stack:
aload 6
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
62: iload 7
ireturn
63: StackMap locals:
StackMap stack:
aload 3
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
if_acmpne 66
64: iload 2
iload 7
isub
invokestatic java.awt.font.TextHitInfo.afterOffset:(I)Ljava/awt/font/TextHitInfo;
astore 12
start local 12 65: goto 67
end local 12 66: StackMap locals:
StackMap stack:
iload 2
iload 7
isub
invokestatic java.awt.font.TextHitInfo.beforeOffset:(I)Ljava/awt/font/TextHitInfo;
astore 12
start local 12 67: 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 68: aload 13
ifnonnull 70
69: iconst_m1
ireturn
70: 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 72
71: 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
72: StackMap locals:
StackMap stack:
aload 13
invokevirtual java.awt.font.TextHitInfo.getInsertionIndex:()I
iload 7
iadd
istore 2
73: iload 2
iload 8
if_icmpne 81
74: aload 1
iload 8
iconst_1
isub
iload 8
invokevirtual javax.swing.text.GlyphView.getText:(II)Ljavax/swing/text/Segment;
astore 9
start local 9 75: aload 9
getfield javax.swing.text.Segment.array:[C
aload 9
getfield javax.swing.text.Segment.offset:I
caload
istore 14
start local 14 76: aload 9
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
77: iload 14
bipush 10
if_icmpne 79
78: iconst_m1
ireturn
79: 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[] int int javax.swing.text.Segment javax.swing.text.AbstractDocument 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 80: goto 82
end local 9 81: 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[] int int top javax.swing.text.AbstractDocument 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
82: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 13 end local 12 end local 11 end local 10 83: 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[] 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
84: StackMap locals:
StackMap stack:
iload 2
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 85 0 this Ljavax/swing/text/GlyphPainter2;
0 85 1 v Ljavax/swing/text/GlyphView;
0 85 2 pos I
0 85 3 b Ljavax/swing/text/Position$Bias;
0 85 4 a Ljava/awt/Shape;
0 85 5 direction I
0 85 6 biasRet [Ljavax/swing/text/Position$Bias;
1 85 7 startOffset I
2 85 8 endOffset I
17 24 9 text Ljavax/swing/text/Segment;
36 42 9 text Ljavax/swing/text/Segment;
54 61 9 text Ljavax/swing/text/Segment;
75 81 9 text Ljavax/swing/text/Segment;
6 44 10 doc Ljavax/swing/text/AbstractDocument;
45 83 10 doc Ljavax/swing/text/AbstractDocument;
7 44 11 viewIsLeftToRight Z
46 83 11 viewIsLeftToRight Z
26 27 12 currentHit Ljava/awt/font/TextHitInfo;
28 44 12 currentHit Ljava/awt/font/TextHitInfo;
65 66 12 currentHit Ljava/awt/font/TextHitInfo;
67 83 12 currentHit Ljava/awt/font/TextHitInfo;
29 44 13 nextHit Ljava/awt/font/TextHitInfo;
68 83 13 nextHit Ljava/awt/font/TextHitInfo;
18 24 14 c C
37 41 14 c C
55 61 14 c C
76 80 14 c C
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
v
pos
b
a
direction
biasRet
}
SourceFile: "GlyphPainter2.java"
InnerClasses:
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