class javax.swing.text.WrappedPlainView$WrappedLine extends javax.swing.text.View
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.text.WrappedPlainView$WrappedLine
super_class: javax.swing.text.View
{
int lineCount;
descriptor: I
flags: (0x0000)
java.lang.ref.SoftReference<int[]> lineCache;
descriptor: Ljava/lang/ref/SoftReference;
flags: (0x0000)
Signature: Ljava/lang/ref/SoftReference<[I>;
final javax.swing.text.WrappedPlainView this$0;
descriptor: Ljavax/swing/text/WrappedPlainView;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javax.swing.text.WrappedPlainView, javax.swing.text.Element);
descriptor: (Ljavax/swing/text/WrappedPlainView;Ljavax/swing/text/Element;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
1: aload 0
aload 2
invokespecial javax.swing.text.View.<init>:(Ljavax/swing/text/Element;)V
2: aload 0
aconst_null
putfield javax.swing.text.WrappedPlainView$WrappedLine.lineCache:Ljava/lang/ref/SoftReference;
3: aload 0
iconst_m1
putfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
4: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/WrappedPlainView$WrappedLine;
0 5 2 elem Ljavax/swing/text/Element;
MethodParameters:
Name Flags
this$0 final
elem
public float getPreferredSpan(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
tableswitch { // 0 - 1
0: 1
1: 5
default: 8
}
1: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
invokevirtual javax.swing.text.WrappedPlainView.getWidth:()I
i2f
fstore 2
start local 2 2: fload 2
ldc 2.14748365E9
fcmpl
ifne 4
3: ldc 100.0
freturn
4: StackMap locals: float
StackMap stack:
fload 2
freturn
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
iflt 6
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
getfield javax.swing.text.WrappedPlainView.widthChanging:Z
ifeq 7
6: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getStartOffset:()I
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.breakLines:(I)[I
pop
7: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
getfield javax.swing.text.WrappedPlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
imul
i2f
freturn
8: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid axis: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
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
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/text/WrappedPlainView$WrappedLine;
0 9 1 axis I
2 5 2 width F
MethodParameters:
Name Flags
axis
public void paint(java.awt.Graphics, java.awt.Shape);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Shape;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=17, args_size=3
start local 0 start local 1 start local 2 0: aload 2
checkcast java.awt.Rectangle
astore 3
start local 3 1: aload 3
getfield java.awt.Rectangle.y:I
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
getfield javax.swing.text.WrappedPlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
istore 4
start local 4 2: aload 3
getfield java.awt.Rectangle.x:I
istore 5
start local 5 3: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getContainer:()Ljava/awt/Container;
checkcast javax.swing.text.JTextComponent
astore 6
start local 6 4: aload 6
invokevirtual javax.swing.text.JTextComponent.getHighlighter:()Ljavax/swing/text/Highlighter;
astore 7
start local 7 5: aload 7
instanceof javax.swing.text.LayeredHighlighter
ifeq 7
6: aload 7
checkcast javax.swing.text.LayeredHighlighter
goto 8
StackMap locals: javax.swing.text.WrappedPlainView$WrappedLine java.awt.Graphics java.awt.Shape java.awt.Rectangle int int javax.swing.text.JTextComponent javax.swing.text.Highlighter
StackMap stack:
7: aconst_null
8: StackMap locals:
StackMap stack: javax.swing.text.LayeredHighlighter
astore 8
start local 8 9: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getStartOffset:()I
istore 9
start local 9 10: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getEndOffset:()I
istore 10
start local 10 11: iload 9
istore 11
start local 11 12: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getLineEnds:()[I
astore 12
start local 12 13: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
getfield javax.swing.text.WrappedPlainView.drawLineOverridden:Z
ifeq 14
aload 1
instanceof java.awt.Graphics2D
ifeq 14
iconst_1
goto 15
StackMap locals: javax.swing.text.WrappedPlainView$WrappedLine java.awt.Graphics java.awt.Shape java.awt.Rectangle int int javax.swing.text.JTextComponent javax.swing.text.Highlighter javax.swing.text.LayeredHighlighter int int int int[]
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 13
start local 13 16: iconst_0
istore 14
start local 14 17: goto 34
18: StackMap locals: int int
StackMap stack:
aload 12
ifnonnull 19
iload 10
goto 20
19: StackMap locals:
StackMap stack:
iload 9
aload 12
iload 14
iaload
iadd
20: StackMap locals:
StackMap stack: int
istore 15
start local 15 21: aload 8
ifnull 27
22: iload 15
iload 10
if_icmpne 24
23: iload 15
iconst_1
isub
goto 25
24: StackMap locals: int
StackMap stack:
iload 15
25: StackMap locals:
StackMap stack: int
istore 16
start local 16 26: aload 8
aload 1
iload 11
iload 16
aload 2
aload 6
aload 0
invokevirtual javax.swing.text.LayeredHighlighter.paintLayeredHighlights:(Ljava/awt/Graphics;IILjava/awt/Shape;Ljavax/swing/text/JTextComponent;Ljavax/swing/text/View;)V
end local 16 27: StackMap locals:
StackMap stack:
iload 13
ifeq 30
28: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
iload 11
iload 15
aload 1
checkcast java.awt.Graphics2D
iload 5
i2f
iload 4
i2f
invokevirtual javax.swing.text.WrappedPlainView.drawLine:(IILjava/awt/Graphics2D;FF)V
29: goto 31
30: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
iload 11
iload 15
aload 1
iload 5
iload 4
invokevirtual javax.swing.text.WrappedPlainView.drawLine:(IILjava/awt/Graphics;II)V
31: StackMap locals:
StackMap stack:
iload 15
istore 11
32: iload 4
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
getfield javax.swing.text.WrappedPlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
iadd
istore 4
end local 15 33: iinc 14 1
StackMap locals:
StackMap stack:
34: iload 14
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
if_icmplt 18
end local 14 35: return
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 36 0 this Ljavax/swing/text/WrappedPlainView$WrappedLine;
0 36 1 g Ljava/awt/Graphics;
0 36 2 a Ljava/awt/Shape;
1 36 3 alloc Ljava/awt/Rectangle;
2 36 4 y I
3 36 5 x I
4 36 6 host Ljavax/swing/text/JTextComponent;
5 36 7 h Ljavax/swing/text/Highlighter;
9 36 8 dh Ljavax/swing/text/LayeredHighlighter;
10 36 9 start I
11 36 10 end I
12 36 11 p0 I
13 36 12 lineEnds [I
16 36 13 useDrawLineFP Z
17 35 14 i I
21 33 15 p1 I
26 27 16 hOffset I
MethodParameters:
Name Flags
g
a
public java.awt.Shape modelToView(int, java.awt.Shape, javax.swing.text.Position$Bias);
descriptor: (ILjava/awt/Shape;Ljavax/swing/text/Position$Bias;)Ljava/awt/Shape;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 1: aload 4
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
getfield javax.swing.text.WrappedPlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
putfield java.awt.Rectangle.height:I
2: aload 4
iconst_1
putfield java.awt.Rectangle.width:I
3: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getStartOffset:()I
istore 5
start local 5 4: iload 1
iload 5
if_icmplt 5
iload 1
aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getEndOffset:()I
if_icmple 6
5: StackMap locals: java.awt.Rectangle int
StackMap stack:
new javax.swing.text.BadLocationException
dup
ldc "Position out of range"
iload 1
invokespecial javax.swing.text.BadLocationException.<init>:(Ljava/lang/String;I)V
athrow
6: StackMap locals:
StackMap stack:
aload 3
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
if_acmpne 7
iload 1
goto 8
7: StackMap locals:
StackMap stack:
iload 5
iload 1
iconst_1
isub
invokestatic java.lang.Math.max:(II)I
8: StackMap locals:
StackMap stack: int
istore 6
start local 6 9: iconst_0
istore 7
start local 7 10: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getLineEnds:()[I
astore 8
start local 8 11: aload 8
ifnull 16
12: aload 0
iload 6
iload 5
isub
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.findLine:(I)I
istore 7
13: iload 7
ifle 15
14: iload 5
aload 8
iload 7
iconst_1
isub
iaload
iadd
istore 5
15: StackMap locals: int int int[]
StackMap stack:
aload 4
dup
getfield java.awt.Rectangle.y:I
aload 4
getfield java.awt.Rectangle.height:I
iload 7
imul
iadd
putfield java.awt.Rectangle.y:I
16: StackMap locals:
StackMap stack:
iload 1
iload 5
if_icmple 25
17: invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 9
start local 9 18: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
aload 9
iload 5
iload 1
invokevirtual javax.swing.text.WrappedPlainView.loadText:(Ljavax/swing/text/Segment;II)V
19: aload 4
getfield java.awt.Rectangle.x:I
i2f
fstore 10
start local 10 20: fload 10
aload 9
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
getfield javax.swing.text.WrappedPlainView.metrics:Ljava/awt/FontMetrics;
fload 10
21: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
iload 5
22: invokestatic javax.swing.text.Utilities.getTabbedTextWidth:(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;FLjavax/swing/text/TabExpander;I)F
fadd
fstore 10
23: aload 9
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
24: new java.awt.geom.Rectangle2D$Float
dup
fload 10
aload 4
getfield java.awt.Rectangle.y:I
i2f
aload 4
getfield java.awt.Rectangle.width:I
i2f
aload 4
getfield java.awt.Rectangle.height:I
i2f
invokespecial java.awt.geom.Rectangle2D$Float.<init>:(FFFF)V
areturn
end local 10 end local 9 25: StackMap locals:
StackMap stack:
aload 4
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 26 0 this Ljavax/swing/text/WrappedPlainView$WrappedLine;
0 26 1 pos I
0 26 2 a Ljava/awt/Shape;
0 26 3 b Ljavax/swing/text/Position$Bias;
1 26 4 alloc Ljava/awt/Rectangle;
4 26 5 p0 I
9 26 6 testP I
10 26 7 line I
11 26 8 lineEnds [I
18 25 9 segment Ljavax/swing/text/Segment;
20 25 10 x F
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
pos
a
b
public int viewToModel(float, float, java.awt.Shape, javax.swing.text.Position$Bias[]);
descriptor: (FFLjava/awt/Shape;[Ljavax/swing/text/Position$Bias;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=13, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
iconst_0
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
aastore
1: aload 3
checkcast java.awt.Rectangle
astore 5
start local 5 2: fload 1
f2i
istore 6
start local 6 3: fload 2
f2i
istore 7
start local 7 4: iload 7
aload 5
getfield java.awt.Rectangle.y:I
if_icmpge 6
5: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getStartOffset:()I
ireturn
6: StackMap locals: java.awt.Rectangle int int
StackMap stack:
iload 7
aload 5
getfield java.awt.Rectangle.y:I
aload 5
getfield java.awt.Rectangle.height:I
iadd
if_icmple 8
7: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getEndOffset:()I
iconst_1
isub
ireturn
8: StackMap locals:
StackMap stack:
aload 5
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
getfield javax.swing.text.WrappedPlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
putfield java.awt.Rectangle.height:I
9: aload 5
getfield java.awt.Rectangle.height:I
ifle 11
10: iload 7
aload 5
getfield java.awt.Rectangle.y:I
isub
aload 5
getfield java.awt.Rectangle.height:I
idiv
goto 12
StackMap locals:
StackMap stack:
11: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
iconst_1
isub
12: StackMap locals:
StackMap stack: int
istore 8
start local 8 13: iload 8
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
if_icmplt 15
14: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getEndOffset:()I
iconst_1
isub
ireturn
15: StackMap locals: int
StackMap stack:
aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getStartOffset:()I
istore 9
start local 9 16: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
iconst_1
if_icmpne 19
17: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getEndOffset:()I
istore 10
start local 10 18: goto 23
end local 10 19: StackMap locals: int
StackMap stack:
aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getLineEnds:()[I
astore 11
start local 11 20: iload 9
aload 11
iload 8
iaload
iadd
istore 10
start local 10 21: iload 8
ifle 23
22: iload 9
aload 11
iload 8
iconst_1
isub
iaload
iadd
istore 9
end local 11 23: StackMap locals: int
StackMap stack:
iload 6
aload 5
getfield java.awt.Rectangle.x:I
if_icmpge 25
24: iload 9
ireturn
25: StackMap locals:
StackMap stack:
iload 6
aload 5
getfield java.awt.Rectangle.x:I
aload 5
getfield java.awt.Rectangle.width:I
iadd
if_icmple 27
26: iload 10
iconst_1
isub
ireturn
27: StackMap locals:
StackMap stack:
invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 11
start local 11 28: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
aload 11
iload 9
iload 10
invokevirtual javax.swing.text.WrappedPlainView.loadText:(Ljavax/swing/text/Segment;II)V
29: aload 11
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
getfield javax.swing.text.WrappedPlainView.metrics:Ljava/awt/FontMetrics;
30: aload 5
getfield java.awt.Rectangle.x:I
iload 6
31: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
iload 9
32: invokestatic javax.swing.text.Utilities.getTabbedTextOffset:(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;IILjavax/swing/text/TabExpander;I)I
istore 12
start local 12 33: aload 11
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
34: iload 9
iload 12
iadd
iload 10
iconst_1
isub
invokestatic java.lang.Math.min:(II)I
ireturn
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 35 0 this Ljavax/swing/text/WrappedPlainView$WrappedLine;
0 35 1 fx F
0 35 2 fy F
0 35 3 a Ljava/awt/Shape;
0 35 4 bias [Ljavax/swing/text/Position$Bias;
2 35 5 alloc Ljava/awt/Rectangle;
3 35 6 x I
4 35 7 y I
13 35 8 line I
16 35 9 p0 I
18 19 10 p1 I
21 35 10 p1 I
20 23 11 lineEnds [I
28 35 11 segment Ljavax/swing/text/Segment;
33 35 12 n I
MethodParameters:
Name Flags
fx
fy
a
bias
public void insertUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory);
descriptor: (Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;Ljavax/swing/text/ViewFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.update:(Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/WrappedPlainView$WrappedLine;
0 2 1 e Ljavax/swing/event/DocumentEvent;
0 2 2 a Ljava/awt/Shape;
0 2 3 f Ljavax/swing/text/ViewFactory;
MethodParameters:
Name Flags
e
a
f
public void removeUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory);
descriptor: (Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;Ljavax/swing/text/ViewFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.update:(Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/WrappedPlainView$WrappedLine;
0 2 1 e Ljavax/swing/event/DocumentEvent;
0 2 2 a Ljava/awt/Shape;
0 2 3 f Ljavax/swing/text/ViewFactory;
MethodParameters:
Name Flags
e
a
f
private void update(javax.swing.event.DocumentEvent, java.awt.Shape);
descriptor: (Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
istore 3
start local 3 1: aload 0
aload 1
invokeinterface javax.swing.event.DocumentEvent.getOffset:()I
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.breakLines:(I)[I
pop
2: iload 3
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
if_icmpeq 6
3: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
aload 0
iconst_0
iconst_1
invokevirtual javax.swing.text.WrappedPlainView.preferenceChanged:(Ljavax/swing/text/View;ZZ)V
4: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getContainer:()Ljava/awt/Container;
invokevirtual java.awt.Container.repaint:()V
5: goto 10
StackMap locals: int
StackMap stack:
6: aload 2
ifnull 10
7: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getContainer:()Ljava/awt/Container;
astore 4
start local 4 8: aload 2
checkcast java.awt.Rectangle
astore 5
start local 5 9: aload 4
aload 5
getfield java.awt.Rectangle.x:I
aload 5
getfield java.awt.Rectangle.y:I
aload 5
getfield java.awt.Rectangle.width:I
aload 5
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Component.repaint:(IIII)V
end local 5 end local 4 10: StackMap locals:
StackMap stack:
return
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/WrappedPlainView$WrappedLine;
0 11 1 ev Ljavax/swing/event/DocumentEvent;
0 11 2 a Ljava/awt/Shape;
1 11 3 oldCount I
8 10 4 c Ljava/awt/Component;
9 10 5 alloc Ljava/awt/Rectangle;
MethodParameters:
Name Flags
ev
a
final int[] getLineEnds();
descriptor: ()[I
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCache:Ljava/lang/ref/SoftReference;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCache:Ljava/lang/ref/SoftReference;
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast int[]
astore 1
start local 1 3: aload 1
ifnonnull 5
4: aload 0
aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getStartOffset:()I
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.breakLines:(I)[I
areturn
5: StackMap locals: int[]
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/WrappedPlainView$WrappedLine;
3 6 1 lineEnds [I
final int[] breakLines(int);
descriptor: (I)[I
flags: (0x0010) ACC_FINAL
Code:
stack=5, locals=13, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCache:Ljava/lang/ref/SoftReference;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCache:Ljava/lang/ref/SoftReference;
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast int[]
StackMap locals:
StackMap stack: int[]
2: astore 2
start local 2 3: aload 2
astore 3
start local 3 4: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getStartOffset:()I
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: aload 2
ifnull 10
7: aload 0
iload 1
iload 4
isub
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.findLine:(I)I
istore 5
8: iload 5
ifle 10
9: iinc 5 -1
10: StackMap locals: javax.swing.text.WrappedPlainView$WrappedLine int int[] int[] int int
StackMap stack:
iload 5
ifne 11
iload 4
goto 12
StackMap locals:
StackMap stack:
11: iload 4
aload 2
iload 5
iconst_1
isub
iaload
iadd
StackMap locals:
StackMap stack: int
12: istore 6
start local 6 13: aload 0
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.getEndOffset:()I
istore 7
start local 7 14: goto 33
15: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.this$0:Ljavax/swing/text/WrappedPlainView;
iload 6
iload 7
invokevirtual javax.swing.text.WrappedPlainView.calculateBreakPosition:(II)I
istore 8
start local 8 16: iload 8
iload 6
if_icmpne 17
iinc 8 1
iload 8
goto 18
StackMap locals: int
StackMap stack:
17: iload 8
StackMap locals:
StackMap stack: int
18: istore 6
19: iload 5
ifne 24
iload 6
iload 7
if_icmplt 24
20: aload 0
aconst_null
putfield javax.swing.text.WrappedPlainView$WrappedLine.lineCache:Ljava/lang/ref/SoftReference;
21: aconst_null
astore 2
22: iconst_1
istore 5
23: goto 34
24: StackMap locals:
StackMap stack:
aload 2
ifnull 25
iload 5
aload 2
arraylength
if_icmplt 32
25: StackMap locals:
StackMap stack:
iload 7
iload 4
isub
i2d
iload 6
iload 4
isub
i2d
ddiv
dstore 9
start local 9 26: iload 5
iconst_1
iadd
i2d
dload 9
dmul
invokestatic java.lang.Math.ceil:(D)D
d2i
istore 11
start local 11 27: iload 11
iload 5
iconst_2
iadd
invokestatic java.lang.Math.max:(II)I
istore 11
28: iload 11
newarray 10
astore 12
start local 12 29: aload 2
ifnull 31
30: aload 2
iconst_0
aload 12
iconst_0
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
31: StackMap locals: double int int[]
StackMap stack:
aload 12
astore 2
end local 12 end local 11 end local 9 32: StackMap locals:
StackMap stack:
aload 2
iload 5
iinc 5 1
iload 6
iload 4
isub
iastore
end local 8 33: StackMap locals:
StackMap stack:
iload 6
iload 7
if_icmplt 15
34: StackMap locals:
StackMap stack:
aload 0
iload 5
putfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
35: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
iconst_1
if_icmple 41
36: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
iconst_3
idiv
iadd
istore 8
start local 8 37: aload 2
arraylength
iload 8
if_icmple 41
38: iload 8
newarray 10
astore 9
start local 9 39: aload 2
iconst_0
aload 9
iconst_0
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
40: aload 9
astore 2
end local 9 end local 8 41: StackMap locals:
StackMap stack:
aload 2
ifnull 43
aload 2
aload 3
if_acmpeq 43
42: aload 0
new java.lang.ref.SoftReference
dup
aload 2
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
putfield javax.swing.text.WrappedPlainView$WrappedLine.lineCache:Ljava/lang/ref/SoftReference;
43: StackMap locals:
StackMap stack:
aload 2
areturn
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 44 0 this Ljavax/swing/text/WrappedPlainView$WrappedLine;
0 44 1 startPos I
3 44 2 lineEnds [I
4 44 3 oldLineEnds [I
5 44 4 start I
6 44 5 lineIndex I
13 44 6 p0 I
14 44 7 p1 I
16 33 8 p I
26 32 9 growFactor D
27 32 11 newSize I
29 32 12 tmp [I
37 41 8 maxCapacity I
39 41 9 tmp [I
MethodParameters:
Name Flags
startPos
private int findLine(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCache:Ljava/lang/ref/SoftReference;
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast int[]
astore 2
start local 2 1: iload 1
aload 2
iconst_0
iaload
if_icmpge 3
2: iconst_0
ireturn
3: StackMap locals: int[]
StackMap stack:
iload 1
aload 2
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
iconst_1
isub
iaload
if_icmple 5
4: aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
ireturn
5: StackMap locals:
StackMap stack:
aload 0
aload 2
iload 1
iconst_0
aload 0
getfield javax.swing.text.WrappedPlainView$WrappedLine.lineCount:I
iconst_1
isub
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.findLine:([IIII)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/WrappedPlainView$WrappedLine;
0 6 1 offset I
1 6 2 lineEnds [I
MethodParameters:
Name Flags
offset
private int findLine(int[], int, int, int);
descriptor: ([IIII)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 4
iload 3
isub
iconst_1
if_icmpgt 2
1: iload 4
ireturn
2: StackMap locals:
StackMap stack:
iload 4
iload 3
iadd
iconst_2
idiv
istore 5
start local 5 3: iload 2
aload 1
iload 5
iaload
if_icmpge 5
4: aload 0
aload 1
iload 2
iload 3
iload 5
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.findLine:([IIII)I
goto 6
5: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
iload 5
iload 4
invokevirtual javax.swing.text.WrappedPlainView$WrappedLine.findLine:([IIII)I
6: StackMap locals:
StackMap stack: int
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/WrappedPlainView$WrappedLine;
0 7 1 array [I
0 7 2 offset I
0 7 3 min I
0 7 4 max I
3 7 5 mid I
MethodParameters:
Name Flags
array
offset
min
max
}
SourceFile: "WrappedPlainView.java"
NestHost: javax.swing.text.WrappedPlainView
InnerClasses:
public Float = java.awt.geom.Rectangle2D$Float of java.awt.geom.Rectangle2D
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position
WrappedLine = javax.swing.text.WrappedPlainView$WrappedLine of javax.swing.text.WrappedPlainView