public class javax.swing.text.PlainView extends javax.swing.text.View implements javax.swing.text.TabExpander
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.PlainView
super_class: javax.swing.text.View
{
protected java.awt.FontMetrics metrics;
descriptor: Ljava/awt/FontMetrics;
flags: (0x0004) ACC_PROTECTED
javax.swing.text.Element longLine;
descriptor: Ljavax/swing/text/Element;
flags: (0x0000)
java.awt.Font font;
descriptor: Ljava/awt/Font;
flags: (0x0000)
javax.swing.text.Segment lineBuffer;
descriptor: Ljavax/swing/text/Segment;
flags: (0x0000)
int tabSize;
descriptor: I
flags: (0x0000)
int tabBase;
descriptor: I
flags: (0x0000)
int sel0;
descriptor: I
flags: (0x0000)
int sel1;
descriptor: I
flags: (0x0000)
java.awt.Color unselected;
descriptor: Ljava/awt/Color;
flags: (0x0000)
java.awt.Color selected;
descriptor: Ljava/awt/Color;
flags: (0x0000)
int firstLineOffset;
descriptor: I
flags: (0x0000)
public void <init>(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.text.View.<init>:(Ljavax/swing/text/Element;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/PlainView;
0 2 1 elem Ljavax/swing/text/Element;
MethodParameters:
Name Flags
elem
protected int getTabSize();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.PlainView.getDocument:()Ljavax/swing/text/Document;
ldc "tabSize"
invokeinterface javax.swing.text.Document.getProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual java.lang.Integer.intValue:()I
goto 3
StackMap locals: java.lang.Integer
StackMap stack:
2: bipush 8
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/PlainView;
1 5 1 i Ljava/lang/Integer;
4 5 2 size I
protected void drawLine(int, java.awt.Graphics, int, int);
descriptor: (ILjava/awt/Graphics;II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual javax.swing.text.PlainView.getElement:()Ljavax/swing/text/Element;
iload 1
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 5
start local 5 1: aload 5
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifeq 4
2: aload 0
iload 1
aload 5
aload 2
iload 3
iload 4
invokevirtual javax.swing.text.PlainView.drawElement:(ILjavax/swing/text/Element;Ljava/awt/Graphics;II)I
pop
3: goto 14
4: StackMap locals: javax.swing.text.Element
StackMap stack:
aload 5
invokeinterface javax.swing.text.Element.getElementCount:()I
istore 7
start local 7 5: iconst_0
istore 8
start local 8 6: goto 10
7: StackMap locals: javax.swing.text.PlainView int java.awt.Graphics int int javax.swing.text.Element top int int
StackMap stack:
aload 5
iload 8
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 6
start local 6 8: aload 0
iload 1
aload 6
aload 2
iload 3
iload 4
invokevirtual javax.swing.text.PlainView.drawElement:(ILjavax/swing/text/Element;Ljava/awt/Graphics;II)I
istore 3
9: iinc 8 1
end local 6 StackMap locals:
StackMap stack:
10: iload 8
iload 7
if_icmplt 7
end local 8 end local 7 11: goto 14
StackMap locals: javax.swing.text.PlainView int java.awt.Graphics int int javax.swing.text.Element
StackMap stack: javax.swing.text.BadLocationException
12: pop
13: new javax.swing.text.StateInvariantError
dup
new java.lang.StringBuilder
dup
ldc "Can't render line: "
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 javax.swing.text.StateInvariantError.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
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 15 0 this Ljavax/swing/text/PlainView;
0 15 1 lineIndex I
0 15 2 g Ljava/awt/Graphics;
0 15 3 x I
0 15 4 y I
1 15 5 line Ljavax/swing/text/Element;
8 10 6 elem Ljavax/swing/text/Element;
5 11 7 count I
6 11 8 i I
Exception table:
from to target type
1 11 12 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
lineIndex
g
x
y
private int drawElement(int, javax.swing.text.Element, java.awt.Graphics, int, int);
descriptor: (ILjavax/swing/text/Element;Ljava/awt/Graphics;II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, 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 2
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 6
start local 6 1: aload 2
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 7
start local 7 2: aload 0
invokevirtual javax.swing.text.PlainView.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
iload 7
invokestatic java.lang.Math.min:(II)I
istore 7
3: iload 1
ifne 5
4: iload 4
aload 0
getfield javax.swing.text.PlainView.firstLineOffset:I
iadd
istore 4
5: StackMap locals: int int
StackMap stack:
aload 2
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 8
start local 8 6: aload 8
invokestatic javax.swing.text.Utilities.isComposedTextAttributeDefined:(Ljavax/swing/text/AttributeSet;)Z
ifeq 13
7: aload 3
aload 0
getfield javax.swing.text.PlainView.unselected:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
8: aload 0
aload 8
aload 3
iload 4
iload 5
9: iload 6
aload 2
invokeinterface javax.swing.text.Element.getStartOffset:()I
isub
10: iload 7
aload 2
invokeinterface javax.swing.text.Element.getStartOffset:()I
isub
11: invokestatic javax.swing.text.Utilities.drawComposedText:(Ljavax/swing/text/View;Ljavax/swing/text/AttributeSet;Ljava/awt/Graphics;IIII)I
istore 4
12: goto 33
13: StackMap locals: javax.swing.text.AttributeSet
StackMap stack:
aload 0
getfield javax.swing.text.PlainView.sel0:I
aload 0
getfield javax.swing.text.PlainView.sel1:I
if_icmpeq 14
aload 0
getfield javax.swing.text.PlainView.selected:Ljava/awt/Color;
aload 0
getfield javax.swing.text.PlainView.unselected:Ljava/awt/Color;
if_acmpne 16
14: StackMap locals:
StackMap stack:
aload 0
aload 3
iload 4
iload 5
iload 6
iload 7
invokevirtual javax.swing.text.PlainView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
istore 4
15: goto 33
StackMap locals:
StackMap stack:
16: iload 6
aload 0
getfield javax.swing.text.PlainView.sel0:I
if_icmplt 19
iload 6
aload 0
getfield javax.swing.text.PlainView.sel1:I
if_icmpgt 19
iload 7
aload 0
getfield javax.swing.text.PlainView.sel0:I
if_icmplt 19
iload 7
aload 0
getfield javax.swing.text.PlainView.sel1:I
if_icmpgt 19
17: aload 0
aload 3
iload 4
iload 5
iload 6
iload 7
invokevirtual javax.swing.text.PlainView.drawSelectedText:(Ljava/awt/Graphics;IIII)I
istore 4
18: goto 33
StackMap locals:
StackMap stack:
19: aload 0
getfield javax.swing.text.PlainView.sel0:I
iload 6
if_icmplt 28
aload 0
getfield javax.swing.text.PlainView.sel0:I
iload 7
if_icmpgt 28
20: aload 0
getfield javax.swing.text.PlainView.sel1:I
iload 6
if_icmplt 25
aload 0
getfield javax.swing.text.PlainView.sel1:I
iload 7
if_icmpgt 25
21: aload 0
aload 3
iload 4
iload 5
iload 6
aload 0
getfield javax.swing.text.PlainView.sel0:I
invokevirtual javax.swing.text.PlainView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
istore 4
22: aload 0
aload 3
iload 4
iload 5
aload 0
getfield javax.swing.text.PlainView.sel0:I
aload 0
getfield javax.swing.text.PlainView.sel1:I
invokevirtual javax.swing.text.PlainView.drawSelectedText:(Ljava/awt/Graphics;IIII)I
istore 4
23: aload 0
aload 3
iload 4
iload 5
aload 0
getfield javax.swing.text.PlainView.sel1:I
iload 7
invokevirtual javax.swing.text.PlainView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
istore 4
24: goto 33
25: StackMap locals:
StackMap stack:
aload 0
aload 3
iload 4
iload 5
iload 6
aload 0
getfield javax.swing.text.PlainView.sel0:I
invokevirtual javax.swing.text.PlainView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
istore 4
26: aload 0
aload 3
iload 4
iload 5
aload 0
getfield javax.swing.text.PlainView.sel0:I
iload 7
invokevirtual javax.swing.text.PlainView.drawSelectedText:(Ljava/awt/Graphics;IIII)I
istore 4
27: goto 33
StackMap locals:
StackMap stack:
28: aload 0
getfield javax.swing.text.PlainView.sel1:I
iload 6
if_icmplt 32
aload 0
getfield javax.swing.text.PlainView.sel1:I
iload 7
if_icmpgt 32
29: aload 0
aload 3
iload 4
iload 5
iload 6
aload 0
getfield javax.swing.text.PlainView.sel1:I
invokevirtual javax.swing.text.PlainView.drawSelectedText:(Ljava/awt/Graphics;IIII)I
istore 4
30: aload 0
aload 3
iload 4
iload 5
aload 0
getfield javax.swing.text.PlainView.sel1:I
iload 7
invokevirtual javax.swing.text.PlainView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
istore 4
31: goto 33
32: StackMap locals:
StackMap stack:
aload 0
aload 3
iload 4
iload 5
iload 6
iload 7
invokevirtual javax.swing.text.PlainView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
istore 4
33: StackMap locals:
StackMap stack:
iload 4
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 34 0 this Ljavax/swing/text/PlainView;
0 34 1 lineIndex I
0 34 2 elem Ljavax/swing/text/Element;
0 34 3 g Ljava/awt/Graphics;
0 34 4 x I
0 34 5 y I
1 34 6 p0 I
2 34 7 p1 I
6 34 8 attr Ljavax/swing/text/AttributeSet;
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
lineIndex
elem
g
x
y
protected int drawUnselectedText(java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Graphics;IIII)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, 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 1
aload 0
getfield javax.swing.text.PlainView.unselected:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
1: aload 0
invokevirtual javax.swing.text.PlainView.getDocument:()Ljavax/swing/text/Document;
astore 6
start local 6 2: invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 7
start local 7 3: aload 6
iload 4
iload 5
iload 4
isub
aload 7
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
4: aload 0
aload 7
iload 2
iload 3
aload 1
aload 0
iload 4
invokestatic javax.swing.text.Utilities.drawTabbedText:(Ljavax/swing/text/View;Ljavax/swing/text/Segment;IILjava/awt/Graphics;Ljavax/swing/text/TabExpander;I)I
istore 8
start local 8 5: aload 7
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
6: iload 8
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 7 0 this Ljavax/swing/text/PlainView;
0 7 1 g Ljava/awt/Graphics;
0 7 2 x I
0 7 3 y I
0 7 4 p0 I
0 7 5 p1 I
2 7 6 doc Ljavax/swing/text/Document;
3 7 7 s Ljavax/swing/text/Segment;
5 7 8 ret I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
g
x
y
p0
p1
protected int drawSelectedText(java.awt.Graphics, int, int, int, int);
descriptor: (Ljava/awt/Graphics;IIII)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, 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 1
aload 0
getfield javax.swing.text.PlainView.selected:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
1: aload 0
invokevirtual javax.swing.text.PlainView.getDocument:()Ljavax/swing/text/Document;
astore 6
start local 6 2: invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 7
start local 7 3: aload 6
iload 4
iload 5
iload 4
isub
aload 7
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
4: aload 0
aload 7
iload 2
iload 3
aload 1
aload 0
iload 4
invokestatic javax.swing.text.Utilities.drawTabbedText:(Ljavax/swing/text/View;Ljavax/swing/text/Segment;IILjava/awt/Graphics;Ljavax/swing/text/TabExpander;I)I
istore 8
start local 8 5: aload 7
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
6: iload 8
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 7 0 this Ljavax/swing/text/PlainView;
0 7 1 g Ljava/awt/Graphics;
0 7 2 x I
0 7 3 y I
0 7 4 p0 I
0 7 5 p1 I
2 7 6 doc Ljavax/swing/text/Document;
3 7 7 s Ljavax/swing/text/Segment;
5 7 8 ret I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
g
x
y
p0
p1
protected final javax.swing.text.Segment getLineBuffer();
descriptor: ()Ljavax/swing/text/Segment;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.PlainView.lineBuffer:Ljavax/swing/text/Segment;
ifnonnull 2
1: aload 0
new javax.swing.text.Segment
dup
invokespecial javax.swing.text.Segment.<init>:()V
putfield javax.swing.text.PlainView.lineBuffer:Ljavax/swing/text/Segment;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.PlainView.lineBuffer:Ljavax/swing/text/Segment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/PlainView;
protected void updateMetrics();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.PlainView.getContainer:()Ljava/awt/Container;
astore 1
start local 1 1: aload 1
invokevirtual java.awt.Component.getFont:()Ljava/awt/Font;
astore 2
start local 2 2: aload 0
getfield javax.swing.text.PlainView.font:Ljava/awt/Font;
aload 2
if_acmpeq 5
3: aload 0
invokevirtual javax.swing.text.PlainView.calculateLongestLine:()V
4: aload 0
aload 0
invokevirtual javax.swing.text.PlainView.getTabSize:()I
aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
bipush 109
invokevirtual java.awt.FontMetrics.charWidth:(C)I
imul
putfield javax.swing.text.PlainView.tabSize:I
5: StackMap locals: java.awt.Component java.awt.Font
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/PlainView;
1 6 1 host Ljava/awt/Component;
2 6 2 f Ljava/awt/Font;
public float getPreferredSpan(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.PlainView.updateMetrics:()V
1: iload 1
tableswitch { // 0 - 1
0: 2
1: 3
default: 4
}
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.swing.text.PlainView.longLine:Ljavax/swing/text/Element;
invokevirtual javax.swing.text.PlainView.getLineWidth:(Ljavax/swing/text/Element;)I
i2f
freturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.PlainView.getElement:()Ljavax/swing/text/Element;
invokeinterface javax.swing.text.Element.getElementCount:()I
aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
imul
i2f
freturn
4: 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 5 0 this Ljavax/swing/text/PlainView;
0 5 1 axis I
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=24, args_size=3
start local 0 start local 1 start local 2 0: aload 2
astore 3
start local 3 1: aload 0
aload 2
invokevirtual javax.swing.text.PlainView.adjustPaintRegion:(Ljava/awt/Shape;)Ljava/awt/Shape;
astore 2
2: aload 2
checkcast java.awt.Rectangle
astore 4
start local 4 3: aload 0
aload 4
getfield java.awt.Rectangle.x:I
putfield javax.swing.text.PlainView.tabBase:I
4: aload 0
invokevirtual javax.swing.text.PlainView.getContainer:()Ljava/awt/Container;
checkcast javax.swing.text.JTextComponent
astore 5
start local 5 5: aload 5
invokevirtual javax.swing.text.JTextComponent.getHighlighter:()Ljavax/swing/text/Highlighter;
astore 6
start local 6 6: aload 1
aload 5
invokevirtual javax.swing.text.JTextComponent.getFont:()Ljava/awt/Font;
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
7: aload 0
aload 5
invokevirtual javax.swing.text.JTextComponent.getSelectionStart:()I
putfield javax.swing.text.PlainView.sel0:I
8: aload 0
aload 5
invokevirtual javax.swing.text.JTextComponent.getSelectionEnd:()I
putfield javax.swing.text.PlainView.sel1:I
9: aload 0
aload 5
invokevirtual javax.swing.text.JTextComponent.isEnabled:()Z
ifeq 11
10: aload 5
invokevirtual javax.swing.text.JTextComponent.getForeground:()Ljava/awt/Color;
goto 12
StackMap locals: javax.swing.text.PlainView java.awt.Graphics java.awt.Shape java.awt.Shape java.awt.Rectangle javax.swing.text.JTextComponent javax.swing.text.Highlighter
StackMap stack: javax.swing.text.PlainView
11: aload 5
invokevirtual javax.swing.text.JTextComponent.getDisabledTextColor:()Ljava/awt/Color;
12: StackMap locals: javax.swing.text.PlainView java.awt.Graphics java.awt.Shape java.awt.Shape java.awt.Rectangle javax.swing.text.JTextComponent javax.swing.text.Highlighter
StackMap stack: javax.swing.text.PlainView java.awt.Color
putfield javax.swing.text.PlainView.unselected:Ljava/awt/Color;
13: aload 5
invokevirtual javax.swing.text.JTextComponent.getCaret:()Ljavax/swing/text/Caret;
astore 7
start local 7 14: aload 0
aload 7
invokeinterface javax.swing.text.Caret.isSelectionVisible:()Z
ifeq 16
aload 6
ifnull 16
15: aload 5
invokevirtual javax.swing.text.JTextComponent.getSelectedTextColor:()Ljava/awt/Color;
goto 17
StackMap locals: javax.swing.text.PlainView java.awt.Graphics java.awt.Shape java.awt.Shape java.awt.Rectangle javax.swing.text.JTextComponent javax.swing.text.Highlighter javax.swing.text.Caret
StackMap stack: javax.swing.text.PlainView
16: aload 0
getfield javax.swing.text.PlainView.unselected:Ljava/awt/Color;
17: StackMap locals: javax.swing.text.PlainView java.awt.Graphics java.awt.Shape java.awt.Shape java.awt.Rectangle javax.swing.text.JTextComponent javax.swing.text.Highlighter javax.swing.text.Caret
StackMap stack: javax.swing.text.PlainView java.awt.Color
putfield javax.swing.text.PlainView.selected:Ljava/awt/Color;
18: aload 0
invokevirtual javax.swing.text.PlainView.updateMetrics:()V
19: aload 1
invokevirtual java.awt.Graphics.getClipBounds:()Ljava/awt/Rectangle;
astore 8
start local 8 20: aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
istore 9
start local 9 21: aload 4
getfield java.awt.Rectangle.y:I
aload 4
getfield java.awt.Rectangle.height:I
iadd
aload 8
getfield java.awt.Rectangle.y:I
aload 8
getfield java.awt.Rectangle.height:I
iadd
isub
istore 10
start local 10 22: aload 8
getfield java.awt.Rectangle.y:I
aload 4
getfield java.awt.Rectangle.y:I
isub
istore 11
start local 11 23: iload 9
ifle 30
24: iconst_0
iload 10
iload 9
idiv
invokestatic java.lang.Math.max:(II)I
istore 12
start local 12 25: iconst_0
iload 11
iload 9
idiv
invokestatic java.lang.Math.max:(II)I
istore 13
start local 13 26: aload 4
getfield java.awt.Rectangle.height:I
iload 9
idiv
istore 14
start local 14 27: aload 4
getfield java.awt.Rectangle.height:I
iload 9
irem
ifeq 33
28: iinc 14 1
29: goto 33
end local 14 end local 13 end local 12 30: StackMap locals: javax.swing.text.PlainView java.awt.Graphics java.awt.Shape java.awt.Shape java.awt.Rectangle javax.swing.text.JTextComponent javax.swing.text.Highlighter javax.swing.text.Caret java.awt.Rectangle int int int
StackMap stack:
iconst_0
dup
istore 14
start local 14 31: dup
istore 13
start local 13 32: istore 12
start local 12 33: StackMap locals: int int int
StackMap stack:
aload 0
aload 2
iload 13
invokevirtual javax.swing.text.PlainView.lineToRect:(Ljava/awt/Shape;I)Ljava/awt/Rectangle;
astore 15
start local 15 34: aload 15
getfield java.awt.Rectangle.y:I
aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getAscent:()I
iadd
istore 16
start local 16 35: aload 15
getfield java.awt.Rectangle.x:I
istore 17
start local 17 36: aload 0
invokevirtual javax.swing.text.PlainView.getElement:()Ljavax/swing/text/Element;
astore 18
start local 18 37: aload 18
invokeinterface javax.swing.text.Element.getElementCount:()I
istore 19
start local 19 38: iload 19
iload 14
iload 12
isub
invokestatic java.lang.Math.min:(II)I
istore 20
start local 20 39: iinc 19 -1
40: aload 6
instanceof javax.swing.text.LayeredHighlighter
ifeq 42
41: aload 6
checkcast javax.swing.text.LayeredHighlighter
goto 43
StackMap locals: javax.swing.text.PlainView java.awt.Graphics java.awt.Shape java.awt.Shape java.awt.Rectangle javax.swing.text.JTextComponent javax.swing.text.Highlighter javax.swing.text.Caret java.awt.Rectangle int int int int int int java.awt.Rectangle int int javax.swing.text.Element int int
StackMap stack:
42: aconst_null
43: StackMap locals:
StackMap stack: javax.swing.text.LayeredHighlighter
astore 21
start local 21 44: iload 13
istore 22
start local 22 45: goto 63
46: StackMap locals: javax.swing.text.LayeredHighlighter int
StackMap stack:
aload 21
ifnull 58
47: aload 18
iload 22
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 23
start local 23 48: iload 22
iload 19
if_icmpne 54
49: aload 21
aload 1
aload 23
invokeinterface javax.swing.text.Element.getStartOffset:()I
50: aload 23
invokeinterface javax.swing.text.Element.getEndOffset:()I
51: aload 3
aload 5
aload 0
52: invokevirtual javax.swing.text.LayeredHighlighter.paintLayeredHighlights:(Ljava/awt/Graphics;IILjava/awt/Shape;Ljavax/swing/text/JTextComponent;Ljavax/swing/text/View;)V
53: goto 58
54: StackMap locals: javax.swing.text.Element
StackMap stack:
aload 21
aload 1
aload 23
invokeinterface javax.swing.text.Element.getStartOffset:()I
55: aload 23
invokeinterface javax.swing.text.Element.getEndOffset:()I
iconst_1
isub
56: aload 3
aload 5
aload 0
57: invokevirtual javax.swing.text.LayeredHighlighter.paintLayeredHighlights:(Ljava/awt/Graphics;IILjava/awt/Shape;Ljavax/swing/text/JTextComponent;Ljavax/swing/text/View;)V
end local 23 58: StackMap locals:
StackMap stack:
aload 0
iload 22
aload 1
iload 17
iload 16
invokevirtual javax.swing.text.PlainView.drawLine:(ILjava/awt/Graphics;II)V
59: iload 16
iload 9
iadd
istore 16
60: iload 22
ifne 62
61: iload 17
aload 0
getfield javax.swing.text.PlainView.firstLineOffset:I
isub
istore 17
62: StackMap locals:
StackMap stack:
iinc 22 1
StackMap locals:
StackMap stack:
63: iload 22
iload 20
if_icmplt 46
end local 22 64: return
end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 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 65 0 this Ljavax/swing/text/PlainView;
0 65 1 g Ljava/awt/Graphics;
0 65 2 a Ljava/awt/Shape;
1 65 3 originalA Ljava/awt/Shape;
3 65 4 alloc Ljava/awt/Rectangle;
5 65 5 host Ljavax/swing/text/JTextComponent;
6 65 6 h Ljavax/swing/text/Highlighter;
14 65 7 c Ljavax/swing/text/Caret;
20 65 8 clip Ljava/awt/Rectangle;
21 65 9 fontHeight I
22 65 10 heightBelow I
23 65 11 heightAbove I
25 30 12 linesBelow I
33 65 12 linesBelow I
26 30 13 linesAbove I
32 65 13 linesAbove I
27 30 14 linesTotal I
31 65 14 linesTotal I
34 65 15 lineArea Ljava/awt/Rectangle;
35 65 16 y I
36 65 17 x I
37 65 18 map Ljavax/swing/text/Element;
38 65 19 lineCount I
39 65 20 endLine I
44 65 21 dh Ljavax/swing/text/LayeredHighlighter;
45 64 22 line I
48 58 23 lineElement Ljavax/swing/text/Element;
MethodParameters:
Name Flags
g
a
java.awt.Shape adjustPaintRegion(java.awt.Shape);
descriptor: (Ljava/awt/Shape;)Ljava/awt/Shape;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/PlainView;
0 1 1 a Ljava/awt/Shape;
MethodParameters:
Name Flags
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=5, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual javax.swing.text.PlainView.getDocument:()Ljavax/swing/text/Document;
astore 4
start local 4 1: aload 0
invokevirtual javax.swing.text.PlainView.getElement:()Ljavax/swing/text/Element;
astore 5
start local 5 2: aload 5
iload 1
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
istore 6
start local 6 3: iload 6
ifge 5
4: aload 0
aload 2
iconst_0
invokevirtual javax.swing.text.PlainView.lineToRect:(Ljava/awt/Shape;I)Ljava/awt/Rectangle;
areturn
5: StackMap locals: javax.swing.text.Document javax.swing.text.Element int
StackMap stack:
aload 0
aload 2
iload 6
invokevirtual javax.swing.text.PlainView.lineToRect:(Ljava/awt/Shape;I)Ljava/awt/Rectangle;
astore 7
start local 7 6: aload 0
aload 7
getfield java.awt.Rectangle.x:I
putfield javax.swing.text.PlainView.tabBase:I
7: aload 5
iload 6
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 8
start local 8 8: aload 8
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 9
start local 9 9: invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 10
start local 10 10: aload 4
iload 9
iload 1
iload 9
isub
aload 10
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
11: aload 10
aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
aload 0
getfield javax.swing.text.PlainView.tabBase:I
aload 0
iload 9
invokestatic javax.swing.text.Utilities.getTabbedTextWidth:(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;ILjavax/swing/text/TabExpander;I)I
istore 11
start local 11 12: aload 10
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
13: aload 7
dup
getfield java.awt.Rectangle.x:I
iload 11
iadd
putfield java.awt.Rectangle.x:I
14: aload 7
iconst_1
putfield java.awt.Rectangle.width:I
15: aload 7
aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
putfield java.awt.Rectangle.height:I
16: aload 7
areturn
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 17 0 this Ljavax/swing/text/PlainView;
0 17 1 pos I
0 17 2 a Ljava/awt/Shape;
0 17 3 b Ljavax/swing/text/Position$Bias;
1 17 4 doc Ljavax/swing/text/Document;
2 17 5 map Ljavax/swing/text/Element;
3 17 6 lineIndex I
6 17 7 lineArea Ljava/awt/Rectangle;
8 17 8 line Ljavax/swing/text/Element;
9 17 9 p0 I
10 17 10 s Ljavax/swing/text/Segment;
12 17 11 xOffs I
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=7, locals=17, 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
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
astore 5
start local 5 2: aload 0
invokevirtual javax.swing.text.PlainView.getDocument:()Ljavax/swing/text/Document;
astore 6
start local 6 3: fload 1
f2i
istore 7
start local 7 4: fload 2
f2i
istore 8
start local 8 5: iload 8
aload 5
getfield java.awt.Rectangle.y:I
if_icmpge 7
6: aload 0
invokevirtual javax.swing.text.PlainView.getStartOffset:()I
ireturn
7: StackMap locals: javax.swing.text.PlainView float float java.awt.Shape javax.swing.text.Position$Bias[] java.awt.Rectangle javax.swing.text.Document int int
StackMap stack:
iload 8
aload 5
getfield java.awt.Rectangle.y:I
aload 5
getfield java.awt.Rectangle.height:I
iadd
if_icmple 9
8: aload 0
invokevirtual javax.swing.text.PlainView.getEndOffset:()I
iconst_1
isub
ireturn
9: StackMap locals:
StackMap stack:
aload 6
invokeinterface javax.swing.text.Document.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 9
start local 9 10: aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
istore 10
start local 10 11: iload 10
ifle 13
12: iload 8
aload 5
getfield java.awt.Rectangle.y:I
isub
iload 10
idiv
invokestatic java.lang.Math.abs:(I)I
goto 14
13: StackMap locals: javax.swing.text.Element int
StackMap stack:
aload 9
invokeinterface javax.swing.text.Element.getElementCount:()I
iconst_1
isub
14: StackMap locals:
StackMap stack: int
istore 11
start local 11 15: iload 11
aload 9
invokeinterface javax.swing.text.Element.getElementCount:()I
if_icmplt 17
16: aload 0
invokevirtual javax.swing.text.PlainView.getEndOffset:()I
iconst_1
isub
ireturn
17: StackMap locals: int
StackMap stack:
aload 9
iload 11
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 12
start local 12 18: iload 11
ifne 21
19: aload 5
dup
getfield java.awt.Rectangle.x:I
aload 0
getfield javax.swing.text.PlainView.firstLineOffset:I
iadd
putfield java.awt.Rectangle.x:I
20: aload 5
dup
getfield java.awt.Rectangle.width:I
aload 0
getfield javax.swing.text.PlainView.firstLineOffset:I
isub
putfield java.awt.Rectangle.width:I
21: StackMap locals: javax.swing.text.Element
StackMap stack:
iload 7
aload 5
getfield java.awt.Rectangle.x:I
if_icmpge 23
22: aload 12
invokeinterface javax.swing.text.Element.getStartOffset:()I
ireturn
23: StackMap locals:
StackMap stack:
iload 7
aload 5
getfield java.awt.Rectangle.x:I
aload 5
getfield java.awt.Rectangle.width:I
iadd
if_icmple 25
24: aload 12
invokeinterface javax.swing.text.Element.getEndOffset:()I
iconst_1
isub
ireturn
25: StackMap locals:
StackMap stack:
aload 12
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 13
start local 13 26: aload 12
invokeinterface javax.swing.text.Element.getEndOffset:()I
iconst_1
isub
istore 14
start local 14 27: invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 15
start local 15 28: aload 6
iload 13
iload 14
iload 13
isub
aload 15
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
29: aload 0
aload 5
getfield java.awt.Rectangle.x:I
putfield javax.swing.text.PlainView.tabBase:I
30: iload 13
aload 15
aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
31: aload 0
getfield javax.swing.text.PlainView.tabBase:I
iload 7
aload 0
iload 13
32: invokestatic javax.swing.text.Utilities.getTabbedTextOffset:(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;IILjavax/swing/text/TabExpander;I)I
iadd
istore 16
start local 16 33: aload 15
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
34: iload 16
35: ireturn
end local 16 end local 15 end local 14 end local 13 36: StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
pop
37: iconst_m1
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 38 0 this Ljavax/swing/text/PlainView;
0 38 1 fx F
0 38 2 fy F
0 38 3 a Ljava/awt/Shape;
0 38 4 bias [Ljavax/swing/text/Position$Bias;
2 38 5 alloc Ljava/awt/Rectangle;
3 38 6 doc Ljavax/swing/text/Document;
4 38 7 x I
5 38 8 y I
10 38 9 map Ljavax/swing/text/Element;
11 38 10 fontHeight I
15 38 11 lineIndex I
18 38 12 line Ljavax/swing/text/Element;
26 36 13 p0 I
27 36 14 p1 I
28 36 15 s Ljavax/swing/text/Segment;
33 36 16 offs I
Exception table:
from to target type
25 35 36 Class javax.swing.text.BadLocationException
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=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual javax.swing.text.PlainView.updateDamage:(Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;Ljavax/swing/text/ViewFactory;)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/PlainView;
0 2 1 changes Ljavax/swing/event/DocumentEvent;
0 2 2 a Ljava/awt/Shape;
0 2 3 f Ljavax/swing/text/ViewFactory;
MethodParameters:
Name Flags
changes
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=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual javax.swing.text.PlainView.updateDamage:(Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;Ljavax/swing/text/ViewFactory;)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/PlainView;
0 2 1 changes Ljavax/swing/event/DocumentEvent;
0 2 2 a Ljava/awt/Shape;
0 2 3 f Ljavax/swing/text/ViewFactory;
MethodParameters:
Name Flags
changes
a
f
public void changedUpdate(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=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual javax.swing.text.PlainView.updateDamage:(Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;Ljavax/swing/text/ViewFactory;)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/PlainView;
0 2 1 changes Ljavax/swing/event/DocumentEvent;
0 2 2 a Ljava/awt/Shape;
0 2 3 f Ljavax/swing/text/ViewFactory;
MethodParameters:
Name Flags
changes
a
f
public void setSize(float, float);
descriptor: (FF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
fload 1
fload 2
invokespecial javax.swing.text.View.setSize:(FF)V
1: aload 0
invokevirtual javax.swing.text.PlainView.updateMetrics:()V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/PlainView;
0 3 1 width F
0 3 2 height F
MethodParameters:
Name Flags
width
height
public float nextTabStop(float, int);
descriptor: (FI)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.text.PlainView.tabSize:I
ifne 2
1: fload 1
freturn
2: StackMap locals:
StackMap stack:
fload 1
f2i
aload 0
getfield javax.swing.text.PlainView.tabBase:I
isub
aload 0
getfield javax.swing.text.PlainView.tabSize:I
idiv
istore 3
start local 3 3: aload 0
getfield javax.swing.text.PlainView.tabBase:I
iload 3
iconst_1
iadd
aload 0
getfield javax.swing.text.PlainView.tabSize:I
imul
iadd
i2f
freturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/text/PlainView;
0 4 1 x F
0 4 2 tabOffset I
3 4 3 ntabs I
MethodParameters:
Name Flags
x
tabOffset
protected void updateDamage(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: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=13, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual javax.swing.text.PlainView.getContainer:()Ljava/awt/Container;
astore 4
start local 4 1: aload 0
invokevirtual javax.swing.text.PlainView.updateMetrics:()V
2: aload 0
invokevirtual javax.swing.text.PlainView.getElement:()Ljavax/swing/text/Element;
astore 5
start local 5 3: aload 1
aload 5
invokeinterface javax.swing.event.DocumentEvent.getChange:(Ljavax/swing/text/Element;)Ljavax/swing/event/DocumentEvent$ElementChange;
astore 6
start local 6 4: aload 6
ifnull 5
aload 6
invokeinterface javax.swing.event.DocumentEvent$ElementChange.getChildrenAdded:()[Ljavax/swing/text/Element;
goto 6
StackMap locals: java.awt.Component javax.swing.text.Element javax.swing.event.DocumentEvent$ElementChange
StackMap stack:
5: aconst_null
StackMap locals:
StackMap stack: javax.swing.text.Element[]
6: astore 7
start local 7 7: aload 6
ifnull 8
aload 6
invokeinterface javax.swing.event.DocumentEvent$ElementChange.getChildrenRemoved:()[Ljavax/swing/text/Element;
goto 9
StackMap locals: javax.swing.text.Element[]
StackMap stack:
8: aconst_null
StackMap locals:
StackMap stack: javax.swing.text.Element[]
9: astore 8
start local 8 10: aload 7
ifnull 11
aload 7
arraylength
ifgt 12
11: StackMap locals: javax.swing.text.Element[]
StackMap stack:
aload 8
ifnull 33
aload 8
arraylength
ifle 33
12: StackMap locals:
StackMap stack:
aload 7
ifnull 22
13: aload 0
aload 0
getfield javax.swing.text.PlainView.longLine:Ljavax/swing/text/Element;
invokevirtual javax.swing.text.PlainView.getLineWidth:(Ljavax/swing/text/Element;)I
istore 9
start local 9 14: iconst_0
istore 10
start local 10 15: goto 21
16: StackMap locals: int int
StackMap stack:
aload 0
aload 7
iload 10
aaload
invokevirtual javax.swing.text.PlainView.getLineWidth:(Ljavax/swing/text/Element;)I
istore 11
start local 11 17: iload 11
iload 9
if_icmple 20
18: iload 11
istore 9
19: aload 0
aload 7
iload 10
aaload
putfield javax.swing.text.PlainView.longLine:Ljavax/swing/text/Element;
end local 11 20: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
21: iload 10
aload 7
arraylength
if_icmplt 16
end local 10 end local 9 22: StackMap locals:
StackMap stack:
aload 8
ifnull 30
23: iconst_0
istore 9
start local 9 24: goto 29
25: StackMap locals: int
StackMap stack:
aload 8
iload 9
aaload
aload 0
getfield javax.swing.text.PlainView.longLine:Ljavax/swing/text/Element;
if_acmpne 28
26: aload 0
invokevirtual javax.swing.text.PlainView.calculateLongestLine:()V
27: goto 30
28: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
29: iload 9
aload 8
arraylength
if_icmplt 25
end local 9 30: StackMap locals:
StackMap stack:
aload 0
aconst_null
iconst_1
iconst_1
invokevirtual javax.swing.text.PlainView.preferenceChanged:(Ljavax/swing/text/View;ZZ)V
31: aload 4
invokevirtual java.awt.Component.repaint:()V
32: goto 50
33: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.PlainView.getElement:()Ljavax/swing/text/Element;
astore 9
start local 9 34: aload 9
aload 1
invokeinterface javax.swing.event.DocumentEvent.getOffset:()I
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
istore 10
start local 10 35: aload 0
iload 10
iload 10
aload 2
aload 4
invokevirtual javax.swing.text.PlainView.damageLineRange:(IILjava/awt/Shape;Ljava/awt/Component;)V
36: aload 1
invokeinterface javax.swing.event.DocumentEvent.getType:()Ljavax/swing/event/DocumentEvent$EventType;
getstatic javax.swing.event.DocumentEvent$EventType.INSERT:Ljavax/swing/event/DocumentEvent$EventType;
if_acmpne 46
37: aload 0
aload 0
getfield javax.swing.text.PlainView.longLine:Ljavax/swing/text/Element;
invokevirtual javax.swing.text.PlainView.getLineWidth:(Ljavax/swing/text/Element;)I
istore 11
start local 11 38: aload 9
iload 10
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 12
start local 12 39: aload 12
aload 0
getfield javax.swing.text.PlainView.longLine:Ljavax/swing/text/Element;
if_acmpne 42
40: aload 0
aconst_null
iconst_1
iconst_0
invokevirtual javax.swing.text.PlainView.preferenceChanged:(Ljavax/swing/text/View;ZZ)V
41: goto 50
StackMap locals: javax.swing.text.PlainView javax.swing.event.DocumentEvent java.awt.Shape javax.swing.text.ViewFactory java.awt.Component javax.swing.text.Element javax.swing.event.DocumentEvent$ElementChange javax.swing.text.Element[] javax.swing.text.Element[] javax.swing.text.Element int int javax.swing.text.Element
StackMap stack:
42: aload 0
aload 12
invokevirtual javax.swing.text.PlainView.getLineWidth:(Ljavax/swing/text/Element;)I
iload 11
if_icmple 50
43: aload 0
aload 12
putfield javax.swing.text.PlainView.longLine:Ljavax/swing/text/Element;
44: aload 0
aconst_null
iconst_1
iconst_0
invokevirtual javax.swing.text.PlainView.preferenceChanged:(Ljavax/swing/text/View;ZZ)V
end local 12 end local 11 45: goto 50
StackMap locals:
StackMap stack:
46: aload 1
invokeinterface javax.swing.event.DocumentEvent.getType:()Ljavax/swing/event/DocumentEvent$EventType;
getstatic javax.swing.event.DocumentEvent$EventType.REMOVE:Ljavax/swing/event/DocumentEvent$EventType;
if_acmpne 50
47: aload 9
iload 10
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
aload 0
getfield javax.swing.text.PlainView.longLine:Ljavax/swing/text/Element;
if_acmpne 50
48: aload 0
invokevirtual javax.swing.text.PlainView.calculateLongestLine:()V
49: aload 0
aconst_null
iconst_1
iconst_0
invokevirtual javax.swing.text.PlainView.preferenceChanged:(Ljavax/swing/text/View;ZZ)V
end local 10 end local 9 50: StackMap locals:
StackMap stack:
return
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 51 0 this Ljavax/swing/text/PlainView;
0 51 1 changes Ljavax/swing/event/DocumentEvent;
0 51 2 a Ljava/awt/Shape;
0 51 3 f Ljavax/swing/text/ViewFactory;
1 51 4 host Ljava/awt/Component;
3 51 5 elem Ljavax/swing/text/Element;
4 51 6 ec Ljavax/swing/event/DocumentEvent$ElementChange;
7 51 7 added [Ljavax/swing/text/Element;
10 51 8 removed [Ljavax/swing/text/Element;
14 22 9 currWide I
15 22 10 i I
17 20 11 w I
24 30 9 i I
34 50 9 map Ljavax/swing/text/Element;
35 50 10 line I
38 45 11 w I
39 45 12 e Ljavax/swing/text/Element;
MethodParameters:
Name Flags
changes
a
f
protected void damageLineRange(int, int, java.awt.Shape, java.awt.Component);
descriptor: (IILjava/awt/Shape;Ljava/awt/Component;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
ifnull 8
1: aload 0
aload 3
iload 1
invokevirtual javax.swing.text.PlainView.lineToRect:(Ljava/awt/Shape;I)Ljava/awt/Rectangle;
astore 5
start local 5 2: aload 0
aload 3
iload 2
invokevirtual javax.swing.text.PlainView.lineToRect:(Ljava/awt/Shape;I)Ljava/awt/Rectangle;
astore 6
start local 6 3: aload 5
ifnull 7
aload 6
ifnull 7
4: aload 5
aload 6
invokevirtual java.awt.Rectangle.union:(Ljava/awt/Rectangle;)Ljava/awt/Rectangle;
astore 7
start local 7 5: aload 4
aload 7
getfield java.awt.Rectangle.x:I
aload 7
getfield java.awt.Rectangle.y:I
aload 7
getfield java.awt.Rectangle.width:I
aload 7
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Component.repaint:(IIII)V
end local 7 6: goto 8
7: StackMap locals: java.awt.Rectangle java.awt.Rectangle
StackMap stack:
aload 4
invokevirtual java.awt.Component.repaint:()V
end local 6 end local 5 8: StackMap locals:
StackMap stack:
return
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/PlainView;
0 9 1 line0 I
0 9 2 line1 I
0 9 3 a Ljava/awt/Shape;
0 9 4 host Ljava/awt/Component;
2 8 5 area0 Ljava/awt/Rectangle;
3 8 6 area1 Ljava/awt/Rectangle;
5 6 7 damage Ljava/awt/Rectangle;
MethodParameters:
Name Flags
line0
line1
a
host
protected java.awt.Rectangle lineToRect(java.awt.Shape, int);
descriptor: (Ljava/awt/Shape;I)Ljava/awt/Rectangle;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
invokevirtual javax.swing.text.PlainView.updateMetrics:()V
2: aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
ifnull 10
3: aload 1
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
astore 4
start local 4 4: iload 2
ifne 7
5: aload 4
dup
getfield java.awt.Rectangle.x:I
aload 0
getfield javax.swing.text.PlainView.firstLineOffset:I
iadd
putfield java.awt.Rectangle.x:I
6: aload 4
dup
getfield java.awt.Rectangle.width:I
aload 0
getfield javax.swing.text.PlainView.firstLineOffset:I
isub
putfield java.awt.Rectangle.width:I
7: StackMap locals: java.awt.Rectangle java.awt.Rectangle
StackMap stack:
new java.awt.Rectangle
dup
aload 4
getfield java.awt.Rectangle.x:I
aload 4
getfield java.awt.Rectangle.y:I
iload 2
aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
imul
iadd
8: aload 4
getfield java.awt.Rectangle.width:I
aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
9: invokespecial java.awt.Rectangle.<init>:(IIII)V
astore 3
end local 4 10: StackMap locals:
StackMap stack:
aload 3
areturn
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/PlainView;
0 11 1 a Ljava/awt/Shape;
0 11 2 line I
1 11 3 r Ljava/awt/Rectangle;
4 10 4 alloc Ljava/awt/Rectangle;
MethodParameters:
Name Flags
a
line
private void calculateLongestLine();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.PlainView.getContainer:()Ljava/awt/Container;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual java.awt.Component.getFont:()Ljava/awt/Font;
putfield javax.swing.text.PlainView.font:Ljava/awt/Font;
2: aload 0
aload 1
aload 0
getfield javax.swing.text.PlainView.font:Ljava/awt/Font;
invokevirtual java.awt.Component.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
putfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
3: aload 0
invokevirtual javax.swing.text.PlainView.getDocument:()Ljavax/swing/text/Document;
pop
4: aload 0
invokevirtual javax.swing.text.PlainView.getElement:()Ljavax/swing/text/Element;
astore 2
start local 2 5: aload 2
invokeinterface javax.swing.text.Element.getElementCount:()I
istore 3
start local 3 6: iconst_m1
istore 4
start local 4 7: iconst_0
istore 5
start local 5 8: goto 15
9: StackMap locals: javax.swing.text.PlainView java.awt.Component javax.swing.text.Element int int int
StackMap stack:
aload 2
iload 5
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 6
start local 6 10: aload 0
aload 6
invokevirtual javax.swing.text.PlainView.getLineWidth:(Ljavax/swing/text/Element;)I
istore 7
start local 7 11: iload 7
iload 4
if_icmple 14
12: iload 7
istore 4
13: aload 0
aload 6
putfield javax.swing.text.PlainView.longLine:Ljavax/swing/text/Element;
end local 7 end local 6 14: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
iload 3
if_icmplt 9
end local 5 16: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/swing/text/PlainView;
1 17 1 c Ljava/awt/Component;
5 17 2 lines Ljavax/swing/text/Element;
6 17 3 n I
7 17 4 maxWidth I
8 16 5 i I
10 14 6 line Ljavax/swing/text/Element;
11 14 7 w I
private int getLineWidth(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 2
start local 2 3: aload 1
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 3
start local 3 4: invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 5
start local 5 5: aload 1
invokeinterface javax.swing.text.Element.getDocument:()Ljavax/swing/text/Document;
iload 2
iload 3
iload 2
isub
aload 5
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
6: aload 5
aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
aload 0
getfield javax.swing.text.PlainView.tabBase:I
aload 0
iload 2
invokestatic javax.swing.text.Utilities.getTabbedTextWidth:(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;ILjavax/swing/text/TabExpander;I)I
istore 4
start local 4 7: goto 10
end local 4 StackMap locals: javax.swing.text.PlainView javax.swing.text.Element int int top javax.swing.text.Segment
StackMap stack: javax.swing.text.BadLocationException
8: pop
9: iconst_0
istore 4
start local 4 10: StackMap locals: javax.swing.text.PlainView javax.swing.text.Element int int int javax.swing.text.Segment
StackMap stack:
aload 5
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
11: iload 4
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 12 0 this Ljavax/swing/text/PlainView;
0 12 1 line Ljavax/swing/text/Element;
3 12 2 p0 I
4 12 3 p1 I
7 8 4 w I
10 12 4 w I
5 12 5 s Ljavax/swing/text/Segment;
Exception table:
from to target type
5 7 8 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
line
}
SourceFile: "PlainView.java"
InnerClasses:
public abstract ElementChange = javax.swing.event.DocumentEvent$ElementChange of javax.swing.event.DocumentEvent
public final EventType = javax.swing.event.DocumentEvent$EventType of javax.swing.event.DocumentEvent
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position