public class javax.swing.text.PlainDocument extends javax.swing.text.AbstractDocument
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.PlainDocument
super_class: javax.swing.text.AbstractDocument
{
public static final java.lang.String tabSizeAttribute;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "tabSize"
public static final java.lang.String lineLimitAttribute;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "lineLimit"
private javax.swing.text.AbstractDocument$AbstractElement defaultRoot;
descriptor: Ljavax/swing/text/AbstractDocument$AbstractElement;
flags: (0x0002) ACC_PRIVATE
private java.util.Vector<javax.swing.text.Element> added;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Ljavax/swing/text/Element;>;
private java.util.Vector<javax.swing.text.Element> removed;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Ljavax/swing/text/Element;>;
private transient javax.swing.text.Segment s;
descriptor: Ljavax/swing/text/Segment;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new javax.swing.text.GapContent
dup
invokespecial javax.swing.text.GapContent.<init>:()V
invokespecial javax.swing.text.PlainDocument.<init>:(Ljavax/swing/text/AbstractDocument$Content;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/PlainDocument;
public void <init>(javax.swing.text.AbstractDocument$Content);
descriptor: (Ljavax/swing/text/AbstractDocument$Content;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.text.AbstractDocument.<init>:(Ljavax/swing/text/AbstractDocument$Content;)V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield javax.swing.text.PlainDocument.added:Ljava/util/Vector;
2: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield javax.swing.text.PlainDocument.removed:Ljava/util/Vector;
3: aload 0
ldc "tabSize"
bipush 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual javax.swing.text.PlainDocument.putProperty:(Ljava/lang/Object;Ljava/lang/Object;)V
4: aload 0
aload 0
invokevirtual javax.swing.text.PlainDocument.createDefaultRoot:()Ljavax/swing/text/AbstractDocument$AbstractElement;
putfield javax.swing.text.PlainDocument.defaultRoot:Ljavax/swing/text/AbstractDocument$AbstractElement;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/PlainDocument;
0 6 1 c Ljavax/swing/text/AbstractDocument$Content;
MethodParameters:
Name Flags
c
public void insertString(int, java.lang.String, javax.swing.text.AttributeSet);
descriptor: (ILjava/lang/String;Ljavax/swing/text/AttributeSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "filterNewlines"
invokevirtual javax.swing.text.PlainDocument.getProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 1: aload 4
instanceof java.lang.Boolean
ifeq 12
aload 4
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 12
2: aload 2
ifnull 12
aload 2
bipush 10
invokevirtual java.lang.String.indexOf:(I)I
iflt 12
3: new java.lang.StringBuilder
dup
aload 2
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 5
start local 5 4: aload 5
invokevirtual java.lang.StringBuilder.length:()I
istore 6
start local 6 5: iconst_0
istore 7
start local 7 6: goto 10
7: StackMap locals: javax.swing.text.PlainDocument int java.lang.String javax.swing.text.AttributeSet java.lang.Object java.lang.StringBuilder int int
StackMap stack:
aload 5
iload 7
invokevirtual java.lang.StringBuilder.charAt:(I)C
bipush 10
if_icmpne 9
8: aload 5
iload 7
bipush 32
invokevirtual java.lang.StringBuilder.setCharAt:(IC)V
9: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
10: iload 7
iload 6
if_icmplt 7
end local 7 11: aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
end local 6 end local 5 12: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
aload 3
invokespecial javax.swing.text.AbstractDocument.insertString:(ILjava/lang/String;Ljavax/swing/text/AttributeSet;)V
13: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/text/PlainDocument;
0 14 1 offs I
0 14 2 str Ljava/lang/String;
0 14 3 a Ljavax/swing/text/AttributeSet;
1 14 4 filterNewlines Ljava/lang/Object;
4 12 5 filtered Ljava/lang/StringBuilder;
5 12 6 n I
6 11 7 i I
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
offs
str
a
public javax.swing.text.Element getDefaultRootElement();
descriptor: ()Ljavax/swing/text/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.PlainDocument.defaultRoot:Ljavax/swing/text/AbstractDocument$AbstractElement;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/PlainDocument;
protected javax.swing.text.AbstractDocument$AbstractElement createDefaultRoot();
descriptor: ()Ljavax/swing/text/AbstractDocument$AbstractElement;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
invokevirtual javax.swing.text.PlainDocument.createBranchElement:(Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;)Ljavax/swing/text/Element;
checkcast javax.swing.text.AbstractDocument$BranchElement
astore 1
start local 1 1: aload 0
aload 1
aconst_null
iconst_0
iconst_1
invokevirtual javax.swing.text.PlainDocument.createLeafElement:(Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;II)Ljavax/swing/text/Element;
astore 2
start local 2 2: iconst_1
anewarray javax.swing.text.Element
astore 3
start local 3 3: aload 3
iconst_0
aload 2
aastore
4: aload 1
iconst_0
iconst_0
aload 3
invokevirtual javax.swing.text.AbstractDocument$BranchElement.replace:(II[Ljavax/swing/text/Element;)V
5: aload 1
areturn
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/PlainDocument;
1 6 1 map Ljavax/swing/text/AbstractDocument$BranchElement;
2 6 2 line Ljavax/swing/text/Element;
3 6 3 lines [Ljavax/swing/text/Element;
public javax.swing.text.Element getParagraphElement(int);
descriptor: (I)Ljavax/swing/text/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.PlainDocument.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 2
start local 2 1: aload 2
aload 2
iload 1
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/PlainDocument;
0 2 1 pos I
1 2 2 lineMap Ljavax/swing/text/Element;
MethodParameters:
Name Flags
pos
protected void insertUpdate(javax.swing.text.AbstractDocument$DefaultDocumentEvent, javax.swing.text.AttributeSet);
descriptor: (Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;Ljavax/swing/text/AttributeSet;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=15, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.text.PlainDocument.removed:Ljava/util/Vector;
invokevirtual java.util.Vector.removeAllElements:()V
1: aload 0
getfield javax.swing.text.PlainDocument.added:Ljava/util/Vector;
invokevirtual java.util.Vector.removeAllElements:()V
2: aload 0
invokevirtual javax.swing.text.PlainDocument.getDefaultRootElement:()Ljavax/swing/text/Element;
checkcast javax.swing.text.AbstractDocument$BranchElement
astore 3
start local 3 3: aload 1
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.getOffset:()I
istore 4
start local 4 4: aload 1
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.getLength:()I
istore 5
start local 5 5: iload 4
ifle 8
6: iinc 4 -1
7: iinc 5 1
8: StackMap locals: javax.swing.text.AbstractDocument$BranchElement int int
StackMap stack:
aload 3
iload 4
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElementIndex:(I)I
istore 6
start local 6 9: aload 3
iload 6
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElement:(I)Ljavax/swing/text/Element;
astore 7
start local 7 10: aload 7
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 8
start local 8 11: aload 7
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 9
start local 9 12: iload 8
istore 10
start local 10 13: aload 0
getfield javax.swing.text.PlainDocument.s:Ljavax/swing/text/Segment;
ifnonnull 15
14: aload 0
new javax.swing.text.Segment
dup
invokespecial javax.swing.text.Segment.<init>:()V
putfield javax.swing.text.PlainDocument.s:Ljavax/swing/text/Segment;
15: StackMap locals: javax.swing.text.PlainDocument javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet javax.swing.text.AbstractDocument$BranchElement int int int javax.swing.text.Element int int int
StackMap stack:
aload 0
invokevirtual javax.swing.text.PlainDocument.getContent:()Ljavax/swing/text/AbstractDocument$Content;
iload 4
iload 5
aload 0
getfield javax.swing.text.PlainDocument.s:Ljavax/swing/text/Segment;
invokeinterface javax.swing.text.AbstractDocument$Content.getChars:(IILjavax/swing/text/Segment;)V
16: iconst_0
istore 11
start local 11 17: iconst_0
istore 12
start local 12 18: goto 26
19: StackMap locals: int int
StackMap stack:
aload 0
getfield javax.swing.text.PlainDocument.s:Ljavax/swing/text/Segment;
getfield javax.swing.text.Segment.array:[C
aload 0
getfield javax.swing.text.PlainDocument.s:Ljavax/swing/text/Segment;
getfield javax.swing.text.Segment.offset:I
iload 12
iadd
caload
istore 13
start local 13 20: iload 13
bipush 10
if_icmpne 25
21: iload 4
iload 12
iadd
iconst_1
iadd
istore 14
start local 14 22: aload 0
getfield javax.swing.text.PlainDocument.added:Ljava/util/Vector;
aload 0
aload 3
aconst_null
iload 10
iload 14
invokevirtual javax.swing.text.PlainDocument.createLeafElement:(Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;II)Ljavax/swing/text/Element;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
23: iload 14
istore 10
24: iconst_1
istore 11
end local 14 end local 13 25: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
26: iload 12
iload 5
if_icmplt 19
end local 12 27: iload 11
ifeq 43
28: aload 0
getfield javax.swing.text.PlainDocument.removed:Ljava/util/Vector;
aload 7
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
29: iload 4
iload 5
iadd
iload 9
if_icmpne 34
iload 10
iload 9
if_icmpeq 34
30: iload 6
iconst_1
iadd
aload 3
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElementCount:()I
if_icmpge 34
31: aload 3
iload 6
iconst_1
iadd
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElement:(I)Ljavax/swing/text/Element;
astore 12
start local 12 32: aload 0
getfield javax.swing.text.PlainDocument.removed:Ljava/util/Vector;
aload 12
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
33: aload 12
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 9
end local 12 34: StackMap locals:
StackMap stack:
iload 10
iload 9
if_icmpge 36
35: aload 0
getfield javax.swing.text.PlainDocument.added:Ljava/util/Vector;
aload 0
aload 3
aconst_null
iload 10
iload 9
invokevirtual javax.swing.text.PlainDocument.createLeafElement:(Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;II)Ljavax/swing/text/Element;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
36: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.PlainDocument.added:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
anewarray javax.swing.text.Element
astore 12
start local 12 37: aload 0
getfield javax.swing.text.PlainDocument.added:Ljava/util/Vector;
aload 12
invokevirtual java.util.Vector.copyInto:([Ljava/lang/Object;)V
38: aload 0
getfield javax.swing.text.PlainDocument.removed:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
anewarray javax.swing.text.Element
astore 13
start local 13 39: aload 0
getfield javax.swing.text.PlainDocument.removed:Ljava/util/Vector;
aload 13
invokevirtual java.util.Vector.copyInto:([Ljava/lang/Object;)V
40: new javax.swing.text.AbstractDocument$ElementEdit
dup
aload 3
iload 6
aload 13
aload 12
invokespecial javax.swing.text.AbstractDocument$ElementEdit.<init>:(Ljavax/swing/text/Element;I[Ljavax/swing/text/Element;[Ljavax/swing/text/Element;)V
astore 14
start local 14 41: aload 1
aload 14
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
pop
42: aload 3
iload 6
aload 13
arraylength
aload 12
invokevirtual javax.swing.text.AbstractDocument$BranchElement.replace:(II[Ljavax/swing/text/Element;)V
end local 14 end local 13 end local 12 43: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.swing.text.Utilities.isComposedTextAttributeDefined:(Ljavax/swing/text/AttributeSet;)Z
ifeq 48
44: aload 0
aload 1
aload 2
invokevirtual javax.swing.text.PlainDocument.insertComposedTextUpdate:(Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;Ljavax/swing/text/AttributeSet;)V
end local 11 45: goto 48
StackMap locals: javax.swing.text.PlainDocument javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet javax.swing.text.AbstractDocument$BranchElement int int int javax.swing.text.Element int int int
StackMap stack: javax.swing.text.BadLocationException
46: astore 11
start local 11 47: new java.lang.Error
dup
new java.lang.StringBuilder
dup
ldc "Internal error: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual javax.swing.text.BadLocationException.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 11 48: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial javax.swing.text.AbstractDocument.insertUpdate:(Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;Ljavax/swing/text/AttributeSet;)V
49: return
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 50 0 this Ljavax/swing/text/PlainDocument;
0 50 1 chng Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
0 50 2 attr Ljavax/swing/text/AttributeSet;
3 50 3 lineMap Ljavax/swing/text/AbstractDocument$BranchElement;
4 50 4 offset I
5 50 5 length I
9 50 6 index I
10 50 7 rmCandidate Ljavax/swing/text/Element;
11 50 8 rmOffs0 I
12 50 9 rmOffs1 I
13 50 10 lastOffset I
17 45 11 hasBreaks Z
18 27 12 i I
20 25 13 c C
22 25 14 breakOffset I
32 34 12 e Ljavax/swing/text/Element;
37 43 12 aelems [Ljavax/swing/text/Element;
39 43 13 relems [Ljavax/swing/text/Element;
41 43 14 ee Ljavax/swing/text/AbstractDocument$ElementEdit;
47 48 11 e Ljavax/swing/text/BadLocationException;
Exception table:
from to target type
13 45 46 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
chng
attr
protected void removeUpdate(javax.swing.text.AbstractDocument$DefaultDocumentEvent);
descriptor: (Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=12, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.PlainDocument.removed:Ljava/util/Vector;
invokevirtual java.util.Vector.removeAllElements:()V
1: aload 0
invokevirtual javax.swing.text.PlainDocument.getDefaultRootElement:()Ljavax/swing/text/Element;
checkcast javax.swing.text.AbstractDocument$BranchElement
astore 2
start local 2 2: aload 1
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.getOffset:()I
istore 3
start local 3 3: aload 1
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.getLength:()I
istore 4
start local 4 4: aload 2
iload 3
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElementIndex:(I)I
istore 5
start local 5 5: aload 2
iload 3
iload 4
iadd
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElementIndex:(I)I
istore 6
start local 6 6: iload 5
iload 6
if_icmpeq 22
7: iload 5
istore 7
start local 7 8: goto 11
9: StackMap locals: javax.swing.text.PlainDocument javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AbstractDocument$BranchElement int int int int int
StackMap stack:
aload 0
getfield javax.swing.text.PlainDocument.removed:Ljava/util/Vector;
aload 2
iload 7
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElement:(I)Ljavax/swing/text/Element;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
10: iinc 7 1
StackMap locals:
StackMap stack:
11: iload 7
iload 6
if_icmple 9
end local 7 12: aload 2
iload 5
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElement:(I)Ljavax/swing/text/Element;
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 7
start local 7 13: aload 2
iload 6
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElement:(I)Ljavax/swing/text/Element;
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 8
start local 8 14: iconst_1
anewarray javax.swing.text.Element
astore 9
start local 9 15: aload 9
iconst_0
aload 0
aload 2
aconst_null
iload 7
iload 8
invokevirtual javax.swing.text.PlainDocument.createLeafElement:(Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;II)Ljavax/swing/text/Element;
aastore
16: aload 0
getfield javax.swing.text.PlainDocument.removed:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
anewarray javax.swing.text.Element
astore 10
start local 10 17: aload 0
getfield javax.swing.text.PlainDocument.removed:Ljava/util/Vector;
aload 10
invokevirtual java.util.Vector.copyInto:([Ljava/lang/Object;)V
18: new javax.swing.text.AbstractDocument$ElementEdit
dup
aload 2
iload 5
aload 10
aload 9
invokespecial javax.swing.text.AbstractDocument$ElementEdit.<init>:(Ljavax/swing/text/Element;I[Ljavax/swing/text/Element;[Ljavax/swing/text/Element;)V
astore 11
start local 11 19: aload 1
aload 11
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
pop
20: aload 2
iload 5
aload 10
arraylength
aload 9
invokevirtual javax.swing.text.AbstractDocument$BranchElement.replace:(II[Ljavax/swing/text/Element;)V
end local 11 end local 10 end local 9 end local 8 end local 7 21: goto 35
22: StackMap locals:
StackMap stack:
aload 2
iload 5
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElement:(I)Ljavax/swing/text/Element;
astore 7
start local 7 23: aload 7
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifne 35
24: aload 7
aload 7
iload 3
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 8
start local 8 25: aload 8
invokestatic javax.swing.text.Utilities.isComposedTextElement:(Ljavax/swing/text/Element;)Z
ifeq 35
26: iconst_1
anewarray javax.swing.text.Element
astore 9
start local 9 27: aload 9
iconst_0
aload 0
aload 2
aconst_null
28: aload 7
invokeinterface javax.swing.text.Element.getStartOffset:()I
aload 7
invokeinterface javax.swing.text.Element.getEndOffset:()I
29: invokevirtual javax.swing.text.PlainDocument.createLeafElement:(Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;II)Ljavax/swing/text/Element;
aastore
30: iconst_1
anewarray javax.swing.text.Element
astore 10
start local 10 31: aload 10
iconst_0
aload 7
aastore
32: new javax.swing.text.AbstractDocument$ElementEdit
dup
aload 2
iload 5
aload 10
aload 9
invokespecial javax.swing.text.AbstractDocument$ElementEdit.<init>:(Ljavax/swing/text/Element;I[Ljavax/swing/text/Element;[Ljavax/swing/text/Element;)V
astore 11
start local 11 33: aload 1
aload 11
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
pop
34: aload 2
iload 5
iconst_1
aload 9
invokevirtual javax.swing.text.AbstractDocument$BranchElement.replace:(II[Ljavax/swing/text/Element;)V
end local 11 end local 10 end local 9 end local 8 end local 7 35: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial javax.swing.text.AbstractDocument.removeUpdate:(Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;)V
36: 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 37 0 this Ljavax/swing/text/PlainDocument;
0 37 1 chng Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
2 37 2 map Ljavax/swing/text/AbstractDocument$BranchElement;
3 37 3 offset I
4 37 4 length I
5 37 5 line0 I
6 37 6 line1 I
8 12 7 i I
13 21 7 p0 I
14 21 8 p1 I
15 21 9 aelems [Ljavax/swing/text/Element;
17 21 10 relems [Ljavax/swing/text/Element;
19 21 11 ee Ljavax/swing/text/AbstractDocument$ElementEdit;
23 35 7 line Ljavax/swing/text/Element;
25 35 8 leaf Ljavax/swing/text/Element;
27 35 9 aelem [Ljavax/swing/text/Element;
31 35 10 relem [Ljavax/swing/text/Element;
33 35 11 ee Ljavax/swing/text/AbstractDocument$ElementEdit;
MethodParameters:
Name Flags
chng
private void insertComposedTextUpdate(javax.swing.text.AbstractDocument$DefaultDocumentEvent, javax.swing.text.AttributeSet);
descriptor: (Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;Ljavax/swing/text/AttributeSet;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.swing.text.PlainDocument.added:Ljava/util/Vector;
invokevirtual java.util.Vector.removeAllElements:()V
1: aload 0
invokevirtual javax.swing.text.PlainDocument.getDefaultRootElement:()Ljavax/swing/text/Element;
checkcast javax.swing.text.AbstractDocument$BranchElement
astore 3
start local 3 2: aload 1
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.getOffset:()I
istore 4
start local 4 3: aload 1
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.getLength:()I
istore 5
start local 5 4: aload 3
iload 4
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElementIndex:(I)I
istore 6
start local 6 5: aload 3
iload 6
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElement:(I)Ljavax/swing/text/Element;
astore 7
start local 7 6: aload 7
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 8
start local 8 7: aload 7
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 9
start local 9 8: iconst_1
anewarray javax.swing.text.AbstractDocument$BranchElement
astore 10
start local 10 9: aload 10
iconst_0
aload 0
aload 3
aconst_null
invokevirtual javax.swing.text.PlainDocument.createBranchElement:(Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;)Ljavax/swing/text/Element;
checkcast javax.swing.text.AbstractDocument$BranchElement
aastore
10: iconst_1
anewarray javax.swing.text.Element
astore 11
start local 11 11: aload 11
iconst_0
aload 7
aastore
12: iload 8
iload 4
if_icmpeq 14
13: aload 0
getfield javax.swing.text.PlainDocument.added:Ljava/util/Vector;
aload 0
aload 10
iconst_0
aaload
aconst_null
iload 8
iload 4
invokevirtual javax.swing.text.PlainDocument.createLeafElement:(Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;II)Ljavax/swing/text/Element;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
14: StackMap locals: javax.swing.text.PlainDocument javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet javax.swing.text.AbstractDocument$BranchElement int int int javax.swing.text.Element int int javax.swing.text.AbstractDocument$BranchElement[] javax.swing.text.Element[]
StackMap stack:
aload 0
getfield javax.swing.text.PlainDocument.added:Ljava/util/Vector;
aload 0
aload 10
iconst_0
aaload
aload 2
iload 4
iload 4
iload 5
iadd
invokevirtual javax.swing.text.PlainDocument.createLeafElement:(Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;II)Ljavax/swing/text/Element;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
15: iload 9
iload 4
iload 5
iadd
if_icmpeq 17
16: aload 0
getfield javax.swing.text.PlainDocument.added:Ljava/util/Vector;
aload 0
aload 10
iconst_0
aaload
aconst_null
iload 4
iload 5
iadd
iload 9
invokevirtual javax.swing.text.PlainDocument.createLeafElement:(Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;II)Ljavax/swing/text/Element;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
17: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.PlainDocument.added:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
anewarray javax.swing.text.Element
astore 12
start local 12 18: aload 0
getfield javax.swing.text.PlainDocument.added:Ljava/util/Vector;
aload 12
invokevirtual java.util.Vector.copyInto:([Ljava/lang/Object;)V
19: new javax.swing.text.AbstractDocument$ElementEdit
dup
aload 3
iload 6
aload 11
aload 10
invokespecial javax.swing.text.AbstractDocument$ElementEdit.<init>:(Ljavax/swing/text/Element;I[Ljavax/swing/text/Element;[Ljavax/swing/text/Element;)V
astore 13
start local 13 20: aload 1
aload 13
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
pop
21: aload 10
iconst_0
aaload
iconst_0
iconst_0
aload 12
invokevirtual javax.swing.text.AbstractDocument$BranchElement.replace:(II[Ljavax/swing/text/Element;)V
22: aload 3
iload 6
iconst_1
aload 10
invokevirtual javax.swing.text.AbstractDocument$BranchElement.replace:(II[Ljavax/swing/text/Element;)V
23: return
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljavax/swing/text/PlainDocument;
0 24 1 chng Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
0 24 2 attr Ljavax/swing/text/AttributeSet;
2 24 3 lineMap Ljavax/swing/text/AbstractDocument$BranchElement;
3 24 4 offset I
4 24 5 length I
5 24 6 index I
6 24 7 elem Ljavax/swing/text/Element;
7 24 8 elemStart I
8 24 9 elemEnd I
9 24 10 abelem [Ljavax/swing/text/AbstractDocument$BranchElement;
11 24 11 relem [Ljavax/swing/text/Element;
18 24 12 alelem [Ljavax/swing/text/Element;
20 24 13 ee Ljavax/swing/text/AbstractDocument$ElementEdit;
MethodParameters:
Name Flags
chng
attr
}
SourceFile: "PlainDocument.java"
InnerClasses:
public abstract AbstractElement = javax.swing.text.AbstractDocument$AbstractElement of javax.swing.text.AbstractDocument
public BranchElement = javax.swing.text.AbstractDocument$BranchElement of javax.swing.text.AbstractDocument
public abstract Content = javax.swing.text.AbstractDocument$Content of javax.swing.text.AbstractDocument
public DefaultDocumentEvent = javax.swing.text.AbstractDocument$DefaultDocumentEvent of javax.swing.text.AbstractDocument
public ElementEdit = javax.swing.text.AbstractDocument$ElementEdit of javax.swing.text.AbstractDocument