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)
float tabSize;
descriptor: F
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)
private static java.lang.ref.SoftReference<java.util.HashMap<javax.swing.text.PlainView$FPMethodItem, java.lang.Boolean>> methodsOverriddenMapRef;
descriptor: Ljava/lang/ref/SoftReference;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/lang/ref/SoftReference<Ljava/util/HashMap<Ljavax/swing/text/PlainView$FPMethodItem;Ljava/lang/Boolean;>;>;
final boolean drawLineOverridden;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean drawSelectedTextOverridden;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean drawUnselectedTextOverridden;
descriptor: Z
flags: (0x0010) ACC_FINAL
final boolean useFloatingPointAPI;
descriptor: Z
flags: (0x0010) ACC_FINAL
public void <init>(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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: aload 0
2: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "drawLine"
getstatic javax.swing.text.PlainView$FPMethodArgs.IGNN:Ljavax/swing/text/PlainView$FPMethodArgs;
invokestatic javax.swing.text.PlainView.getFPMethodOverridden:(Ljava/lang/Class;Ljava/lang/String;Ljavax/swing/text/PlainView$FPMethodArgs;)Z
putfield javax.swing.text.PlainView.drawLineOverridden:Z
3: aload 0
4: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "drawSelectedText"
getstatic javax.swing.text.PlainView$FPMethodArgs.GNNII:Ljavax/swing/text/PlainView$FPMethodArgs;
invokestatic javax.swing.text.PlainView.getFPMethodOverridden:(Ljava/lang/Class;Ljava/lang/String;Ljavax/swing/text/PlainView$FPMethodArgs;)Z
putfield javax.swing.text.PlainView.drawSelectedTextOverridden:Z
5: aload 0
6: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "drawUnselectedText"
getstatic javax.swing.text.PlainView$FPMethodArgs.GNNII:Ljavax/swing/text/PlainView$FPMethodArgs;
invokestatic javax.swing.text.PlainView.getFPMethodOverridden:(Ljava/lang/Class;Ljava/lang/String;Ljavax/swing/text/PlainView$FPMethodArgs;)Z
putfield javax.swing.text.PlainView.drawUnselectedTextOverridden:Z
7: aload 0
8: aload 0
getfield javax.swing.text.PlainView.drawUnselectedTextOverridden:Z
ifne 9
aload 0
getfield javax.swing.text.PlainView.drawSelectedTextOverridden:Z
ifne 9
iconst_0
goto 10
StackMap locals: javax.swing.text.PlainView javax.swing.text.Element
StackMap stack: javax.swing.text.PlainView
9: iconst_1
StackMap locals: javax.swing.text.PlainView javax.swing.text.Element
StackMap stack: javax.swing.text.PlainView int
10: putfield javax.swing.text.PlainView.useFloatingPointAPI:Z
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/text/PlainView;
0 12 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=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aload 2
iload 3
i2f
iload 4
i2f
invokevirtual javax.swing.text.PlainView.drawLineImpl:(ILjava/awt/Graphics;FF)V
1: return
end local 4 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 lineIndex I
0 2 2 g Ljava/awt/Graphics;
0 2 3 x I
0 2 4 y I
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "9")
MethodParameters:
Name Flags
lineIndex
g
x
y
private void drawLineImpl(int, java.awt.Graphics, float, float);
descriptor: (ILjava/awt/Graphics;FF)V
flags: (0x0002) ACC_PRIVATE
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
fload 3
fload 4
invokevirtual javax.swing.text.PlainView.drawElement:(ILjavax/swing/text/Element;Ljava/awt/Graphics;FF)F
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 float float 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
fload 3
fload 4
invokevirtual javax.swing.text.PlainView.drawElement:(ILjavax/swing/text/Element;Ljava/awt/Graphics;FF)F
fstore 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 float float 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 F
0 15 4 y F
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
protected void drawLine(int, java.awt.Graphics2D, float, float);
descriptor: (ILjava/awt/Graphics2D;FF)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
aload 2
fload 3
fload 4
invokevirtual javax.swing.text.PlainView.drawLineImpl:(ILjava/awt/Graphics;FF)V
1: return
end local 4 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 lineIndex I
0 2 2 g Ljava/awt/Graphics2D;
0 2 3 x F
0 2 4 y F
MethodParameters:
Name Flags
lineIndex
g
x
y
private float drawElement(int, javax.swing.text.Element, java.awt.Graphics, float, float);
descriptor: (ILjavax/swing/text/Element;Ljava/awt/Graphics;FF)F
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: fload 4
aload 0
getfield javax.swing.text.PlainView.firstLineOffset:I
i2f
fadd
fstore 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
fload 4
fload 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;FFII)F
fstore 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
fload 4
fload 5
iload 6
iload 7
invokevirtual javax.swing.text.PlainView.callDrawUnselectedText:(Ljava/awt/Graphics;FFII)F
fstore 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
fload 4
fload 5
iload 6
iload 7
invokevirtual javax.swing.text.PlainView.callDrawSelectedText:(Ljava/awt/Graphics;FFII)F
fstore 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
fload 4
fload 5
iload 6
aload 0
getfield javax.swing.text.PlainView.sel0:I
invokevirtual javax.swing.text.PlainView.callDrawUnselectedText:(Ljava/awt/Graphics;FFII)F
fstore 4
22: aload 0
aload 3
fload 4
fload 5
aload 0
getfield javax.swing.text.PlainView.sel0:I
aload 0
getfield javax.swing.text.PlainView.sel1:I
invokevirtual javax.swing.text.PlainView.callDrawSelectedText:(Ljava/awt/Graphics;FFII)F
fstore 4
23: aload 0
aload 3
fload 4
fload 5
aload 0
getfield javax.swing.text.PlainView.sel1:I
iload 7
invokevirtual javax.swing.text.PlainView.callDrawUnselectedText:(Ljava/awt/Graphics;FFII)F
fstore 4
24: goto 33
25: StackMap locals:
StackMap stack:
aload 0
aload 3
fload 4
fload 5
iload 6
aload 0
getfield javax.swing.text.PlainView.sel0:I
invokevirtual javax.swing.text.PlainView.callDrawUnselectedText:(Ljava/awt/Graphics;FFII)F
fstore 4
26: aload 0
aload 3
fload 4
fload 5
aload 0
getfield javax.swing.text.PlainView.sel0:I
iload 7
invokevirtual javax.swing.text.PlainView.callDrawSelectedText:(Ljava/awt/Graphics;FFII)F
fstore 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
fload 4
fload 5
iload 6
aload 0
getfield javax.swing.text.PlainView.sel1:I
invokevirtual javax.swing.text.PlainView.callDrawSelectedText:(Ljava/awt/Graphics;FFII)F
fstore 4
30: aload 0
aload 3
fload 4
fload 5
aload 0
getfield javax.swing.text.PlainView.sel1:I
iload 7
invokevirtual javax.swing.text.PlainView.callDrawUnselectedText:(Ljava/awt/Graphics;FFII)F
fstore 4
31: goto 33
32: StackMap locals:
StackMap stack:
aload 0
aload 3
fload 4
fload 5
iload 6
iload 7
invokevirtual javax.swing.text.PlainView.callDrawUnselectedText:(Ljava/awt/Graphics;FFII)F
fstore 4
33: StackMap locals:
StackMap stack:
fload 4
freturn
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 F
0 34 5 y F
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=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
i2f
iload 3
i2f
iload 4
iload 5
iconst_0
invokevirtual javax.swing.text.PlainView.drawUnselectedTextImpl:(Ljava/awt/Graphics;FFIIZ)F
f2i
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 1 0 this Ljavax/swing/text/PlainView;
0 1 1 g Ljava/awt/Graphics;
0 1 2 x I
0 1 3 y I
0 1 4 p0 I
0 1 5 p1 I
Exceptions:
throws javax.swing.text.BadLocationException
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "9")
MethodParameters:
Name Flags
g
x
y
p0
p1
private float callDrawUnselectedText(java.awt.Graphics, float, float, int, int);
descriptor: (Ljava/awt/Graphics;FFII)F
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield javax.swing.text.PlainView.drawUnselectedTextOverridden:Z
ifeq 2
aload 1
instanceof java.awt.Graphics2D
ifeq 2
1: aload 0
aload 1
checkcast java.awt.Graphics2D
fload 2
fload 3
iload 4
iload 5
invokevirtual javax.swing.text.PlainView.drawUnselectedText:(Ljava/awt/Graphics2D;FFII)F
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
fload 2
f2i
fload 3
f2i
iload 4
iload 5
invokevirtual javax.swing.text.PlainView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
i2f
3: StackMap locals:
StackMap stack: float
freturn
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 4 0 this Ljavax/swing/text/PlainView;
0 4 1 g Ljava/awt/Graphics;
0 4 2 x F
0 4 3 y F
0 4 4 p0 I
0 4 5 p1 I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
g
x
y
p0
p1
private float drawUnselectedTextImpl(java.awt.Graphics, float, float, int, int, boolean);
descriptor: (Ljava/awt/Graphics;FFIIZ)F
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=10, 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
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 7
start local 7 2: invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 8
start local 8 3: aload 7
iload 4
iload 5
iload 4
isub
aload 8
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
4: aload 0
aload 8
fload 2
fload 3
aload 1
aload 0
iload 4
aconst_null
5: iload 6
6: invokestatic javax.swing.text.Utilities.drawTabbedText:(Ljavax/swing/text/View;Ljavax/swing/text/Segment;FFLjava/awt/Graphics;Ljavax/swing/text/TabExpander;I[IZ)F
fstore 9
start local 9 7: aload 8
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
8: fload 9
freturn
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 9 0 this Ljavax/swing/text/PlainView;
0 9 1 g Ljava/awt/Graphics;
0 9 2 x F
0 9 3 y F
0 9 4 p0 I
0 9 5 p1 I
0 9 6 useFPAPI Z
2 9 7 doc Ljavax/swing/text/Document;
3 9 8 s Ljavax/swing/text/Segment;
7 9 9 ret F
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
g
x
y
p0
p1
useFPAPI
protected float drawUnselectedText(java.awt.Graphics2D, float, float, int, int);
descriptor: (Ljava/awt/Graphics2D;FFII)F
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
fload 2
fload 3
iload 4
iload 5
iconst_1
invokevirtual javax.swing.text.PlainView.drawUnselectedTextImpl:(Ljava/awt/Graphics;FFIIZ)F
freturn
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 1 0 this Ljavax/swing/text/PlainView;
0 1 1 g Ljava/awt/Graphics2D;
0 1 2 x F
0 1 3 y F
0 1 4 p0 I
0 1 5 p1 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=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
i2f
iload 3
i2f
iload 4
iload 5
iconst_0
invokevirtual javax.swing.text.PlainView.drawSelectedTextImpl:(Ljava/awt/Graphics;FFIIZ)F
f2i
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 1 0 this Ljavax/swing/text/PlainView;
0 1 1 g Ljava/awt/Graphics;
0 1 2 x I
0 1 3 y I
0 1 4 p0 I
0 1 5 p1 I
Exceptions:
throws javax.swing.text.BadLocationException
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "9")
MethodParameters:
Name Flags
g
x
y
p0
p1
float callDrawSelectedText(java.awt.Graphics, float, float, int, int);
descriptor: (Ljava/awt/Graphics;FFII)F
flags: (0x0000)
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield javax.swing.text.PlainView.drawSelectedTextOverridden:Z
ifeq 2
aload 1
instanceof java.awt.Graphics2D
ifeq 2
1: aload 0
aload 1
checkcast java.awt.Graphics2D
fload 2
fload 3
iload 4
iload 5
invokevirtual javax.swing.text.PlainView.drawSelectedText:(Ljava/awt/Graphics2D;FFII)F
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
fload 2
f2i
fload 3
f2i
iload 4
iload 5
invokevirtual javax.swing.text.PlainView.drawSelectedText:(Ljava/awt/Graphics;IIII)I
i2f
3: StackMap locals:
StackMap stack: float
freturn
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 4 0 this Ljavax/swing/text/PlainView;
0 4 1 g Ljava/awt/Graphics;
0 4 2 x F
0 4 3 y F
0 4 4 p0 I
0 4 5 p1 I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
g
x
y
p0
p1
private float drawSelectedTextImpl(java.awt.Graphics, float, float, int, int, boolean);
descriptor: (Ljava/awt/Graphics;FFIIZ)F
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=10, 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
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 7
start local 7 2: invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 8
start local 8 3: aload 7
iload 4
iload 5
iload 4
isub
aload 8
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
4: aload 0
aload 8
fload 2
fload 3
aload 1
aload 0
iload 4
aconst_null
5: iload 6
6: invokestatic javax.swing.text.Utilities.drawTabbedText:(Ljavax/swing/text/View;Ljavax/swing/text/Segment;FFLjava/awt/Graphics;Ljavax/swing/text/TabExpander;I[IZ)F
fstore 9
start local 9 7: aload 8
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
8: fload 9
freturn
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 9 0 this Ljavax/swing/text/PlainView;
0 9 1 g Ljava/awt/Graphics;
0 9 2 x F
0 9 3 y F
0 9 4 p0 I
0 9 5 p1 I
0 9 6 useFPAPI Z
2 9 7 doc Ljavax/swing/text/Document;
3 9 8 s Ljavax/swing/text/Segment;
7 9 9 ret F
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
g
x
y
p0
p1
useFPAPI
protected float drawSelectedText(java.awt.Graphics2D, float, float, int, int);
descriptor: (Ljava/awt/Graphics2D;FFII)F
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
fload 2
fload 3
iload 4
iload 5
iconst_1
invokevirtual javax.swing.text.PlainView.drawSelectedTextImpl:(Ljava/awt/Graphics;FFIIZ)F
freturn
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 1 0 this Ljavax/swing/text/PlainView;
0 1 1 g Ljava/awt/Graphics2D;
0 1 2 x F
0 1 3 y F
0 1 4 p0 I
0 1 5 p1 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=6, 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;
ifnonnull 3
aconst_null
goto 4
StackMap locals: java.awt.Component java.awt.Font
StackMap stack:
3: aload 1
aload 0
getfield javax.swing.text.PlainView.font:Ljava/awt/Font;
invokevirtual java.awt.Component.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
StackMap locals:
StackMap stack: java.awt.FontMetrics
4: astore 3
start local 3 5: aload 0
getfield javax.swing.text.PlainView.font:Ljava/awt/Font;
aload 2
if_acmpne 6
aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
aload 3
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 13
6: StackMap locals: java.awt.FontMetrics
StackMap stack:
aload 0
invokevirtual javax.swing.text.PlainView.calculateLongestLine:()V
7: aload 0
getfield javax.swing.text.PlainView.useFloatingPointAPI:Z
ifeq 12
8: aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getFontRenderContext:()Ljava/awt/font/FontRenderContext;
astore 4
start local 4 9: aload 0
getfield javax.swing.text.PlainView.font:Ljava/awt/Font;
ldc "m"
aload 4
invokevirtual java.awt.Font.getStringBounds:(Ljava/lang/String;Ljava/awt/font/FontRenderContext;)Ljava/awt/geom/Rectangle2D;
invokevirtual java.awt.geom.Rectangle2D.getWidth:()D
d2f
fstore 5
start local 5 10: aload 0
aload 0
invokevirtual javax.swing.text.PlainView.getTabSize:()I
i2f
fload 5
fmul
putfield javax.swing.text.PlainView.tabSize:F
end local 5 end local 4 11: goto 13
12: StackMap locals:
StackMap stack:
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
i2f
putfield javax.swing.text.PlainView.tabSize:F
13: StackMap locals:
StackMap stack:
return
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/PlainView;
1 14 1 host Ljava/awt/Component;
2 14 2 f Ljava/awt/Font;
5 14 3 fm Ljava/awt/FontMetrics;
9 11 4 frc Ljava/awt/font/FontRenderContext;
10 11 5 tabWidth F
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 66
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
getfield javax.swing.text.PlainView.drawLineOverridden:Z
ifeq 61
aload 1
instanceof java.awt.Graphics2D
ifeq 61
59: aload 0
iload 22
aload 1
checkcast java.awt.Graphics2D
iload 17
i2f
iload 16
i2f
invokevirtual javax.swing.text.PlainView.drawLine:(ILjava/awt/Graphics2D;FF)V
60: goto 62
61: 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
62: StackMap locals:
StackMap stack:
iload 16
iload 9
iadd
istore 16
63: iload 22
ifne 65
64: iload 17
aload 0
getfield javax.swing.text.PlainView.firstLineOffset:I
isub
istore 17
65: StackMap locals:
StackMap stack:
iinc 22 1
StackMap locals:
StackMap stack:
66: iload 22
iload 20
if_icmplt 46
end local 22 67: 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 68 0 this Ljavax/swing/text/PlainView;
0 68 1 g Ljava/awt/Graphics;
0 68 2 a Ljava/awt/Shape;
1 68 3 originalA Ljava/awt/Shape;
3 68 4 alloc Ljava/awt/Rectangle;
5 68 5 host Ljavax/swing/text/JTextComponent;
6 68 6 h Ljavax/swing/text/Highlighter;
14 68 7 c Ljavax/swing/text/Caret;
20 68 8 clip Ljava/awt/Rectangle;
21 68 9 fontHeight I
22 68 10 heightBelow I
23 68 11 heightAbove I
25 30 12 linesBelow I
33 68 12 linesBelow I
26 30 13 linesAbove I
32 68 13 linesAbove I
27 30 14 linesTotal I
31 68 14 linesTotal I
34 68 15 lineArea Ljava/awt/Rectangle;
35 68 16 y I
36 68 17 x I
37 68 18 map Ljavax/swing/text/Element;
38 68 19 lineCount I
39 68 20 endLine I
44 68 21 dh Ljavax/swing/text/LayeredHighlighter;
45 67 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=6, 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 0
getfield javax.swing.text.PlainView.useFloatingPointAPI:Z
ifeq 15
12: aload 10
aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
aload 0
getfield javax.swing.text.PlainView.tabBase:I
i2f
aload 0
iload 9
invokestatic javax.swing.text.Utilities.getTabbedTextWidth:(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;FLjavax/swing/text/TabExpander;I)F
fstore 11
start local 11 13: aload 10
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
14: new java.awt.geom.Rectangle2D$Float
dup
aload 7
getfield java.awt.Rectangle.x:I
i2f
fload 11
fadd
aload 7
getfield java.awt.Rectangle.y:I
i2f
fconst_1
aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
i2f
invokespecial java.awt.geom.Rectangle2D$Float.<init>:(FFFF)V
areturn
end local 11 15: StackMap locals: javax.swing.text.PlainView int java.awt.Shape javax.swing.text.Position$Bias javax.swing.text.Document javax.swing.text.Element int java.awt.Rectangle javax.swing.text.Element int javax.swing.text.Segment
StackMap stack:
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 16: aload 10
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
17: aload 7
dup
getfield java.awt.Rectangle.x:I
iload 11
iadd
putfield java.awt.Rectangle.x:I
18: aload 7
iconst_1
putfield java.awt.Rectangle.width:I
19: 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
20: 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 21 0 this Ljavax/swing/text/PlainView;
0 21 1 pos I
0 21 2 a Ljava/awt/Shape;
0 21 3 b Ljavax/swing/text/Position$Bias;
1 21 4 doc Ljavax/swing/text/Document;
2 21 5 map Ljavax/swing/text/Element;
3 21 6 lineIndex I
6 21 7 lineArea Ljava/awt/Rectangle;
8 21 8 line Ljavax/swing/text/Element;
9 21 9 p0 I
10 21 10 s Ljavax/swing/text/Segment;
13 15 11 xOffs F
16 21 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=8, locals=15, 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 2
aload 5
getfield java.awt.Rectangle.y:I
i2f
fcmpg
ifge 5
4: aload 0
invokevirtual javax.swing.text.PlainView.getStartOffset:()I
ireturn
5: StackMap locals: java.awt.Rectangle javax.swing.text.Document
StackMap stack:
fload 2
aload 5
getfield java.awt.Rectangle.y:I
aload 5
getfield java.awt.Rectangle.height:I
iadd
i2f
fcmpl
ifle 7
6: aload 0
invokevirtual javax.swing.text.PlainView.getEndOffset:()I
iconst_1
isub
ireturn
7: StackMap locals:
StackMap stack:
aload 6
invokeinterface javax.swing.text.Document.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 7
start local 7 8: aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getHeight:()I
istore 8
start local 8 9: iload 8
ifle 11
10: fload 2
aload 5
getfield java.awt.Rectangle.y:I
i2f
fsub
iload 8
i2f
fdiv
invokestatic java.lang.Math.abs:(F)F
f2i
goto 12
11: StackMap locals: javax.swing.text.Element int
StackMap stack:
aload 7
invokeinterface javax.swing.text.Element.getElementCount:()I
iconst_1
isub
12: StackMap locals:
StackMap stack: int
istore 9
start local 9 13: iload 9
aload 7
invokeinterface javax.swing.text.Element.getElementCount:()I
if_icmplt 15
14: aload 0
invokevirtual javax.swing.text.PlainView.getEndOffset:()I
iconst_1
isub
ireturn
15: StackMap locals: int
StackMap stack:
aload 7
iload 9
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 10
start local 10 16: iload 9
ifne 19
17: 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
18: 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
19: StackMap locals: javax.swing.text.Element
StackMap stack:
fload 1
aload 5
getfield java.awt.Rectangle.x:I
i2f
fcmpg
ifge 21
20: aload 10
invokeinterface javax.swing.text.Element.getStartOffset:()I
ireturn
21: StackMap locals:
StackMap stack:
fload 1
aload 5
getfield java.awt.Rectangle.x:I
aload 5
getfield java.awt.Rectangle.width:I
iadd
i2f
fcmpl
ifle 23
22: aload 10
invokeinterface javax.swing.text.Element.getEndOffset:()I
iconst_1
isub
ireturn
23: StackMap locals:
StackMap stack:
aload 10
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 11
start local 11 24: aload 10
invokeinterface javax.swing.text.Element.getEndOffset:()I
iconst_1
isub
istore 12
start local 12 25: invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 13
start local 13 26: aload 6
iload 11
iload 12
iload 11
isub
aload 13
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
27: aload 0
aload 5
getfield java.awt.Rectangle.x:I
putfield javax.swing.text.PlainView.tabBase:I
28: iload 11
aload 13
aload 0
getfield javax.swing.text.PlainView.metrics:Ljava/awt/FontMetrics;
29: aload 0
getfield javax.swing.text.PlainView.tabBase:I
i2f
fload 1
aload 0
iload 11
iconst_1
30: invokestatic javax.swing.text.Utilities.getTabbedTextOffset:(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;FFLjavax/swing/text/TabExpander;IZ)I
iadd
istore 14
start local 14 31: aload 13
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
32: iload 14
33: ireturn
end local 14 end local 13 end local 12 end local 11 34: StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
pop
35: iconst_m1
ireturn
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/PlainView;
0 36 1 x F
0 36 2 y F
0 36 3 a Ljava/awt/Shape;
0 36 4 bias [Ljavax/swing/text/Position$Bias;
2 36 5 alloc Ljava/awt/Rectangle;
3 36 6 doc Ljavax/swing/text/Document;
8 36 7 map Ljavax/swing/text/Element;
9 36 8 fontHeight I
13 36 9 lineIndex I
16 36 10 line Ljavax/swing/text/Element;
24 34 11 p0 I
25 34 12 p1 I
26 34 13 s Ljavax/swing/text/Segment;
31 34 14 offs I
Exception table:
from to target type
23 33 34 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
x
y
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:F
fconst_0
fcmpl
ifne 2
1: fload 1
freturn
2: StackMap locals:
StackMap stack:
fload 1
aload 0
getfield javax.swing.text.PlainView.tabBase:I
i2f
fsub
aload 0
getfield javax.swing.text.PlainView.tabSize:F
fdiv
fstore 3
start local 3 3: aload 0
getfield javax.swing.text.PlainView.tabBase:I
i2f
fload 3
fconst_1
fadd
aload 0
getfield javax.swing.text.PlainView.tabSize:F
fmul
fadd
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 F
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
static boolean getFPMethodOverridden(java.lang.Class<?>, java.lang.String, javax.swing.text.PlainView$FPMethodArgs);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljavax/swing/text/PlainView$FPMethodArgs;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: getstatic javax.swing.text.PlainView.methodsOverriddenMapRef:Ljava/lang/ref/SoftReference;
ifnull 4
2: getstatic javax.swing.text.PlainView.methodsOverriddenMapRef:Ljava/lang/ref/SoftReference;
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast java.util.HashMap
dup
astore 3
ifnull 4
3: iconst_1
goto 5
StackMap locals: java.util.HashMap
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 4
start local 4 6: iload 4
ifne 9
7: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
8: new java.lang.ref.SoftReference
dup
aload 3
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
putstatic javax.swing.text.PlainView.methodsOverriddenMapRef:Ljava/lang/ref/SoftReference;
9: StackMap locals: int
StackMap stack:
new javax.swing.text.PlainView$FPMethodItem
dup
aload 0
aload 1
invokespecial javax.swing.text.PlainView$FPMethodItem.<init>:(Ljava/lang/Class;Ljava/lang/String;)V
astore 5
start local 5 10: aload 3
aload 5
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
astore 6
start local 6 11: aload 6
ifnonnull 14
12: aload 0
aload 1
aload 2
invokestatic javax.swing.text.PlainView.checkFPMethodOverridden:(Ljava/lang/Class;Ljava/lang/String;Ljavax/swing/text/PlainView$FPMethodArgs;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
astore 6
13: aload 3
aload 5
aload 6
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: StackMap locals: javax.swing.text.PlainView$FPMethodItem java.lang.Boolean
StackMap stack:
aload 6
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
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 15 0 cls Ljava/lang/Class<*>;
0 15 1 method Ljava/lang/String;
0 15 2 methodArgs Ljavax/swing/text/PlainView$FPMethodArgs;
1 15 3 map Ljava/util/HashMap<Ljavax/swing/text/PlainView$FPMethodItem;Ljava/lang/Boolean;>;
6 15 4 initialized Z
10 15 5 key Ljavax/swing/text/PlainView$FPMethodItem;
11 15 6 isFPMethodOverridden Ljava/lang/Boolean;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljavax/swing/text/PlainView$FPMethodArgs;)Z
MethodParameters:
Name Flags
cls
method
methodArgs
private static boolean checkFPMethodOverridden(java.lang.Class<?>, java.lang.String, javax.swing.text.PlainView$FPMethodArgs);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljavax/swing/text/PlainView$FPMethodArgs;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new javax.swing.text.PlainView$1
dup
aload 1
aload 0
aload 2
invokespecial javax.swing.text.PlainView$1.<init>:(Ljava/lang/String;Ljava/lang/Class;Ljavax/swing/text/PlainView$FPMethodArgs;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
1: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 className Ljava/lang/Class<*>;
0 2 1 methodName Ljava/lang/String;
0 2 2 methodArgs Ljavax/swing/text/PlainView$FPMethodArgs;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljavax/swing/text/PlainView$FPMethodArgs;)Z
MethodParameters:
Name Flags
className final
methodName final
methodArgs final
private static boolean isFPMethodOverridden(java.lang.String, java.lang.Class<?>, java.lang.Class<?>[], java.lang.Class<?>[]);
descriptor: (Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;[Ljava/lang/Class;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc Ljavax/swing/text/PlainView;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 4
start local 4 1: goto 9
2: StackMap locals: java.lang.Module
StackMap stack:
aload 1
aload 0
aload 3
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
pop
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack: java.lang.Exception
pop
5: aload 1
aload 0
aload 2
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
pop
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack: java.lang.Exception
pop
8: aload 1
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 1
9: StackMap locals:
StackMap stack:
aload 4
aload 1
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 2
10: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 method Ljava/lang/String;
0 11 1 cls Ljava/lang/Class<*>;
0 11 2 intTypes [Ljava/lang/Class;
0 11 3 fpTypes [Ljava/lang/Class;
1 11 4 thisModule Ljava/lang/Module;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
5 6 7 Class java.lang.Exception
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;[Ljava/lang/Class<*>;[Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
method
cls
intTypes
fpTypes
}
SourceFile: "PlainView.java"
NestMembers:
javax.swing.text.PlainView$1 javax.swing.text.PlainView$FPMethodArgs javax.swing.text.PlainView$FPMethodItem
InnerClasses:
public Float = java.awt.geom.Rectangle2D$Float of java.awt.geom.Rectangle2D
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
javax.swing.text.PlainView$1
final FPMethodArgs = javax.swing.text.PlainView$FPMethodArgs of javax.swing.text.PlainView
private FPMethodItem = javax.swing.text.PlainView$FPMethodItem of javax.swing.text.PlainView
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position