public class javax.swing.text.WrappedPlainView extends javax.swing.text.BoxView implements javax.swing.text.TabExpander
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.WrappedPlainView
super_class: javax.swing.text.BoxView
{
java.awt.FontMetrics metrics;
descriptor: Ljava/awt/FontMetrics;
flags: (0x0000)
javax.swing.text.Segment lineBuffer;
descriptor: Ljavax/swing/text/Segment;
flags: (0x0000)
boolean widthChanging;
descriptor: Z
flags: (0x0000)
int tabBase;
descriptor: I
flags: (0x0000)
int tabSize;
descriptor: I
flags: (0x0000)
boolean wordWrap;
descriptor: Z
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)
public void <init>(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial javax.swing.text.WrappedPlainView.<init>:(Ljavax/swing/text/Element;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/WrappedPlainView;
0 2 1 elem Ljavax/swing/text/Element;
MethodParameters:
Name Flags
elem
public void <init>(javax.swing.text.Element, boolean);
descriptor: (Ljavax/swing/text/Element;Z)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
aload 1
iconst_1
invokespecial javax.swing.text.BoxView.<init>:(Ljavax/swing/text/Element;I)V
1: aload 0
iload 2
putfield javax.swing.text.WrappedPlainView.wordWrap:Z
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/WrappedPlainView;
0 3 1 elem Ljavax/swing/text/Element;
0 3 2 wordWrap Z
MethodParameters:
Name Flags
elem
wordWrap
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.WrappedPlainView.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/WrappedPlainView;
1 5 1 i Ljava/lang/Integer;
4 5 2 size I
protected void drawLine(int, int, java.awt.Graphics, int, int);
descriptor: (IILjava/awt/Graphics;II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=13, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual javax.swing.text.WrappedPlainView.getElement:()Ljavax/swing/text/Element;
astore 6
start local 6 1: aload 6
aload 6
iload 1
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 7
start local 7 2: aload 7
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifeq 5
3: aload 0
aload 7
iload 1
iload 2
aload 3
iload 4
iload 5
invokevirtual javax.swing.text.WrappedPlainView.drawText:(Ljavax/swing/text/Element;IILjava/awt/Graphics;II)I
pop
4: goto 17
5: StackMap locals: javax.swing.text.Element javax.swing.text.Element
StackMap stack:
aload 7
iload 1
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
istore 9
start local 9 6: aload 7
iload 2
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
istore 10
start local 10 7: goto 13
8: StackMap locals: javax.swing.text.WrappedPlainView int int java.awt.Graphics int int javax.swing.text.Element javax.swing.text.Element top int int
StackMap stack:
aload 7
iload 9
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 8
start local 8 9: aload 8
invokeinterface javax.swing.text.Element.getStartOffset:()I
iload 1
invokestatic java.lang.Math.max:(II)I
istore 11
start local 11 10: aload 8
invokeinterface javax.swing.text.Element.getEndOffset:()I
iload 2
invokestatic java.lang.Math.min:(II)I
istore 12
start local 12 11: aload 0
aload 8
iload 11
iload 12
aload 3
iload 4
iload 5
invokevirtual javax.swing.text.WrappedPlainView.drawText:(Ljavax/swing/text/Element;IILjava/awt/Graphics;II)I
istore 4
end local 12 end local 11 12: iinc 9 1
end local 8 StackMap locals:
StackMap stack:
13: iload 9
iload 10
if_icmple 8
end local 10 end local 9 14: goto 17
StackMap locals: javax.swing.text.WrappedPlainView int int java.awt.Graphics int int javax.swing.text.Element javax.swing.text.Element
StackMap stack: javax.swing.text.BadLocationException
15: pop
16: new javax.swing.text.StateInvariantError
dup
new java.lang.StringBuilder
dup
ldc "Can't render: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
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
17: StackMap locals:
StackMap stack:
return
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 18 0 this Ljavax/swing/text/WrappedPlainView;
0 18 1 p0 I
0 18 2 p1 I
0 18 3 g Ljava/awt/Graphics;
0 18 4 x I
0 18 5 y I
1 18 6 lineMap Ljavax/swing/text/Element;
2 18 7 line Ljavax/swing/text/Element;
9 13 8 elem Ljavax/swing/text/Element;
6 14 9 idx I
7 14 10 lastIdx I
10 12 11 start I
11 12 12 end I
Exception table:
from to target type
2 14 15 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
p0
p1
g
x
y
private int drawText(javax.swing.text.Element, int, int, java.awt.Graphics, int, int);
descriptor: (Ljavax/swing/text/Element;IILjava/awt/Graphics;II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=8, 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 0
invokevirtual javax.swing.text.WrappedPlainView.getDocument:()Ljavax/swing/text/Document;
invokeinterface javax.swing.text.Document.getLength:()I
iload 3
invokestatic java.lang.Math.min:(II)I
istore 3
1: aload 1
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 7
start local 7 2: aload 7
invokestatic javax.swing.text.Utilities.isComposedTextAttributeDefined:(Ljavax/swing/text/AttributeSet;)Z
ifeq 9
3: aload 4
aload 0
getfield javax.swing.text.WrappedPlainView.unselected:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
4: aload 0
aload 7
aload 4
iload 5
iload 6
5: iload 2
aload 1
invokeinterface javax.swing.text.Element.getStartOffset:()I
isub
6: iload 3
aload 1
invokeinterface javax.swing.text.Element.getStartOffset:()I
isub
7: invokestatic javax.swing.text.Utilities.drawComposedText:(Ljavax/swing/text/View;Ljavax/swing/text/AttributeSet;Ljava/awt/Graphics;IIII)I
istore 5
8: goto 29
9: StackMap locals: javax.swing.text.AttributeSet
StackMap stack:
aload 0
getfield javax.swing.text.WrappedPlainView.sel0:I
aload 0
getfield javax.swing.text.WrappedPlainView.sel1:I
if_icmpeq 10
aload 0
getfield javax.swing.text.WrappedPlainView.selected:Ljava/awt/Color;
aload 0
getfield javax.swing.text.WrappedPlainView.unselected:Ljava/awt/Color;
if_acmpne 12
10: StackMap locals:
StackMap stack:
aload 0
aload 4
iload 5
iload 6
iload 2
iload 3
invokevirtual javax.swing.text.WrappedPlainView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
istore 5
11: goto 29
StackMap locals:
StackMap stack:
12: iload 2
aload 0
getfield javax.swing.text.WrappedPlainView.sel0:I
if_icmplt 15
iload 2
aload 0
getfield javax.swing.text.WrappedPlainView.sel1:I
if_icmpgt 15
iload 3
aload 0
getfield javax.swing.text.WrappedPlainView.sel0:I
if_icmplt 15
iload 3
aload 0
getfield javax.swing.text.WrappedPlainView.sel1:I
if_icmpgt 15
13: aload 0
aload 4
iload 5
iload 6
iload 2
iload 3
invokevirtual javax.swing.text.WrappedPlainView.drawSelectedText:(Ljava/awt/Graphics;IIII)I
istore 5
14: goto 29
StackMap locals:
StackMap stack:
15: aload 0
getfield javax.swing.text.WrappedPlainView.sel0:I
iload 2
if_icmplt 24
aload 0
getfield javax.swing.text.WrappedPlainView.sel0:I
iload 3
if_icmpgt 24
16: aload 0
getfield javax.swing.text.WrappedPlainView.sel1:I
iload 2
if_icmplt 21
aload 0
getfield javax.swing.text.WrappedPlainView.sel1:I
iload 3
if_icmpgt 21
17: aload 0
aload 4
iload 5
iload 6
iload 2
aload 0
getfield javax.swing.text.WrappedPlainView.sel0:I
invokevirtual javax.swing.text.WrappedPlainView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
istore 5
18: aload 0
aload 4
iload 5
iload 6
aload 0
getfield javax.swing.text.WrappedPlainView.sel0:I
aload 0
getfield javax.swing.text.WrappedPlainView.sel1:I
invokevirtual javax.swing.text.WrappedPlainView.drawSelectedText:(Ljava/awt/Graphics;IIII)I
istore 5
19: aload 0
aload 4
iload 5
iload 6
aload 0
getfield javax.swing.text.WrappedPlainView.sel1:I
iload 3
invokevirtual javax.swing.text.WrappedPlainView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
istore 5
20: goto 29
21: StackMap locals:
StackMap stack:
aload 0
aload 4
iload 5
iload 6
iload 2
aload 0
getfield javax.swing.text.WrappedPlainView.sel0:I
invokevirtual javax.swing.text.WrappedPlainView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
istore 5
22: aload 0
aload 4
iload 5
iload 6
aload 0
getfield javax.swing.text.WrappedPlainView.sel0:I
iload 3
invokevirtual javax.swing.text.WrappedPlainView.drawSelectedText:(Ljava/awt/Graphics;IIII)I
istore 5
23: goto 29
StackMap locals:
StackMap stack:
24: aload 0
getfield javax.swing.text.WrappedPlainView.sel1:I
iload 2
if_icmplt 28
aload 0
getfield javax.swing.text.WrappedPlainView.sel1:I
iload 3
if_icmpgt 28
25: aload 0
aload 4
iload 5
iload 6
iload 2
aload 0
getfield javax.swing.text.WrappedPlainView.sel1:I
invokevirtual javax.swing.text.WrappedPlainView.drawSelectedText:(Ljava/awt/Graphics;IIII)I
istore 5
26: aload 0
aload 4
iload 5
iload 6
aload 0
getfield javax.swing.text.WrappedPlainView.sel1:I
iload 3
invokevirtual javax.swing.text.WrappedPlainView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
istore 5
27: goto 29
28: StackMap locals:
StackMap stack:
aload 0
aload 4
iload 5
iload 6
iload 2
iload 3
invokevirtual javax.swing.text.WrappedPlainView.drawUnselectedText:(Ljava/awt/Graphics;IIII)I
istore 5
29: StackMap locals:
StackMap stack:
iload 5
ireturn
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 30 0 this Ljavax/swing/text/WrappedPlainView;
0 30 1 elem Ljavax/swing/text/Element;
0 30 2 p0 I
0 30 3 p1 I
0 30 4 g Ljava/awt/Graphics;
0 30 5 x I
0 30 6 y I
2 30 7 attr Ljavax/swing/text/AttributeSet;
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
elem
p0
p1
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.WrappedPlainView.unselected:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
1: aload 0
invokevirtual javax.swing.text.WrappedPlainView.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/WrappedPlainView;
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 segment 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.WrappedPlainView.selected:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
1: aload 0
invokevirtual javax.swing.text.WrappedPlainView.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/WrappedPlainView;
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 segment 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.WrappedPlainView.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.WrappedPlainView.lineBuffer:Ljavax/swing/text/Segment;
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.WrappedPlainView.lineBuffer:Ljavax/swing/text/Segment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/WrappedPlainView;
protected int calculateBreakPosition(int, int);
descriptor: (II)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=6, args_size=3
start local 0 start local 1 start local 2 0: invokestatic javax.swing.text.SegmentCache.getSharedSegment:()Ljavax/swing/text/Segment;
astore 4
start local 4 1: aload 0
aload 4
iload 1
iload 2
invokevirtual javax.swing.text.WrappedPlainView.loadText:(Ljavax/swing/text/Segment;II)V
2: aload 0
invokevirtual javax.swing.text.WrappedPlainView.getWidth:()I
istore 5
start local 5 3: aload 0
getfield javax.swing.text.WrappedPlainView.wordWrap:Z
ifeq 9
4: iload 1
aload 4
aload 0
getfield javax.swing.text.WrappedPlainView.metrics:Ljava/awt/FontMetrics;
5: aload 0
getfield javax.swing.text.WrappedPlainView.tabBase:I
aload 0
getfield javax.swing.text.WrappedPlainView.tabBase:I
iload 5
iadd
6: aload 0
iload 1
7: invokestatic javax.swing.text.Utilities.getBreakLocation:(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;IILjavax/swing/text/TabExpander;I)I
iadd
istore 3
start local 3 8: goto 13
end local 3 9: StackMap locals: javax.swing.text.WrappedPlainView int int top javax.swing.text.Segment int
StackMap stack:
iload 1
aload 4
aload 0
getfield javax.swing.text.WrappedPlainView.metrics:Ljava/awt/FontMetrics;
10: aload 0
getfield javax.swing.text.WrappedPlainView.tabBase:I
aload 0
getfield javax.swing.text.WrappedPlainView.tabBase:I
iload 5
iadd
11: aload 0
iload 1
iconst_0
12: invokestatic javax.swing.text.Utilities.getTabbedTextOffset:(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;IILjavax/swing/text/TabExpander;IZ)I
iadd
istore 3
start local 3 13: StackMap locals: javax.swing.text.WrappedPlainView int int int javax.swing.text.Segment int
StackMap stack:
aload 4
invokestatic javax.swing.text.SegmentCache.releaseSharedSegment:(Ljavax/swing/text/Segment;)V
14: iload 3
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 15 0 this Ljavax/swing/text/WrappedPlainView;
0 15 1 p0 I
0 15 2 p1 I
8 9 3 p I
13 15 3 p I
1 15 4 segment Ljavax/swing/text/Segment;
3 15 5 currentWidth I
MethodParameters:
Name Flags
p0
p1
protected void loadChildren(javax.swing.text.ViewFactory);
descriptor: (Ljavax/swing/text/ViewFactory;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.WrappedPlainView.getElement:()Ljavax/swing/text/Element;
astore 2
start local 2 1: aload 2
invokeinterface javax.swing.text.Element.getElementCount:()I
istore 3
start local 3 2: iload 3
ifle 10
3: iload 3
anewarray javax.swing.text.View
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 8
6: StackMap locals: javax.swing.text.WrappedPlainView javax.swing.text.ViewFactory javax.swing.text.Element int javax.swing.text.View[] int
StackMap stack:
aload 4
iload 5
new javax.swing.text.WrappedPlainView$WrappedLine
dup
aload 0
aload 2
iload 5
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
invokespecial javax.swing.text.WrappedPlainView$WrappedLine.<init>:(Ljavax/swing/text/WrappedPlainView;Ljavax/swing/text/Element;)V
aastore
7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 3
if_icmplt 6
end local 5 9: aload 0
iconst_0
iconst_0
aload 4
invokevirtual javax.swing.text.WrappedPlainView.replace:(II[Ljavax/swing/text/View;)V
end local 4 10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/WrappedPlainView;
0 11 1 f Ljavax/swing/text/ViewFactory;
1 11 2 e Ljavax/swing/text/Element;
2 11 3 n I
4 10 4 added [Ljavax/swing/text/View;
5 9 5 i I
MethodParameters:
Name Flags
f
void updateChildren(javax.swing.event.DocumentEvent, java.awt.Shape);
descriptor: (Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;)V
flags: (0x0000)
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.text.WrappedPlainView.getElement:()Ljavax/swing/text/Element;
astore 3
start local 3 1: aload 1
aload 3
invokeinterface javax.swing.event.DocumentEvent.getChange:(Ljavax/swing/text/Element;)Ljavax/swing/event/DocumentEvent$ElementChange;
astore 4
start local 4 2: aload 4
ifnull 15
3: aload 4
invokeinterface javax.swing.event.DocumentEvent$ElementChange.getChildrenRemoved:()[Ljavax/swing/text/Element;
astore 5
start local 5 4: aload 4
invokeinterface javax.swing.event.DocumentEvent$ElementChange.getChildrenAdded:()[Ljavax/swing/text/Element;
astore 6
start local 6 5: aload 6
arraylength
anewarray javax.swing.text.View
astore 7
start local 7 6: iconst_0
istore 8
start local 8 7: goto 10
8: StackMap locals: javax.swing.text.WrappedPlainView javax.swing.event.DocumentEvent java.awt.Shape javax.swing.text.Element javax.swing.event.DocumentEvent$ElementChange javax.swing.text.Element[] javax.swing.text.Element[] javax.swing.text.View[] int
StackMap stack:
aload 7
iload 8
new javax.swing.text.WrappedPlainView$WrappedLine
dup
aload 0
aload 6
iload 8
aaload
invokespecial javax.swing.text.WrappedPlainView$WrappedLine.<init>:(Ljavax/swing/text/WrappedPlainView;Ljavax/swing/text/Element;)V
aastore
9: iinc 8 1
StackMap locals:
StackMap stack:
10: iload 8
aload 6
arraylength
if_icmplt 8
end local 8 11: aload 0
aload 4
invokeinterface javax.swing.event.DocumentEvent$ElementChange.getIndex:()I
aload 5
arraylength
aload 7
invokevirtual javax.swing.text.WrappedPlainView.replace:(II[Ljavax/swing/text/View;)V
12: aload 2
ifnull 15
13: aload 0
aconst_null
iconst_1
iconst_1
invokevirtual javax.swing.text.WrappedPlainView.preferenceChanged:(Ljavax/swing/text/View;ZZ)V
14: aload 0
invokevirtual javax.swing.text.WrappedPlainView.getContainer:()Ljava/awt/Container;
invokevirtual java.awt.Container.repaint:()V
end local 7 end local 6 end local 5 15: StackMap locals: javax.swing.text.WrappedPlainView javax.swing.event.DocumentEvent java.awt.Shape javax.swing.text.Element javax.swing.event.DocumentEvent$ElementChange
StackMap stack:
aload 0
invokevirtual javax.swing.text.WrappedPlainView.updateMetrics:()V
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/WrappedPlainView;
0 17 1 e Ljavax/swing/event/DocumentEvent;
0 17 2 a Ljava/awt/Shape;
1 17 3 elem Ljavax/swing/text/Element;
2 17 4 ec Ljavax/swing/event/DocumentEvent$ElementChange;
4 15 5 removedElems [Ljavax/swing/text/Element;
5 15 6 addedElems [Ljavax/swing/text/Element;
6 15 7 added [Ljavax/swing/text/View;
7 11 8 i I
MethodParameters:
Name Flags
e
a
final void loadText(javax.swing.text.Segment, int, int);
descriptor: (Ljavax/swing/text/Segment;II)V
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual javax.swing.text.WrappedPlainView.getDocument:()Ljavax/swing/text/Document;
astore 4
start local 4 1: aload 4
iload 2
iload 3
iload 2
isub
aload 1
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
end local 4 2: goto 5
StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
3: pop
4: new javax.swing.text.StateInvariantError
dup
ldc "Can't get line text"
invokespecial javax.swing.text.StateInvariantError.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/WrappedPlainView;
0 6 1 segment Ljavax/swing/text/Segment;
0 6 2 p0 I
0 6 3 p1 I
1 2 4 doc Ljavax/swing/text/Document;
Exception table:
from to target type
0 2 3 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
segment
p0
p1
final void updateMetrics();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.WrappedPlainView.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
aload 1
aload 2
invokevirtual java.awt.Component.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
putfield javax.swing.text.WrappedPlainView.metrics:Ljava/awt/FontMetrics;
3: aload 0
aload 0
invokevirtual javax.swing.text.WrappedPlainView.getTabSize:()I
aload 0
getfield javax.swing.text.WrappedPlainView.metrics:Ljava/awt/FontMetrics;
bipush 109
invokevirtual java.awt.FontMetrics.charWidth:(C)I
imul
putfield javax.swing.text.WrappedPlainView.tabSize:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/WrappedPlainView;
1 5 1 host Ljava/awt/Component;
2 5 2 f Ljava/awt/Font;
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.WrappedPlainView.tabSize:I
ifne 2
1: fload 1
freturn
2: StackMap locals:
StackMap stack:
fload 1
f2i
aload 0
getfield javax.swing.text.WrappedPlainView.tabBase:I
isub
aload 0
getfield javax.swing.text.WrappedPlainView.tabSize:I
idiv
istore 3
start local 3 3: aload 0
getfield javax.swing.text.WrappedPlainView.tabBase:I
iload 3
iconst_1
iadd
aload 0
getfield javax.swing.text.WrappedPlainView.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/WrappedPlainView;
0 4 1 x F
0 4 2 tabOffset I
3 4 3 ntabs I
MethodParameters:
Name Flags
x
tabOffset
public void paint(java.awt.Graphics, java.awt.Shape);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Shape;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
checkcast java.awt.Rectangle
astore 3
start local 3 1: aload 0
aload 3
getfield java.awt.Rectangle.x:I
putfield javax.swing.text.WrappedPlainView.tabBase:I
2: aload 0
invokevirtual javax.swing.text.WrappedPlainView.getContainer:()Ljava/awt/Container;
checkcast javax.swing.text.JTextComponent
astore 4
start local 4 3: aload 0
aload 4
invokevirtual javax.swing.text.JTextComponent.getSelectionStart:()I
putfield javax.swing.text.WrappedPlainView.sel0:I
4: aload 0
aload 4
invokevirtual javax.swing.text.JTextComponent.getSelectionEnd:()I
putfield javax.swing.text.WrappedPlainView.sel1:I
5: aload 0
aload 4
invokevirtual javax.swing.text.JTextComponent.isEnabled:()Z
ifeq 7
6: aload 4
invokevirtual javax.swing.text.JTextComponent.getForeground:()Ljava/awt/Color;
goto 8
StackMap locals: javax.swing.text.WrappedPlainView java.awt.Graphics java.awt.Shape java.awt.Rectangle javax.swing.text.JTextComponent
StackMap stack: javax.swing.text.WrappedPlainView
7: aload 4
invokevirtual javax.swing.text.JTextComponent.getDisabledTextColor:()Ljava/awt/Color;
8: StackMap locals: javax.swing.text.WrappedPlainView java.awt.Graphics java.awt.Shape java.awt.Rectangle javax.swing.text.JTextComponent
StackMap stack: javax.swing.text.WrappedPlainView java.awt.Color
putfield javax.swing.text.WrappedPlainView.unselected:Ljava/awt/Color;
9: aload 4
invokevirtual javax.swing.text.JTextComponent.getCaret:()Ljavax/swing/text/Caret;
astore 5
start local 5 10: aload 0
aload 5
invokeinterface javax.swing.text.Caret.isSelectionVisible:()Z
ifeq 12
aload 4
invokevirtual javax.swing.text.JTextComponent.getHighlighter:()Ljavax/swing/text/Highlighter;
ifnull 12
11: aload 4
invokevirtual javax.swing.text.JTextComponent.getSelectedTextColor:()Ljava/awt/Color;
goto 13
StackMap locals: javax.swing.text.WrappedPlainView java.awt.Graphics java.awt.Shape java.awt.Rectangle javax.swing.text.JTextComponent javax.swing.text.Caret
StackMap stack: javax.swing.text.WrappedPlainView
12: aload 0
getfield javax.swing.text.WrappedPlainView.unselected:Ljava/awt/Color;
13: StackMap locals: javax.swing.text.WrappedPlainView java.awt.Graphics java.awt.Shape java.awt.Rectangle javax.swing.text.JTextComponent javax.swing.text.Caret
StackMap stack: javax.swing.text.WrappedPlainView java.awt.Color
putfield javax.swing.text.WrappedPlainView.selected:Ljava/awt/Color;
14: aload 1
aload 4
invokevirtual javax.swing.text.JTextComponent.getFont:()Ljava/awt/Font;
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
15: aload 0
aload 1
aload 2
invokespecial javax.swing.text.BoxView.paint:(Ljava/awt/Graphics;Ljava/awt/Shape;)V
16: 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 17 0 this Ljavax/swing/text/WrappedPlainView;
0 17 1 g Ljava/awt/Graphics;
0 17 2 a Ljava/awt/Shape;
1 17 3 alloc Ljava/awt/Rectangle;
3 17 4 host Ljavax/swing/text/JTextComponent;
10 17 5 c Ljavax/swing/text/Caret;
MethodParameters:
Name Flags
g
a
public void setSize(float, float);
descriptor: (FF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.text.WrappedPlainView.updateMetrics:()V
1: fload 1
f2i
aload 0
invokevirtual javax.swing.text.WrappedPlainView.getWidth:()I
if_icmpeq 4
2: aload 0
aconst_null
iconst_1
iconst_1
invokevirtual javax.swing.text.WrappedPlainView.preferenceChanged:(Ljavax/swing/text/View;ZZ)V
3: aload 0
iconst_1
putfield javax.swing.text.WrappedPlainView.widthChanging:Z
4: StackMap locals:
StackMap stack:
aload 0
fload 1
fload 2
invokespecial javax.swing.text.BoxView.setSize:(FF)V
5: aload 0
iconst_0
putfield javax.swing.text.WrappedPlainView.widthChanging:Z
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/text/WrappedPlainView;
0 7 1 width F
0 7 2 height F
MethodParameters:
Name Flags
width
height
public float getPreferredSpan(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.WrappedPlainView.updateMetrics:()V
1: aload 0
iload 1
invokespecial javax.swing.text.BoxView.getPreferredSpan:(I)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/WrappedPlainView;
0 2 1 axis I
MethodParameters:
Name Flags
axis
public float getMinimumSpan(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.WrappedPlainView.updateMetrics:()V
1: aload 0
iload 1
invokespecial javax.swing.text.BoxView.getMinimumSpan:(I)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/WrappedPlainView;
0 2 1 axis I
MethodParameters:
Name Flags
axis
public float getMaximumSpan(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.WrappedPlainView.updateMetrics:()V
1: aload 0
iload 1
invokespecial javax.swing.text.BoxView.getMaximumSpan:(I)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/WrappedPlainView;
0 2 1 axis I
MethodParameters:
Name Flags
axis
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=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokevirtual javax.swing.text.WrappedPlainView.updateChildren:(Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;)V
1: aload 2
ifnull 3
aload 0
invokevirtual javax.swing.text.WrappedPlainView.isAllocationValid:()Z
ifeq 3
2: aload 0
aload 2
invokevirtual javax.swing.text.WrappedPlainView.getInsideAllocation:(Ljava/awt/Shape;)Ljava/awt/Rectangle;
goto 4
StackMap locals:
StackMap stack:
3: aconst_null
4: StackMap locals:
StackMap stack: java.awt.Rectangle
astore 4
start local 4 5: aload 1
invokeinterface javax.swing.event.DocumentEvent.getOffset:()I
istore 5
start local 5 6: aload 0
iload 5
aload 4
invokevirtual javax.swing.text.WrappedPlainView.getViewAtPosition:(ILjava/awt/Rectangle;)Ljavax/swing/text/View;
astore 6
start local 6 7: aload 6
ifnull 9
8: aload 6
aload 1
aload 4
aload 3
invokevirtual javax.swing.text.View.insertUpdate:(Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;Ljavax/swing/text/ViewFactory;)V
9: StackMap locals: java.awt.Rectangle int javax.swing.text.View
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/WrappedPlainView;
0 10 1 e Ljavax/swing/event/DocumentEvent;
0 10 2 a Ljava/awt/Shape;
0 10 3 f Ljavax/swing/text/ViewFactory;
5 10 4 alloc Ljava/awt/Rectangle;
6 10 5 pos I
7 10 6 v Ljavax/swing/text/View;
MethodParameters:
Name Flags
e
a
f
public void removeUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory);
descriptor: (Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;Ljavax/swing/text/ViewFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokevirtual javax.swing.text.WrappedPlainView.updateChildren:(Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;)V
1: aload 2
ifnull 3
aload 0
invokevirtual javax.swing.text.WrappedPlainView.isAllocationValid:()Z
ifeq 3
2: aload 0
aload 2
invokevirtual javax.swing.text.WrappedPlainView.getInsideAllocation:(Ljava/awt/Shape;)Ljava/awt/Rectangle;
goto 4
StackMap locals:
StackMap stack:
3: aconst_null
4: StackMap locals:
StackMap stack: java.awt.Rectangle
astore 4
start local 4 5: aload 1
invokeinterface javax.swing.event.DocumentEvent.getOffset:()I
istore 5
start local 5 6: aload 0
iload 5
aload 4
invokevirtual javax.swing.text.WrappedPlainView.getViewAtPosition:(ILjava/awt/Rectangle;)Ljavax/swing/text/View;
astore 6
start local 6 7: aload 6
ifnull 9
8: aload 6
aload 1
aload 4
aload 3
invokevirtual javax.swing.text.View.removeUpdate:(Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;Ljavax/swing/text/ViewFactory;)V
9: StackMap locals: java.awt.Rectangle int javax.swing.text.View
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/WrappedPlainView;
0 10 1 e Ljavax/swing/event/DocumentEvent;
0 10 2 a Ljava/awt/Shape;
0 10 3 f Ljavax/swing/text/ViewFactory;
5 10 4 alloc Ljava/awt/Rectangle;
6 10 5 pos I
7 10 6 v Ljavax/swing/text/View;
MethodParameters:
Name Flags
e
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=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokevirtual javax.swing.text.WrappedPlainView.updateChildren:(Ljavax/swing/event/DocumentEvent;Ljava/awt/Shape;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/WrappedPlainView;
0 2 1 e Ljavax/swing/event/DocumentEvent;
0 2 2 a Ljava/awt/Shape;
0 2 3 f Ljavax/swing/text/ViewFactory;
MethodParameters:
Name Flags
e
a
f
}
SourceFile: "WrappedPlainView.java"
NestMembers:
javax.swing.text.WrappedPlainView$WrappedLine
InnerClasses:
public abstract ElementChange = javax.swing.event.DocumentEvent$ElementChange of javax.swing.event.DocumentEvent
WrappedLine = javax.swing.text.WrappedPlainView$WrappedLine of javax.swing.text.WrappedPlainView