public class javax.swing.text.DefaultStyledDocument extends javax.swing.text.AbstractDocument implements javax.swing.text.StyledDocument
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.swing.text.DefaultStyledDocument
super_class: javax.swing.text.AbstractDocument
{
public static final int BUFFER_SIZE_DEFAULT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4096
protected javax.swing.text.DefaultStyledDocument$ElementBuffer buffer;
descriptor: Ljavax/swing/text/DefaultStyledDocument$ElementBuffer;
flags: (0x0004) ACC_PROTECTED
private transient java.util.Vector<javax.swing.text.Style> listeningStyles;
descriptor: Ljava/util/Vector;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/util/Vector<Ljavax/swing/text/Style;>;
private transient javax.swing.event.ChangeListener styleChangeListener;
descriptor: Ljavax/swing/event/ChangeListener;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient javax.swing.event.ChangeListener styleContextChangeListener;
descriptor: Ljavax/swing/event/ChangeListener;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient javax.swing.text.DefaultStyledDocument$ChangeUpdateRunnable updateRunnable;
descriptor: Ljavax/swing/text/DefaultStyledDocument$ChangeUpdateRunnable;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public void <init>(javax.swing.text.AbstractDocument$Content, javax.swing.text.StyleContext);
descriptor: (Ljavax/swing/text/AbstractDocument$Content;Ljavax/swing/text/StyleContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial javax.swing.text.AbstractDocument.<init>:(Ljavax/swing/text/AbstractDocument$Content;Ljavax/swing/text/AbstractDocument$AttributeContext;)V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield javax.swing.text.DefaultStyledDocument.listeningStyles:Ljava/util/Vector;
2: aload 0
new javax.swing.text.DefaultStyledDocument$ElementBuffer
dup
aload 0
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.createDefaultRoot:()Ljavax/swing/text/AbstractDocument$AbstractElement;
invokespecial javax.swing.text.DefaultStyledDocument$ElementBuffer.<init>:(Ljavax/swing/text/DefaultStyledDocument;Ljavax/swing/text/Element;)V
putfield javax.swing.text.DefaultStyledDocument.buffer:Ljavax/swing/text/DefaultStyledDocument$ElementBuffer;
3: aload 2
ldc "default"
invokevirtual javax.swing.text.StyleContext.getStyle:(Ljava/lang/String;)Ljavax/swing/text/Style;
astore 3
start local 3 4: aload 0
iconst_0
aload 3
invokevirtual javax.swing.text.DefaultStyledDocument.setLogicalStyle:(ILjavax/swing/text/Style;)V
5: 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/DefaultStyledDocument;
0 6 1 c Ljavax/swing/text/AbstractDocument$Content;
0 6 2 styles Ljavax/swing/text/StyleContext;
4 6 3 defaultStyle Ljavax/swing/text/Style;
MethodParameters:
Name Flags
c
styles
public void <init>(javax.swing.text.StyleContext);
descriptor: (Ljavax/swing/text/StyleContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new javax.swing.text.GapContent
dup
sipush 4096
invokespecial javax.swing.text.GapContent.<init>:(I)V
aload 1
invokespecial javax.swing.text.DefaultStyledDocument.<init>:(Ljavax/swing/text/AbstractDocument$Content;Ljavax/swing/text/StyleContext;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultStyledDocument;
0 2 1 styles Ljavax/swing/text/StyleContext;
MethodParameters:
Name Flags
styles
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new javax.swing.text.GapContent
dup
sipush 4096
invokespecial javax.swing.text.GapContent.<init>:(I)V
new javax.swing.text.StyleContext
dup
invokespecial javax.swing.text.StyleContext.<init>:()V
invokespecial javax.swing.text.DefaultStyledDocument.<init>:(Ljavax/swing/text/AbstractDocument$Content;Ljavax/swing/text/StyleContext;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultStyledDocument;
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.DefaultStyledDocument.buffer:Ljavax/swing/text/DefaultStyledDocument$ElementBuffer;
invokevirtual javax.swing.text.DefaultStyledDocument$ElementBuffer.getRootElement:()Ljavax/swing/text/Element;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultStyledDocument;
protected void create(javax.swing.text.DefaultStyledDocument$ElementSpec[]);
descriptor: ([Ljavax/swing/text/DefaultStyledDocument$ElementSpec;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getLength:()I
ifeq 2
1: aload 0
iconst_0
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getLength:()I
invokevirtual javax.swing.text.DefaultStyledDocument.remove:(II)V
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeLock:()V
3: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getContent:()Ljavax/swing/text/AbstractDocument$Content;
astore 2
start local 2 4: aload 1
arraylength
istore 3
start local 3 5: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 12
8: StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.text.DefaultStyledDocument$ElementSpec[] javax.swing.text.AbstractDocument$Content int java.lang.StringBuilder int
StackMap stack:
aload 1
iload 5
aaload
astore 6
start local 6 9: aload 6
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getLength:()I
ifle 11
10: aload 4
aload 6
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getArray:()[C
aload 6
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getOffset:()I
aload 6
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getLength:()I
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
end local 6 11: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
iload 3
if_icmplt 8
end local 5 13: aload 2
iconst_0
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface javax.swing.text.AbstractDocument$Content.insertString:(ILjava/lang/String;)Ljavax/swing/undo/UndoableEdit;
astore 5
start local 5 14: aload 4
invokevirtual java.lang.StringBuilder.length:()I
istore 6
start local 6 15: new javax.swing.text.AbstractDocument$DefaultDocumentEvent
dup
aload 0
iconst_0
iload 6
getstatic javax.swing.event.DocumentEvent$EventType.INSERT:Ljavax/swing/event/DocumentEvent$EventType;
invokespecial javax.swing.text.AbstractDocument$DefaultDocumentEvent.<init>:(Ljavax/swing/text/AbstractDocument;IILjavax/swing/event/DocumentEvent$EventType;)V
16: astore 7
start local 7 17: aload 7
aload 5
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
pop
18: aload 0
getfield javax.swing.text.DefaultStyledDocument.buffer:Ljavax/swing/text/DefaultStyledDocument$ElementBuffer;
iload 6
aload 1
aload 7
invokevirtual javax.swing.text.DefaultStyledDocument$ElementBuffer.create:(I[Ljavax/swing/text/DefaultStyledDocument$ElementSpec;Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;)V
19: aload 0
aload 7
aconst_null
invokespecial javax.swing.text.AbstractDocument.insertUpdate:(Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;Ljavax/swing/text/AttributeSet;)V
20: aload 7
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.end:()V
21: aload 0
aload 7
invokevirtual javax.swing.text.DefaultStyledDocument.fireInsertUpdate:(Ljavax/swing/event/DocumentEvent;)V
22: aload 0
new javax.swing.event.UndoableEditEvent
dup
aload 0
aload 7
invokespecial javax.swing.event.UndoableEditEvent.<init>:(Ljava/lang/Object;Ljavax/swing/undo/UndoableEdit;)V
invokevirtual javax.swing.text.DefaultStyledDocument.fireUndoableEditUpdate:(Ljavax/swing/event/UndoableEditEvent;)V
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 23: goto 29
StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.text.DefaultStyledDocument$ElementSpec[]
StackMap stack: javax.swing.text.BadLocationException
24: pop
25: new javax.swing.text.StateInvariantError
dup
ldc "problem initializing"
invokespecial javax.swing.text.StateInvariantError.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
27: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
28: aload 8
athrow
29: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
30: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Ljavax/swing/text/DefaultStyledDocument;
0 31 1 data [Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
4 23 2 c Ljavax/swing/text/AbstractDocument$Content;
5 23 3 n I
6 23 4 sb Ljava/lang/StringBuilder;
7 13 5 i I
9 11 6 es Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
14 23 5 cEdit Ljavax/swing/undo/UndoableEdit;
15 23 6 length I
17 23 7 evnt Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
Exception table:
from to target type
0 23 24 Class javax.swing.text.BadLocationException
0 26 26 any
MethodParameters:
Name Flags
data
protected void insert(int, javax.swing.text.DefaultStyledDocument$ElementSpec[]);
descriptor: (I[Ljavax/swing/text/DefaultStyledDocument$ElementSpec;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 1
aload 2
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeLock:()V
3: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getContent:()Ljavax/swing/text/AbstractDocument$Content;
astore 3
start local 3 4: aload 2
arraylength
istore 4
start local 4 5: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 6: iconst_0
istore 6
start local 6 7: goto 12
8: StackMap locals: javax.swing.text.DefaultStyledDocument int javax.swing.text.DefaultStyledDocument$ElementSpec[] javax.swing.text.AbstractDocument$Content int java.lang.StringBuilder int
StackMap stack:
aload 2
iload 6
aaload
astore 7
start local 7 9: aload 7
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getLength:()I
ifle 11
10: aload 5
aload 7
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getArray:()[C
aload 7
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getOffset:()I
aload 7
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getLength:()I
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
end local 7 11: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
iload 4
if_icmplt 8
end local 6 13: aload 5
invokevirtual java.lang.StringBuilder.length:()I
ifne 16
14: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
15: return
16: StackMap locals:
StackMap stack:
aload 3
iload 1
aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface javax.swing.text.AbstractDocument$Content.insertString:(ILjava/lang/String;)Ljavax/swing/undo/UndoableEdit;
astore 6
start local 6 17: aload 5
invokevirtual java.lang.StringBuilder.length:()I
istore 7
start local 7 18: new javax.swing.text.AbstractDocument$DefaultDocumentEvent
dup
aload 0
iload 1
iload 7
getstatic javax.swing.event.DocumentEvent$EventType.INSERT:Ljavax/swing/event/DocumentEvent$EventType;
invokespecial javax.swing.text.AbstractDocument$DefaultDocumentEvent.<init>:(Ljavax/swing/text/AbstractDocument;IILjavax/swing/event/DocumentEvent$EventType;)V
19: astore 8
start local 8 20: aload 8
aload 6
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
pop
21: aload 0
getfield javax.swing.text.DefaultStyledDocument.buffer:Ljavax/swing/text/DefaultStyledDocument$ElementBuffer;
iload 1
iload 7
aload 2
aload 8
invokevirtual javax.swing.text.DefaultStyledDocument$ElementBuffer.insert:(II[Ljavax/swing/text/DefaultStyledDocument$ElementSpec;Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;)V
22: aload 0
aload 8
aconst_null
invokespecial javax.swing.text.AbstractDocument.insertUpdate:(Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;Ljavax/swing/text/AttributeSet;)V
23: aload 8
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.end:()V
24: aload 0
aload 8
invokevirtual javax.swing.text.DefaultStyledDocument.fireInsertUpdate:(Ljavax/swing/event/DocumentEvent;)V
25: aload 0
new javax.swing.event.UndoableEditEvent
dup
aload 0
aload 8
invokespecial javax.swing.event.UndoableEditEvent.<init>:(Ljava/lang/Object;Ljavax/swing/undo/UndoableEdit;)V
invokevirtual javax.swing.text.DefaultStyledDocument.fireUndoableEditUpdate:(Ljavax/swing/event/UndoableEditEvent;)V
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 26: goto 30
StackMap locals: javax.swing.text.DefaultStyledDocument int javax.swing.text.DefaultStyledDocument$ElementSpec[]
StackMap stack: java.lang.Throwable
27: astore 9
28: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
29: aload 9
athrow
30: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
31: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljavax/swing/text/DefaultStyledDocument;
0 32 1 offset I
0 32 2 data [Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
4 26 3 c Ljavax/swing/text/AbstractDocument$Content;
5 26 4 n I
6 26 5 sb Ljava/lang/StringBuilder;
7 13 6 i I
9 11 7 es Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
17 26 6 cEdit Ljavax/swing/undo/UndoableEdit;
18 26 7 length I
20 26 8 evnt Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
Exception table:
from to target type
2 14 27 any
16 27 27 any
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
offset
data
public void removeElement(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeLock:()V
1: aload 0
aload 1
invokevirtual javax.swing.text.DefaultStyledDocument.removeElementImpl:(Ljavax/swing/text/Element;)V
2: goto 6
StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 2
4: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
5: aload 2
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/DefaultStyledDocument;
0 8 1 elem Ljavax/swing/text/Element;
Exception table:
from to target type
0 3 3 any
MethodParameters:
Name Flags
elem
private void removeElementImpl(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=24, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.swing.text.Element.getDocument:()Ljavax/swing/text/Document;
aload 0
if_acmpeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "element doesn't belong to document"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.swing.text.Element.getParentElement:()Ljavax/swing/text/Element;
checkcast javax.swing.text.AbstractDocument$BranchElement
astore 2
start local 2 3: aload 2
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
ldc "can't remove the root element"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: javax.swing.text.AbstractDocument$BranchElement
StackMap stack:
aload 1
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 3
start local 3 6: iload 3
istore 4
start local 4 7: aload 1
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 5
start local 5 8: iload 5
istore 6
start local 6 9: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getLength:()I
iconst_1
iadd
istore 7
start local 7 10: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getContent:()Ljavax/swing/text/AbstractDocument$Content;
astore 8
start local 8 11: iconst_0
istore 9
start local 9 12: aload 1
invokestatic javax.swing.text.Utilities.isComposedTextElement:(Ljavax/swing/text/Element;)Z
istore 10
start local 10 13: iload 5
iload 7
if_icmplt 23
14: iload 3
ifgt 16
15: new java.lang.IllegalArgumentException
dup
ldc "can't remove the whole content"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.text.Element javax.swing.text.AbstractDocument$BranchElement int int int int int javax.swing.text.AbstractDocument$Content int int
StackMap stack:
iload 7
iconst_1
isub
istore 6
17: aload 8
iload 3
iconst_1
isub
iconst_1
invokeinterface javax.swing.text.AbstractDocument$Content.getString:(II)Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 10
if_icmpne 22
18: iinc 4 -1
19: goto 22
StackMap locals:
StackMap stack: javax.swing.text.BadLocationException
20: astore 11
start local 11 21: new java.lang.IllegalStateException
dup
aload 11
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 11 22: StackMap locals:
StackMap stack:
iconst_1
istore 9
23: StackMap locals:
StackMap stack:
iload 6
iload 4
isub
istore 11
start local 11 24: new javax.swing.text.AbstractDocument$DefaultDocumentEvent
dup
aload 0
iload 4
25: iload 11
getstatic javax.swing.event.DocumentEvent$EventType.REMOVE:Ljavax/swing/event/DocumentEvent$EventType;
26: invokespecial javax.swing.text.AbstractDocument$DefaultDocumentEvent.<init>:(Ljavax/swing/text/AbstractDocument;IILjavax/swing/event/DocumentEvent$EventType;)V
astore 12
start local 12 27: aconst_null
astore 13
start local 13 28: goto 33
29: StackMap locals: int javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.undo.UndoableEdit
StackMap stack:
aload 2
astore 1
30: aload 2
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getParentElement:()Ljavax/swing/text/Element;
checkcast javax.swing.text.AbstractDocument$BranchElement
astore 2
31: aload 2
ifnonnull 33
32: new java.lang.IllegalStateException
dup
ldc "invalid element structure"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
33: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElementCount:()I
iconst_1
if_icmpeq 29
34: iconst_1
anewarray javax.swing.text.Element
dup
iconst_0
aload 1
aastore
astore 14
start local 14 35: iconst_0
anewarray javax.swing.text.Element
astore 15
start local 15 36: aload 2
iload 3
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElementIndex:(I)I
istore 16
start local 16 37: aload 2
iload 16
iconst_1
aload 15
invokevirtual javax.swing.text.AbstractDocument$BranchElement.replace:(II[Ljavax/swing/text/Element;)V
38: aload 12
new javax.swing.text.AbstractDocument$ElementEdit
dup
aload 2
iload 16
aload 14
aload 15
invokespecial javax.swing.text.AbstractDocument$ElementEdit.<init>:(Ljavax/swing/text/Element;I[Ljavax/swing/text/Element;[Ljavax/swing/text/Element;)V
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
pop
39: iload 11
ifle 47
40: aload 8
iload 4
iload 11
invokeinterface javax.swing.text.AbstractDocument$Content.remove:(II)Ljavax/swing/undo/UndoableEdit;
astore 13
41: aload 13
ifnull 46
42: aload 12
aload 13
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
pop
43: goto 46
StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.text.Element javax.swing.text.AbstractDocument$BranchElement int int int int int javax.swing.text.AbstractDocument$Content int int int javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.undo.UndoableEdit javax.swing.text.Element[] javax.swing.text.Element[] int
StackMap stack: javax.swing.text.BadLocationException
44: astore 17
start local 17 45: new java.lang.IllegalStateException
dup
aload 17
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 17 46: StackMap locals:
StackMap stack:
iload 7
iload 11
isub
istore 7
47: StackMap locals:
StackMap stack:
iload 9
ifeq 66
48: aload 2
aload 2
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElementCount:()I
iconst_1
isub
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElement:(I)Ljavax/swing/text/Element;
astore 17
start local 17 49: goto 51
50: StackMap locals: javax.swing.text.Element
StackMap stack:
aload 17
aload 17
invokeinterface javax.swing.text.Element.getElementCount:()I
iconst_1
isub
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 17
51: StackMap locals:
StackMap stack:
aload 17
ifnull 52
aload 17
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifeq 50
52: StackMap locals:
StackMap stack:
aload 17
ifnonnull 54
53: new java.lang.IllegalStateException
dup
ldc "invalid element structure"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
54: StackMap locals:
StackMap stack:
aload 17
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 18
start local 18 55: aload 17
invokeinterface javax.swing.text.Element.getParentElement:()Ljavax/swing/text/Element;
checkcast javax.swing.text.AbstractDocument$BranchElement
astore 19
start local 19 56: aload 19
iload 18
invokevirtual javax.swing.text.AbstractDocument$BranchElement.getElementIndex:(I)I
istore 20
start local 20 57: aload 0
aload 19
aload 17
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
58: iload 18
iload 7
59: invokevirtual javax.swing.text.DefaultStyledDocument.createLeafElement:(Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;II)Ljavax/swing/text/Element;
astore 21
start local 21 60: iconst_1
anewarray javax.swing.text.Element
dup
iconst_0
aload 17
aastore
astore 22
start local 22 61: iconst_1
anewarray javax.swing.text.Element
dup
iconst_0
aload 21
aastore
astore 23
start local 23 62: aload 19
iload 20
iconst_1
aload 23
invokevirtual javax.swing.text.AbstractDocument$BranchElement.replace:(II[Ljavax/swing/text/Element;)V
63: aload 12
new javax.swing.text.AbstractDocument$ElementEdit
dup
aload 19
iload 20
64: aload 22
aload 23
invokespecial javax.swing.text.AbstractDocument$ElementEdit.<init>:(Ljavax/swing/text/Element;I[Ljavax/swing/text/Element;[Ljavax/swing/text/Element;)V
65: invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
pop
end local 23 end local 22 end local 21 end local 20 end local 19 end local 18 end local 17 66: StackMap locals:
StackMap stack:
aload 0
aload 12
invokevirtual javax.swing.text.DefaultStyledDocument.postRemoveUpdate:(Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;)V
67: aload 12
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.end:()V
68: aload 0
aload 12
invokevirtual javax.swing.text.DefaultStyledDocument.fireRemoveUpdate:(Ljavax/swing/event/DocumentEvent;)V
69: iload 10
ifeq 70
aload 13
ifnonnull 71
70: StackMap locals:
StackMap stack:
aload 0
new javax.swing.event.UndoableEditEvent
dup
aload 0
aload 12
invokespecial javax.swing.event.UndoableEditEvent.<init>:(Ljava/lang/Object;Ljavax/swing/undo/UndoableEdit;)V
invokevirtual javax.swing.text.DefaultStyledDocument.fireUndoableEditUpdate:(Ljavax/swing/event/UndoableEditEvent;)V
71: StackMap locals:
StackMap stack:
return
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 72 0 this Ljavax/swing/text/DefaultStyledDocument;
0 72 1 elem Ljavax/swing/text/Element;
3 72 2 parent Ljavax/swing/text/AbstractDocument$BranchElement;
6 72 3 startOffset I
7 72 4 removeFrom I
8 72 5 endOffset I
9 72 6 removeTo I
10 72 7 lastEndOffset I
11 72 8 content Ljavax/swing/text/AbstractDocument$Content;
12 72 9 atEnd Z
13 72 10 isComposedText Z
21 22 11 ble Ljavax/swing/text/BadLocationException;
24 72 11 length I
27 72 12 dde Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
28 72 13 ue Ljavax/swing/undo/UndoableEdit;
35 72 14 removed [Ljavax/swing/text/Element;
36 72 15 added [Ljavax/swing/text/Element;
37 72 16 index I
45 46 17 ble Ljavax/swing/text/BadLocationException;
49 66 17 prevLeaf Ljavax/swing/text/Element;
55 66 18 prevStartOffset I
56 66 19 prevParent Ljavax/swing/text/AbstractDocument$BranchElement;
57 66 20 prevIndex I
60 66 21 newElem Ljavax/swing/text/Element;
61 66 22 prevRemoved [Ljavax/swing/text/Element;
62 66 23 prevAdded [Ljavax/swing/text/Element;
Exception table:
from to target type
17 19 20 Class javax.swing.text.BadLocationException
40 43 44 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
elem
public javax.swing.text.Style addStyle(java.lang.String, javax.swing.text.Style);
descriptor: (Ljava/lang/String;Ljavax/swing/text/Style;)Ljavax/swing/text/Style;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getAttributeContext:()Ljavax/swing/text/AbstractDocument$AttributeContext;
checkcast javax.swing.text.StyleContext
astore 3
start local 3 1: aload 3
aload 1
aload 2
invokevirtual javax.swing.text.StyleContext.addStyle:(Ljava/lang/String;Ljavax/swing/text/Style;)Ljavax/swing/text/Style;
areturn
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/DefaultStyledDocument;
0 2 1 nm Ljava/lang/String;
0 2 2 parent Ljavax/swing/text/Style;
1 2 3 styles Ljavax/swing/text/StyleContext;
MethodParameters:
Name Flags
nm
parent
public void removeStyle(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getAttributeContext:()Ljavax/swing/text/AbstractDocument$AttributeContext;
checkcast javax.swing.text.StyleContext
astore 2
start local 2 1: aload 2
aload 1
invokevirtual javax.swing.text.StyleContext.removeStyle:(Ljava/lang/String;)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/DefaultStyledDocument;
0 3 1 nm Ljava/lang/String;
1 3 2 styles Ljavax/swing/text/StyleContext;
MethodParameters:
Name Flags
nm
public javax.swing.text.Style getStyle(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/swing/text/Style;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getAttributeContext:()Ljavax/swing/text/AbstractDocument$AttributeContext;
checkcast javax.swing.text.StyleContext
astore 2
start local 2 1: aload 2
aload 1
invokevirtual javax.swing.text.StyleContext.getStyle:(Ljava/lang/String;)Ljavax/swing/text/Style;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultStyledDocument;
0 2 1 nm Ljava/lang/String;
1 2 2 styles Ljavax/swing/text/StyleContext;
MethodParameters:
Name Flags
nm
public java.util.Enumeration<?> getStyleNames();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getAttributeContext:()Ljavax/swing/text/AbstractDocument$AttributeContext;
checkcast javax.swing.text.StyleContext
invokevirtual javax.swing.text.StyleContext.getStyleNames:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultStyledDocument;
Signature: ()Ljava/util/Enumeration<*>;
public void setLogicalStyle(int, javax.swing.text.Style);
descriptor: (ILjavax/swing/text/Style;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual javax.swing.text.DefaultStyledDocument.getParagraphElement:(I)Ljavax/swing/text/Element;
astore 3
start local 3 1: aload 3
ifnull 18
aload 3
instanceof javax.swing.text.AbstractDocument$AbstractElement
ifeq 18
2: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeLock:()V
3: new javax.swing.text.DefaultStyledDocument$StyleChangeUndoableEdit
dup
aload 3
checkcast javax.swing.text.AbstractDocument$AbstractElement
aload 2
invokespecial javax.swing.text.DefaultStyledDocument$StyleChangeUndoableEdit.<init>:(Ljavax/swing/text/AbstractDocument$AbstractElement;Ljavax/swing/text/Style;)V
astore 4
start local 4 4: aload 3
checkcast javax.swing.text.AbstractDocument$AbstractElement
aload 2
invokevirtual javax.swing.text.AbstractDocument$AbstractElement.setResolveParent:(Ljavax/swing/text/AttributeSet;)V
5: aload 3
invokeinterface javax.swing.text.Element.getStartOffset:()I
istore 5
start local 5 6: aload 3
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 6
start local 6 7: new javax.swing.text.AbstractDocument$DefaultDocumentEvent
dup
aload 0
iload 5
iload 6
iload 5
isub
getstatic javax.swing.event.DocumentEvent$EventType.CHANGE:Ljavax/swing/event/DocumentEvent$EventType;
invokespecial javax.swing.text.AbstractDocument$DefaultDocumentEvent.<init>:(Ljavax/swing/text/AbstractDocument;IILjavax/swing/event/DocumentEvent$EventType;)V
8: astore 7
start local 7 9: aload 7
aload 4
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
pop
10: aload 7
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.end:()V
11: aload 0
aload 7
invokevirtual javax.swing.text.DefaultStyledDocument.fireChangedUpdate:(Ljavax/swing/event/DocumentEvent;)V
12: aload 0
new javax.swing.event.UndoableEditEvent
dup
aload 0
aload 7
invokespecial javax.swing.event.UndoableEditEvent.<init>:(Ljava/lang/Object;Ljavax/swing/undo/UndoableEdit;)V
invokevirtual javax.swing.text.DefaultStyledDocument.fireUndoableEditUpdate:(Ljavax/swing/event/UndoableEditEvent;)V
end local 7 end local 6 end local 5 end local 4 13: goto 17
StackMap locals: javax.swing.text.DefaultStyledDocument int javax.swing.text.Style javax.swing.text.Element
StackMap stack: java.lang.Throwable
14: astore 8
15: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
16: aload 8
athrow
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
18: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/swing/text/DefaultStyledDocument;
0 19 1 pos I
0 19 2 s Ljavax/swing/text/Style;
1 19 3 paragraph Ljavax/swing/text/Element;
4 13 4 edit Ljavax/swing/text/DefaultStyledDocument$StyleChangeUndoableEdit;
6 13 5 p0 I
7 13 6 p1 I
9 13 7 e Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
Exception table:
from to target type
2 14 14 any
MethodParameters:
Name Flags
pos
s
public javax.swing.text.Style getLogicalStyle(int);
descriptor: (I)Ljavax/swing/text/Style;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
iload 1
invokevirtual javax.swing.text.DefaultStyledDocument.getParagraphElement:(I)Ljavax/swing/text/Element;
astore 3
start local 3 2: aload 3
ifnull 7
3: aload 3
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 4
start local 4 4: aload 4
invokeinterface javax.swing.text.AttributeSet.getResolveParent:()Ljavax/swing/text/AttributeSet;
astore 5
start local 5 5: aload 5
instanceof javax.swing.text.Style
ifeq 7
6: aload 5
checkcast javax.swing.text.Style
astore 2
end local 5 end local 4 7: StackMap locals: javax.swing.text.Style javax.swing.text.Element
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/DefaultStyledDocument;
0 8 1 p I
1 8 2 s Ljavax/swing/text/Style;
2 8 3 paragraph Ljavax/swing/text/Element;
4 7 4 a Ljavax/swing/text/AttributeSet;
5 7 5 parent Ljavax/swing/text/AttributeSet;
MethodParameters:
Name Flags
p
public void setCharacterAttributes(int, int, javax.swing.text.AttributeSet, boolean);
descriptor: (IILjavax/swing/text/AttributeSet;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeLock:()V
3: new javax.swing.text.AbstractDocument$DefaultDocumentEvent
dup
aload 0
iload 1
iload 2
getstatic javax.swing.event.DocumentEvent$EventType.CHANGE:Ljavax/swing/event/DocumentEvent$EventType;
invokespecial javax.swing.text.AbstractDocument$DefaultDocumentEvent.<init>:(Ljavax/swing/text/AbstractDocument;IILjavax/swing/event/DocumentEvent$EventType;)V
4: astore 5
start local 5 5: aload 0
getfield javax.swing.text.DefaultStyledDocument.buffer:Ljavax/swing/text/DefaultStyledDocument$ElementBuffer;
iload 1
iload 2
aload 5
invokevirtual javax.swing.text.DefaultStyledDocument$ElementBuffer.change:(IILjavax/swing/text/AbstractDocument$DefaultDocumentEvent;)V
6: aload 3
invokeinterface javax.swing.text.AttributeSet.copyAttributes:()Ljavax/swing/text/AttributeSet;
astore 6
start local 6 7: iload 1
istore 8
start local 8 8: goto 19
9: StackMap locals: javax.swing.text.DefaultStyledDocument int int javax.swing.text.AttributeSet int javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet top int
StackMap stack:
aload 0
iload 8
invokevirtual javax.swing.text.DefaultStyledDocument.getCharacterElement:(I)Ljavax/swing/text/Element;
astore 9
start local 9 10: aload 9
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 7
start local 7 11: iload 8
iload 7
if_icmpne 13
12: goto 20
13: StackMap locals: javax.swing.text.DefaultStyledDocument int int javax.swing.text.AttributeSet int javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet int int javax.swing.text.Element
StackMap stack:
aload 9
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
checkcast javax.swing.text.MutableAttributeSet
astore 10
start local 10 14: aload 5
new javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit
dup
aload 9
aload 6
iload 4
invokespecial javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.<init>:(Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;Z)V
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
pop
15: iload 4
ifeq 17
16: aload 10
aload 10
invokeinterface javax.swing.text.MutableAttributeSet.removeAttributes:(Ljavax/swing/text/AttributeSet;)V
17: StackMap locals: javax.swing.text.MutableAttributeSet
StackMap stack:
aload 10
aload 3
invokeinterface javax.swing.text.MutableAttributeSet.addAttributes:(Ljavax/swing/text/AttributeSet;)V
end local 10 end local 9 18: iload 7
istore 8
end local 7 StackMap locals: javax.swing.text.DefaultStyledDocument int int javax.swing.text.AttributeSet int javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet top int
StackMap stack:
19: iload 8
iload 1
iload 2
iadd
if_icmplt 9
end local 8 20: StackMap locals: javax.swing.text.DefaultStyledDocument int int javax.swing.text.AttributeSet int javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet
StackMap stack:
aload 5
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.end:()V
21: aload 0
aload 5
invokevirtual javax.swing.text.DefaultStyledDocument.fireChangedUpdate:(Ljavax/swing/event/DocumentEvent;)V
22: aload 0
new javax.swing.event.UndoableEditEvent
dup
aload 0
aload 5
invokespecial javax.swing.event.UndoableEditEvent.<init>:(Ljava/lang/Object;Ljavax/swing/undo/UndoableEdit;)V
invokevirtual javax.swing.text.DefaultStyledDocument.fireUndoableEditUpdate:(Ljavax/swing/event/UndoableEditEvent;)V
end local 6 end local 5 23: goto 27
StackMap locals: javax.swing.text.DefaultStyledDocument int int javax.swing.text.AttributeSet int
StackMap stack: java.lang.Throwable
24: astore 11
25: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
26: aload 11
athrow
27: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
28: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Ljavax/swing/text/DefaultStyledDocument;
0 29 1 offset I
0 29 2 length I
0 29 3 s Ljavax/swing/text/AttributeSet;
0 29 4 replace Z
5 23 5 changes Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
7 23 6 sCopy Ljavax/swing/text/AttributeSet;
11 19 7 lastEnd I
8 20 8 pos I
10 18 9 run Ljavax/swing/text/Element;
14 18 10 attr Ljavax/swing/text/MutableAttributeSet;
Exception table:
from to target type
2 24 24 any
MethodParameters:
Name Flags
offset
length
s
replace
public void setParagraphAttributes(int, int, javax.swing.text.AttributeSet, boolean);
descriptor: (IILjavax/swing/text/AttributeSet;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=16, 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.DefaultStyledDocument.writeLock:()V
1: new javax.swing.text.AbstractDocument$DefaultDocumentEvent
dup
aload 0
iload 1
iload 2
getstatic javax.swing.event.DocumentEvent$EventType.CHANGE:Ljavax/swing/event/DocumentEvent$EventType;
invokespecial javax.swing.text.AbstractDocument$DefaultDocumentEvent.<init>:(Ljavax/swing/text/AbstractDocument;IILjavax/swing/event/DocumentEvent$EventType;)V
2: astore 5
start local 5 3: aload 3
invokeinterface javax.swing.text.AttributeSet.copyAttributes:()Ljavax/swing/text/AttributeSet;
astore 6
start local 6 4: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 7
start local 7 5: aload 7
iload 1
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
istore 8
start local 8 6: aload 7
iload 1
iload 2
ifle 7
iload 2
iconst_1
isub
goto 8
StackMap locals: javax.swing.text.DefaultStyledDocument int int javax.swing.text.AttributeSet int javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet javax.swing.text.Element int
StackMap stack: javax.swing.text.Element int
7: iconst_0
StackMap locals: javax.swing.text.DefaultStyledDocument int int javax.swing.text.AttributeSet int javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet javax.swing.text.Element int
StackMap stack: javax.swing.text.Element int int
8: iadd
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
istore 9
start local 9 9: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 0
ldc "i18n"
invokevirtual javax.swing.text.DefaultStyledDocument.getProperty:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
istore 10
start local 10 10: iconst_0
istore 11
start local 11 11: iload 8
istore 12
start local 12 12: goto 24
13: StackMap locals: javax.swing.text.DefaultStyledDocument int int javax.swing.text.AttributeSet int javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet javax.swing.text.Element int int int int int
StackMap stack:
aload 7
iload 12
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 13
start local 13 14: aload 13
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
checkcast javax.swing.text.MutableAttributeSet
astore 14
start local 14 15: aload 5
new javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit
dup
aload 13
aload 6
iload 4
invokespecial javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit.<init>:(Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;Z)V
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.addEdit:(Ljavax/swing/undo/UndoableEdit;)Z
pop
16: iload 4
ifeq 18
17: aload 14
aload 14
invokeinterface javax.swing.text.MutableAttributeSet.removeAttributes:(Ljavax/swing/text/AttributeSet;)V
18: StackMap locals: javax.swing.text.Element javax.swing.text.MutableAttributeSet
StackMap stack:
aload 14
aload 3
invokeinterface javax.swing.text.MutableAttributeSet.addAttributes:(Ljavax/swing/text/AttributeSet;)V
19: iload 10
ifeq 23
iload 11
ifne 23
20: aload 14
getstatic java.awt.font.TextAttribute.RUN_DIRECTION:Ljava/awt/font/TextAttribute;
invokeinterface javax.swing.text.MutableAttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 21
iconst_1
goto 22
StackMap locals:
StackMap stack:
21: iconst_0
StackMap locals:
StackMap stack: int
22: istore 11
end local 14 end local 13 23: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
24: iload 12
iload 9
if_icmple 13
end local 12 25: iload 11
ifeq 27
26: aload 0
aload 5
invokevirtual javax.swing.text.DefaultStyledDocument.updateBidi:(Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;)V
27: StackMap locals:
StackMap stack:
aload 5
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.end:()V
28: aload 0
aload 5
invokevirtual javax.swing.text.DefaultStyledDocument.fireChangedUpdate:(Ljavax/swing/event/DocumentEvent;)V
29: aload 0
new javax.swing.event.UndoableEditEvent
dup
aload 0
aload 5
invokespecial javax.swing.event.UndoableEditEvent.<init>:(Ljava/lang/Object;Ljavax/swing/undo/UndoableEdit;)V
invokevirtual javax.swing.text.DefaultStyledDocument.fireUndoableEditUpdate:(Ljavax/swing/event/UndoableEditEvent;)V
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 30: goto 34
StackMap locals: javax.swing.text.DefaultStyledDocument int int javax.swing.text.AttributeSet int
StackMap stack: java.lang.Throwable
31: astore 15
32: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
33: aload 15
athrow
34: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
35: return
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/DefaultStyledDocument;
0 36 1 offset I
0 36 2 length I
0 36 3 s Ljavax/swing/text/AttributeSet;
0 36 4 replace Z
3 30 5 changes Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
4 30 6 sCopy Ljavax/swing/text/AttributeSet;
5 30 7 section Ljavax/swing/text/Element;
6 30 8 index0 I
9 30 9 index1 I
10 30 10 isI18N Z
11 30 11 hasRuns Z
12 25 12 i I
14 23 13 paragraph Ljavax/swing/text/Element;
15 23 14 attr Ljavax/swing/text/MutableAttributeSet;
Exception table:
from to target type
0 31 31 any
MethodParameters:
Name Flags
offset
length
s
replace
public javax.swing.text.Element getParagraphElement(int);
descriptor: (I)Ljavax/swing/text/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 2
start local 2 1: goto 4
2: StackMap locals: javax.swing.text.Element
StackMap stack:
aload 2
iload 1
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
istore 3
start local 3 3: aload 2
iload 3
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 2
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifeq 2
5: aload 2
ifnull 7
6: aload 2
invokeinterface javax.swing.text.Element.getParentElement:()Ljavax/swing/text/Element;
areturn
7: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/DefaultStyledDocument;
0 8 1 pos I
1 8 2 e Ljavax/swing/text/Element;
3 4 3 index I
MethodParameters:
Name Flags
pos
public javax.swing.text.Element getCharacterElement(int);
descriptor: (I)Ljavax/swing/text/Element;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 2
start local 2 1: goto 4
2: StackMap locals: javax.swing.text.Element
StackMap stack:
aload 2
iload 1
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
istore 3
start local 3 3: aload 2
iload 3
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 2
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifeq 2
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/DefaultStyledDocument;
0 6 1 pos I
1 6 2 e Ljavax/swing/text/Element;
3 4 3 index I
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=7, locals=24, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.getOffset:()I
istore 3
start local 3 1: aload 1
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.getLength:()I
istore 4
start local 4 2: aload 2
ifnonnull 4
3: getstatic javax.swing.text.SimpleAttributeSet.EMPTY:Ljavax/swing/text/AttributeSet;
astore 2
4: StackMap locals: int int
StackMap stack:
aload 0
iload 3
iload 4
iadd
invokevirtual javax.swing.text.DefaultStyledDocument.getParagraphElement:(I)Ljavax/swing/text/Element;
astore 5
start local 5 5: aload 5
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 6
start local 6 6: aload 0
iload 3
invokevirtual javax.swing.text.DefaultStyledDocument.getParagraphElement:(I)Ljavax/swing/text/Element;
astore 7
start local 7 7: aload 7
aload 7
8: iload 3
9: invokeinterface javax.swing.text.Element.getElementIndex:(I)I
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 8
start local 8 10: iload 3
iload 4
iadd
istore 9
start local 9 11: aload 8
invokeinterface javax.swing.text.Element.getEndOffset:()I
iload 9
if_icmpne 12
iconst_1
goto 13
StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet int int javax.swing.text.Element javax.swing.text.AttributeSet javax.swing.text.Element javax.swing.text.Element int
StackMap stack:
12: iconst_0
StackMap locals:
StackMap stack: int
13: istore 10
start local 10 14: aload 8
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 11
start local 11 15: new javax.swing.text.Segment
dup
invokespecial javax.swing.text.Segment.<init>:()V
astore 12
start local 12 16: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 13
start local 13 17: aconst_null
astore 14
start local 14 18: iconst_0
istore 15
start local 15 19: bipush 6
istore 16
start local 16 20: iload 3
ifle 36
21: aload 0
iload 3
iconst_1
isub
iconst_1
aload 12
invokevirtual javax.swing.text.DefaultStyledDocument.getText:(IILjavax/swing/text/Segment;)V
22: aload 12
getfield javax.swing.text.Segment.array:[C
aload 12
getfield javax.swing.text.Segment.offset:I
caload
bipush 10
if_icmpne 36
23: iconst_1
istore 15
24: aload 0
25: aload 5
aload 7
aload 6
aload 13
26: iload 3
iload 9
27: invokevirtual javax.swing.text.DefaultStyledDocument.createSpecsForInsertAfterNewline:(Ljavax/swing/text/Element;Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;Ljava/util/Vector;II)S
istore 16
28: aload 13
invokevirtual java.util.Vector.size:()I
iconst_1
isub
istore 17
start local 17 29: goto 35
30: StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet int int javax.swing.text.Element javax.swing.text.AttributeSet javax.swing.text.Element javax.swing.text.Element int int javax.swing.text.AttributeSet javax.swing.text.Segment java.util.Vector javax.swing.text.DefaultStyledDocument$ElementSpec int int int
StackMap stack:
aload 13
iload 17
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.text.DefaultStyledDocument$ElementSpec
astore 18
start local 18 31: aload 18
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getType:()S
iconst_1
if_icmpne 34
32: aload 18
astore 14
33: goto 36
end local 18 34: StackMap locals:
StackMap stack:
iinc 17 -1
35: StackMap locals:
StackMap stack:
iload 17
ifge 30
end local 17 36: StackMap locals:
StackMap stack:
iload 15
ifne 38
37: aload 7
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 6
38: StackMap locals:
StackMap stack:
aload 0
iload 3
iload 4
aload 12
invokevirtual javax.swing.text.DefaultStyledDocument.getText:(IILjavax/swing/text/Segment;)V
39: aload 12
getfield javax.swing.text.Segment.array:[C
astore 17
start local 17 40: aload 12
getfield javax.swing.text.Segment.offset:I
aload 12
getfield javax.swing.text.Segment.count:I
iadd
istore 18
start local 18 41: aload 12
getfield javax.swing.text.Segment.offset:I
istore 19
start local 19 42: aload 12
getfield javax.swing.text.Segment.offset:I
istore 20
start local 20 43: goto 58
44: StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet int int javax.swing.text.Element javax.swing.text.AttributeSet javax.swing.text.Element javax.swing.text.Element int int javax.swing.text.AttributeSet javax.swing.text.Segment java.util.Vector javax.swing.text.DefaultStyledDocument$ElementSpec int int char[] int int int
StackMap stack:
aload 17
iload 20
caload
bipush 10
if_icmpne 57
45: iload 20
iconst_1
iadd
istore 21
start local 21 46: aload 13
47: new javax.swing.text.DefaultStyledDocument$ElementSpec
dup
aload 2
iconst_3
48: iload 21
iload 19
isub
49: invokespecial javax.swing.text.DefaultStyledDocument$ElementSpec.<init>:(Ljavax/swing/text/AttributeSet;SI)V
50: invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
51: aload 13
52: new javax.swing.text.DefaultStyledDocument$ElementSpec
dup
aconst_null
iconst_2
invokespecial javax.swing.text.DefaultStyledDocument$ElementSpec.<init>:(Ljavax/swing/text/AttributeSet;S)V
53: invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
54: new javax.swing.text.DefaultStyledDocument$ElementSpec
dup
aload 6
iconst_1
invokespecial javax.swing.text.DefaultStyledDocument$ElementSpec.<init>:(Ljavax/swing/text/AttributeSet;S)V
astore 14
55: aload 13
aload 14
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
56: iload 21
istore 19
end local 21 57: StackMap locals:
StackMap stack:
iinc 20 1
StackMap locals:
StackMap stack:
58: iload 20
iload 18
if_icmplt 44
end local 20 59: iload 19
iload 18
if_icmpge 65
60: aload 13
61: new javax.swing.text.DefaultStyledDocument$ElementSpec
dup
aload 2
iconst_3
62: iload 18
iload 19
isub
63: invokespecial javax.swing.text.DefaultStyledDocument$ElementSpec.<init>:(Ljavax/swing/text/AttributeSet;SI)V
64: invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
65: StackMap locals:
StackMap stack:
aload 13
invokevirtual java.util.Vector.firstElement:()Ljava/lang/Object;
checkcast javax.swing.text.DefaultStyledDocument$ElementSpec
astore 20
start local 20 66: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getLength:()I
istore 21
start local 21 67: aload 20
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getType:()S
iconst_3
if_icmpne 70
68: aload 11
aload 2
invokeinterface javax.swing.text.AttributeSet.isEqual:(Ljavax/swing/text/AttributeSet;)Z
ifeq 70
69: aload 20
iconst_4
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
70: StackMap locals: javax.swing.text.DefaultStyledDocument$ElementSpec int
StackMap stack:
aload 14
ifnull 82
71: iload 15
ifeq 74
72: aload 14
iload 16
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
73: goto 82
74: StackMap locals:
StackMap stack:
aload 7
invokeinterface javax.swing.text.Element.getEndOffset:()I
iload 9
if_icmpeq 77
75: aload 14
bipush 7
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
76: goto 82
77: StackMap locals:
StackMap stack:
aload 7
invokeinterface javax.swing.text.Element.getParentElement:()Ljavax/swing/text/Element;
astore 22
start local 22 78: aload 22
iload 3
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
istore 23
start local 23 79: iload 23
iconst_1
iadd
aload 22
invokeinterface javax.swing.text.Element.getElementCount:()I
if_icmpge 82
80: aload 22
iload 23
iconst_1
iadd
invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifne 82
81: aload 14
iconst_5
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
end local 23 end local 22 82: StackMap locals:
StackMap stack:
iload 10
ifeq 97
iload 9
iload 21
if_icmpge 97
83: aload 13
invokevirtual java.util.Vector.lastElement:()Ljava/lang/Object;
checkcast javax.swing.text.DefaultStyledDocument$ElementSpec
astore 22
start local 22 84: aload 22
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getType:()S
iconst_3
if_icmpne 106
85: aload 22
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getDirection:()S
iconst_4
if_icmpeq 106
86: aload 14
ifnonnull 88
aload 5
aload 7
if_acmpeq 90
87: iload 15
ifne 90
88: StackMap locals: javax.swing.text.DefaultStyledDocument$ElementSpec
StackMap stack:
aload 14
ifnull 106
aload 14
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getDirection:()S
89: bipush 6
if_icmpeq 106
90: StackMap locals:
StackMap stack:
aload 5
aload 5
91: iload 9
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
92: invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 23
start local 23 93: aload 23
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifeq 106
94: aload 2
aload 23
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
invokeinterface javax.swing.text.AttributeSet.isEqual:(Ljavax/swing/text/AttributeSet;)Z
ifeq 106
95: aload 22
iconst_5
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
end local 23 end local 22 96: goto 106
97: StackMap locals:
StackMap stack:
iload 10
ifne 106
aload 14
ifnull 106
98: aload 14
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getDirection:()S
99: bipush 7
100: if_icmpne 106
101: aload 13
invokevirtual java.util.Vector.lastElement:()Ljava/lang/Object;
checkcast javax.swing.text.DefaultStyledDocument$ElementSpec
astore 22
start local 22 102: aload 22
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getType:()S
iconst_3
if_icmpne 106
103: aload 22
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getDirection:()S
iconst_4
if_icmpeq 106
104: aload 2
aload 11
invokeinterface javax.swing.text.AttributeSet.isEqual:(Ljavax/swing/text/AttributeSet;)Z
ifeq 106
105: aload 22
iconst_5
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
end local 22 106: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.swing.text.Utilities.isComposedTextAttributeDefined:(Ljavax/swing/text/AttributeSet;)Z
ifeq 117
107: aload 2
checkcast javax.swing.text.MutableAttributeSet
astore 22
start local 22 108: aload 22
aload 11
invokeinterface javax.swing.text.MutableAttributeSet.addAttributes:(Ljavax/swing/text/AttributeSet;)V
109: aload 22
ldc "$ename"
110: ldc "content"
111: invokeinterface javax.swing.text.MutableAttributeSet.addAttribute:(Ljava/lang/Object;Ljava/lang/Object;)V
112: aload 22
getstatic javax.swing.text.StyleConstants.NameAttribute:Ljava/lang/Object;
113: ldc "content"
114: invokeinterface javax.swing.text.MutableAttributeSet.addAttribute:(Ljava/lang/Object;Ljava/lang/Object;)V
115: aload 22
ldc "CR"
invokeinterface javax.swing.text.MutableAttributeSet.isDefined:(Ljava/lang/Object;)Z
ifeq 117
116: aload 22
ldc "CR"
invokeinterface javax.swing.text.MutableAttributeSet.removeAttribute:(Ljava/lang/Object;)V
end local 22 117: StackMap locals:
StackMap stack:
aload 13
invokevirtual java.util.Vector.size:()I
anewarray javax.swing.text.DefaultStyledDocument$ElementSpec
astore 22
start local 22 118: aload 13
aload 22
invokevirtual java.util.Vector.copyInto:([Ljava/lang/Object;)V
119: aload 0
getfield javax.swing.text.DefaultStyledDocument.buffer:Ljavax/swing/text/DefaultStyledDocument$ElementBuffer;
iload 3
iload 4
aload 22
aload 1
invokevirtual javax.swing.text.DefaultStyledDocument$ElementBuffer.insert:(II[Ljavax/swing/text/DefaultStyledDocument$ElementSpec;Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;)V
end local 22 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 120: goto 122
StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet int int javax.swing.text.Element javax.swing.text.AttributeSet javax.swing.text.Element javax.swing.text.Element int int javax.swing.text.AttributeSet
StackMap stack: javax.swing.text.BadLocationException
121: pop
122: 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
123: return
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 124 0 this Ljavax/swing/text/DefaultStyledDocument;
0 124 1 chng Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
0 124 2 attr Ljavax/swing/text/AttributeSet;
1 124 3 offset I
2 124 4 length I
5 124 5 paragraph Ljavax/swing/text/Element;
6 124 6 pattr Ljavax/swing/text/AttributeSet;
7 124 7 pParagraph Ljavax/swing/text/Element;
10 124 8 run Ljavax/swing/text/Element;
11 124 9 endOffset I
14 124 10 insertingAtBoundry Z
15 124 11 cattr Ljavax/swing/text/AttributeSet;
16 120 12 s Ljavax/swing/text/Segment;
17 120 13 parseBuffer Ljava/util/Vector<Ljavax/swing/text/DefaultStyledDocument$ElementSpec;>;
18 120 14 lastStartSpec Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
19 120 15 insertingAfterNewline Z
20 120 16 lastStartDirection S
29 36 17 counter I
31 34 18 spec Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
40 120 17 txt [C
41 120 18 n I
42 120 19 lastOffset I
43 59 20 i I
46 57 21 breakOffset I
66 120 20 first Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
67 120 21 docLength I
78 82 22 parent Ljavax/swing/text/Element;
79 82 23 pParagraphIndex I
84 96 22 last Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
93 96 23 nextRun Ljavax/swing/text/Element;
102 106 22 last Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
108 117 22 mattr Ljavax/swing/text/MutableAttributeSet;
118 120 22 spec [Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
Exception table:
from to target type
15 120 121 Class javax.swing.text.BadLocationException
MethodParameters:
Name Flags
chng
attr
short createSpecsForInsertAfterNewline(javax.swing.text.Element, javax.swing.text.Element, javax.swing.text.AttributeSet, java.util.Vector<javax.swing.text.DefaultStyledDocument$ElementSpec>, int, );
descriptor: (Ljavax/swing/text/Element;Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;Ljava/util/Vector;II)S
flags: (0x0000)
Code:
stack=5, locals=13, 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
invokeinterface javax.swing.text.Element.getParentElement:()Ljavax/swing/text/Element;
aload 2
invokeinterface javax.swing.text.Element.getParentElement:()Ljavax/swing/text/Element;
if_acmpne 10
1: new javax.swing.text.DefaultStyledDocument$ElementSpec
dup
aload 3
iconst_2
invokespecial javax.swing.text.DefaultStyledDocument$ElementSpec.<init>:(Ljavax/swing/text/AttributeSet;S)V
astore 7
start local 7 2: aload 4
aload 7
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
3: new javax.swing.text.DefaultStyledDocument$ElementSpec
dup
aload 3
iconst_1
invokespecial javax.swing.text.DefaultStyledDocument$ElementSpec.<init>:(Ljavax/swing/text/AttributeSet;S)V
astore 7
4: aload 4
aload 7
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
5: aload 2
invokeinterface javax.swing.text.Element.getEndOffset:()I
iload 6
if_icmpeq 7
6: bipush 7
ireturn
7: StackMap locals: javax.swing.text.DefaultStyledDocument$ElementSpec
StackMap stack:
aload 2
invokeinterface javax.swing.text.Element.getParentElement:()Ljavax/swing/text/Element;
astore 8
start local 8 8: aload 8
iload 5
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
iconst_1
iadd
aload 8
invokeinterface javax.swing.text.Element.getElementCount:()I
if_icmpge 45
9: iconst_5
ireturn
end local 8 end local 7 10: StackMap locals:
StackMap stack:
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 7
start local 7 11: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 8
start local 8 12: aload 2
astore 9
start local 9 13: goto 16
14: StackMap locals: java.util.Vector java.util.Vector javax.swing.text.Element
StackMap stack:
aload 7
aload 9
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
15: aload 9
invokeinterface javax.swing.text.Element.getParentElement:()Ljavax/swing/text/Element;
astore 9
16: StackMap locals:
StackMap stack:
aload 9
ifnonnull 14
17: aload 1
astore 9
18: iconst_m1
istore 10
start local 10 19: goto 22
20: StackMap locals: int
StackMap stack:
aload 8
aload 9
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
21: aload 9
invokeinterface javax.swing.text.Element.getParentElement:()Ljavax/swing/text/Element;
astore 9
22: StackMap locals:
StackMap stack:
aload 9
ifnull 23
aload 7
aload 9
invokevirtual java.util.Vector.indexOf:(Ljava/lang/Object;)I
dup
istore 10
iconst_m1
if_icmpeq 20
23: StackMap locals:
StackMap stack:
aload 9
ifnull 45
24: iconst_0
istore 11
start local 11 25: goto 30
26: StackMap locals: int
StackMap stack:
aload 4
new javax.swing.text.DefaultStyledDocument$ElementSpec
dup
27: aconst_null
iconst_2
invokespecial javax.swing.text.DefaultStyledDocument$ElementSpec.<init>:(Ljavax/swing/text/AttributeSet;S)V
28: invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
29: iinc 11 1
30: StackMap locals:
StackMap stack:
iload 11
iload 10
if_icmplt 26
end local 11 31: aload 8
invokevirtual java.util.Vector.size:()I
iconst_1
isub
istore 12
start local 12 32: goto 40
33: StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.text.Element javax.swing.text.Element javax.swing.text.AttributeSet java.util.Vector int int java.util.Vector java.util.Vector javax.swing.text.Element int top int
StackMap stack:
new javax.swing.text.DefaultStyledDocument$ElementSpec
dup
aload 8
iload 12
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.text.Element
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
34: iconst_1
35: invokespecial javax.swing.text.DefaultStyledDocument$ElementSpec.<init>:(Ljavax/swing/text/AttributeSet;S)V
astore 11
start local 11 36: iload 12
ifle 38
37: aload 11
iconst_5
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
38: StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.text.Element javax.swing.text.Element javax.swing.text.AttributeSet java.util.Vector int int java.util.Vector java.util.Vector javax.swing.text.Element int javax.swing.text.DefaultStyledDocument$ElementSpec int
StackMap stack:
aload 4
aload 11
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
39: iinc 12 -1
end local 11 StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.text.Element javax.swing.text.Element javax.swing.text.AttributeSet java.util.Vector int int java.util.Vector java.util.Vector javax.swing.text.Element int top int
StackMap stack:
40: iload 12
41: ifge 33
end local 12 42: aload 8
invokevirtual java.util.Vector.size:()I
ifle 44
43: iconst_5
ireturn
44: StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.text.Element javax.swing.text.Element javax.swing.text.AttributeSet java.util.Vector int int java.util.Vector java.util.Vector javax.swing.text.Element int
StackMap stack:
bipush 7
ireturn
end local 10 end local 9 end local 8 end local 7 45: StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.text.Element javax.swing.text.Element javax.swing.text.AttributeSet java.util.Vector int int
StackMap stack:
bipush 6
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 46 0 this Ljavax/swing/text/DefaultStyledDocument;
0 46 1 paragraph Ljavax/swing/text/Element;
0 46 2 pParagraph Ljavax/swing/text/Element;
0 46 3 pattr Ljavax/swing/text/AttributeSet;
0 46 4 parseBuffer Ljava/util/Vector<Ljavax/swing/text/DefaultStyledDocument$ElementSpec;>;
0 46 5 offset I
0 46 6 endOffset I
2 10 7 spec Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
8 10 8 parent Ljavax/swing/text/Element;
11 45 7 leftParents Ljava/util/Vector<Ljavax/swing/text/Element;>;
12 45 8 rightParents Ljava/util/Vector<Ljavax/swing/text/Element;>;
13 45 9 e Ljavax/swing/text/Element;
19 45 10 leftIndex I
25 31 11 counter I
36 40 11 spec Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
32 42 12 counter I
Signature: (Ljavax/swing/text/Element;Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;Ljava/util/Vector<Ljavax/swing/text/DefaultStyledDocument$ElementSpec;>;II)S
MethodParameters:
Name Flags
paragraph
pParagraph
pattr
parseBuffer
offset
endOffset
protected void removeUpdate(javax.swing.text.AbstractDocument$DefaultDocumentEvent);
descriptor: (Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.text.AbstractDocument.removeUpdate:(Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;)V
1: aload 0
getfield javax.swing.text.DefaultStyledDocument.buffer:Ljavax/swing/text/DefaultStyledDocument$ElementBuffer;
aload 1
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.getOffset:()I
aload 1
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.getLength:()I
aload 1
invokevirtual javax.swing.text.DefaultStyledDocument$ElementBuffer.remove:(IILjavax/swing/text/AbstractDocument$DefaultDocumentEvent;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/DefaultStyledDocument;
0 3 1 chng Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
MethodParameters:
Name Flags
chng
protected javax.swing.text.AbstractDocument$AbstractElement createDefaultRoot();
descriptor: ()Ljavax/swing/text/AbstractDocument$AbstractElement;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeLock:()V
1: new javax.swing.text.DefaultStyledDocument$SectionElement
dup
aload 0
invokespecial javax.swing.text.DefaultStyledDocument$SectionElement.<init>:(Ljavax/swing/text/DefaultStyledDocument;)V
astore 1
start local 1 2: new javax.swing.text.AbstractDocument$BranchElement
dup
aload 0
aload 1
aconst_null
invokespecial javax.swing.text.AbstractDocument$BranchElement.<init>:(Ljavax/swing/text/AbstractDocument;Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;)V
astore 2
start local 2 3: new javax.swing.text.AbstractDocument$LeafElement
dup
aload 0
aload 2
aconst_null
iconst_0
iconst_1
invokespecial javax.swing.text.AbstractDocument$LeafElement.<init>:(Ljavax/swing/text/AbstractDocument;Ljavax/swing/text/Element;Ljavax/swing/text/AttributeSet;II)V
astore 3
start local 3 4: iconst_1
anewarray javax.swing.text.Element
astore 4
start local 4 5: aload 4
iconst_0
aload 3
aastore
6: aload 2
iconst_0
iconst_0
aload 4
invokevirtual javax.swing.text.AbstractDocument$BranchElement.replace:(II[Ljavax/swing/text/Element;)V
7: aload 4
iconst_0
aload 2
aastore
8: aload 1
iconst_0
iconst_0
aload 4
invokevirtual javax.swing.text.AbstractDocument$BranchElement.replace:(II[Ljavax/swing/text/Element;)V
9: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
10: aload 1
areturn
end local 4 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/DefaultStyledDocument;
2 11 1 section Ljavax/swing/text/AbstractDocument$BranchElement;
3 11 2 paragraph Ljavax/swing/text/AbstractDocument$BranchElement;
4 11 3 brk Ljavax/swing/text/AbstractDocument$LeafElement;
5 11 4 buff [Ljavax/swing/text/Element;
public java.awt.Color getForeground(javax.swing.text.AttributeSet);
descriptor: (Ljavax/swing/text/AttributeSet;)Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getAttributeContext:()Ljavax/swing/text/AbstractDocument$AttributeContext;
checkcast javax.swing.text.StyleContext
astore 2
start local 2 1: aload 2
aload 1
invokevirtual javax.swing.text.StyleContext.getForeground:(Ljavax/swing/text/AttributeSet;)Ljava/awt/Color;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultStyledDocument;
0 2 1 attr Ljavax/swing/text/AttributeSet;
1 2 2 styles Ljavax/swing/text/StyleContext;
MethodParameters:
Name Flags
attr
public java.awt.Color getBackground(javax.swing.text.AttributeSet);
descriptor: (Ljavax/swing/text/AttributeSet;)Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getAttributeContext:()Ljavax/swing/text/AbstractDocument$AttributeContext;
checkcast javax.swing.text.StyleContext
astore 2
start local 2 1: aload 2
aload 1
invokevirtual javax.swing.text.StyleContext.getBackground:(Ljavax/swing/text/AttributeSet;)Ljava/awt/Color;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultStyledDocument;
0 2 1 attr Ljavax/swing/text/AttributeSet;
1 2 2 styles Ljavax/swing/text/StyleContext;
MethodParameters:
Name Flags
attr
public java.awt.Font getFont(javax.swing.text.AttributeSet);
descriptor: (Ljavax/swing/text/AttributeSet;)Ljava/awt/Font;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getAttributeContext:()Ljavax/swing/text/AbstractDocument$AttributeContext;
checkcast javax.swing.text.StyleContext
astore 2
start local 2 1: aload 2
aload 1
invokevirtual javax.swing.text.StyleContext.getFont:(Ljavax/swing/text/AttributeSet;)Ljava/awt/Font;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/DefaultStyledDocument;
0 2 1 attr Ljavax/swing/text/AttributeSet;
1 2 2 styles Ljavax/swing/text/StyleContext;
MethodParameters:
Name Flags
attr
protected void styleChanged(javax.swing.text.Style);
descriptor: (Ljavax/swing/text/Style;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getLength:()I
ifeq 11
1: aload 0
getfield javax.swing.text.DefaultStyledDocument.updateRunnable:Ljavax/swing/text/DefaultStyledDocument$ChangeUpdateRunnable;
ifnonnull 3
2: aload 0
new javax.swing.text.DefaultStyledDocument$ChangeUpdateRunnable
dup
aload 0
invokespecial javax.swing.text.DefaultStyledDocument$ChangeUpdateRunnable.<init>:(Ljavax/swing/text/DefaultStyledDocument;)V
putfield javax.swing.text.DefaultStyledDocument.updateRunnable:Ljavax/swing/text/DefaultStyledDocument$ChangeUpdateRunnable;
3: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.DefaultStyledDocument.updateRunnable:Ljavax/swing/text/DefaultStyledDocument$ChangeUpdateRunnable;
dup
astore 2
monitorenter
4: aload 0
getfield javax.swing.text.DefaultStyledDocument.updateRunnable:Ljavax/swing/text/DefaultStyledDocument$ChangeUpdateRunnable;
getfield javax.swing.text.DefaultStyledDocument$ChangeUpdateRunnable.isPending:Z
ifne 7
5: aload 0
getfield javax.swing.text.DefaultStyledDocument.updateRunnable:Ljavax/swing/text/DefaultStyledDocument$ChangeUpdateRunnable;
invokestatic javax.swing.SwingUtilities.invokeLater:(Ljava/lang/Runnable;)V
6: aload 0
getfield javax.swing.text.DefaultStyledDocument.updateRunnable:Ljavax/swing/text/DefaultStyledDocument$ChangeUpdateRunnable;
iconst_1
putfield javax.swing.text.DefaultStyledDocument$ChangeUpdateRunnable.isPending:Z
7: StackMap locals: javax.swing.text.DefaultStyledDocument$ChangeUpdateRunnable
StackMap stack:
aload 2
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/swing/text/DefaultStyledDocument;
0 12 1 style Ljavax/swing/text/Style;
Exception table:
from to target type
4 8 9 any
9 10 9 any
MethodParameters:
Name Flags
style
public void addDocumentListener(javax.swing.event.DocumentListener);
descriptor: (Ljavax/swing/event/DocumentListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.DefaultStyledDocument.listeningStyles:Ljava/util/Vector;
dup
astore 2
monitorenter
1: aload 0
getfield javax.swing.text.DefaultStyledDocument.listenerList:Ljavax/swing/event/EventListenerList;
2: ldc Ljavax/swing/event/DocumentListener;
3: invokevirtual javax.swing.event.EventListenerList.getListenerCount:(Ljava/lang/Class;)I
istore 3
start local 3 4: aload 0
aload 1
invokespecial javax.swing.text.AbstractDocument.addDocumentListener:(Ljavax/swing/event/DocumentListener;)V
5: iload 3
ifne 20
6: aload 0
getfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
ifnonnull 10
7: aload 0
8: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.createStyleContextChangeListener:()Ljavax/swing/event/ChangeListener;
9: putfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
10: StackMap locals: java.util.Vector int
StackMap stack:
aload 0
getfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
ifnull 19
11: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getAttributeContext:()Ljavax/swing/text/AbstractDocument$AttributeContext;
checkcast javax.swing.text.StyleContext
astore 4
start local 4 12: aload 0
getfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
invokestatic javax.swing.text.DefaultStyledDocument$AbstractChangeHandler.getStaleListeners:(Ljavax/swing/event/ChangeListener;)Ljava/util/List;
13: astore 5
start local 5 14: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 17
StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.event.DocumentListener java.util.Vector int javax.swing.text.StyleContext java.util.List top java.util.Iterator
StackMap stack:
15: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.swing.event.ChangeListener
astore 6
start local 6 16: aload 4
aload 6
invokevirtual javax.swing.text.StyleContext.removeChangeListener:(Ljavax/swing/event/ChangeListener;)V
end local 6 17: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
18: aload 4
aload 0
getfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
invokevirtual javax.swing.text.StyleContext.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
end local 5 end local 4 19: StackMap locals: javax.swing.text.DefaultStyledDocument javax.swing.event.DocumentListener java.util.Vector int
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.updateStylesListeningTo:()V
end local 3 20: StackMap locals:
StackMap stack:
aload 2
monitorexit
21: goto 24
StackMap locals:
StackMap stack: java.lang.Throwable
22: aload 2
monitorexit
23: athrow
24: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljavax/swing/text/DefaultStyledDocument;
0 25 1 listener Ljavax/swing/event/DocumentListener;
4 20 3 oldDLCount I
12 19 4 styles Ljavax/swing/text/StyleContext;
14 19 5 staleListeners Ljava/util/List<Ljavax/swing/event/ChangeListener;>;
16 17 6 l Ljavax/swing/event/ChangeListener;
Exception table:
from to target type
1 21 22 any
22 23 22 any
MethodParameters:
Name Flags
listener
public void removeDocumentListener(javax.swing.event.DocumentListener);
descriptor: (Ljavax/swing/event/DocumentListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.DefaultStyledDocument.listeningStyles:Ljava/util/Vector;
dup
astore 2
monitorenter
1: aload 0
aload 1
invokespecial javax.swing.text.AbstractDocument.removeDocumentListener:(Ljavax/swing/event/DocumentListener;)V
2: aload 0
getfield javax.swing.text.DefaultStyledDocument.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/DocumentListener;
invokevirtual javax.swing.event.EventListenerList.getListenerCount:(Ljava/lang/Class;)I
ifne 13
3: aload 0
getfield javax.swing.text.DefaultStyledDocument.listeningStyles:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
iconst_1
isub
istore 3
start local 3 4: goto 8
5: StackMap locals: java.util.Vector int
StackMap stack:
aload 0
getfield javax.swing.text.DefaultStyledDocument.listeningStyles:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.text.Style
6: aload 0
getfield javax.swing.text.DefaultStyledDocument.styleChangeListener:Ljavax/swing/event/ChangeListener;
invokeinterface javax.swing.text.Style.removeChangeListener:(Ljavax/swing/event/ChangeListener;)V
7: iinc 3 -1
8: StackMap locals:
StackMap stack:
iload 3
ifge 5
end local 3 9: aload 0
getfield javax.swing.text.DefaultStyledDocument.listeningStyles:Ljava/util/Vector;
invokevirtual java.util.Vector.removeAllElements:()V
10: aload 0
getfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
ifnull 13
11: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getAttributeContext:()Ljavax/swing/text/AbstractDocument$AttributeContext;
checkcast javax.swing.text.StyleContext
astore 3
start local 3 12: aload 3
aload 0
getfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
invokevirtual javax.swing.text.StyleContext.removeChangeListener:(Ljavax/swing/event/ChangeListener;)V
end local 3 13: StackMap locals:
StackMap stack:
aload 2
monitorexit
14: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 2
monitorexit
16: athrow
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/swing/text/DefaultStyledDocument;
0 18 1 listener Ljavax/swing/event/DocumentListener;
4 9 3 counter I
12 13 3 styles Ljavax/swing/text/StyleContext;
Exception table:
from to target type
1 14 15 any
15 16 15 any
MethodParameters:
Name Flags
listener
javax.swing.event.ChangeListener createStyleChangeListener();
descriptor: ()Ljavax/swing/event/ChangeListener;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new javax.swing.text.DefaultStyledDocument$StyleChangeHandler
dup
aload 0
invokespecial javax.swing.text.DefaultStyledDocument$StyleChangeHandler.<init>:(Ljavax/swing/text/DefaultStyledDocument;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultStyledDocument;
javax.swing.event.ChangeListener createStyleContextChangeListener();
descriptor: ()Ljavax/swing/event/ChangeListener;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new javax.swing.text.DefaultStyledDocument$StyleContextChangeHandler
dup
aload 0
invokespecial javax.swing.text.DefaultStyledDocument$StyleContextChangeHandler.<init>:(Ljavax/swing/text/DefaultStyledDocument;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/DefaultStyledDocument;
void updateStylesListeningTo();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=11, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.DefaultStyledDocument.listeningStyles:Ljava/util/Vector;
dup
astore 1
monitorenter
1: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getAttributeContext:()Ljavax/swing/text/AbstractDocument$AttributeContext;
checkcast javax.swing.text.StyleContext
astore 2
start local 2 2: aload 0
getfield javax.swing.text.DefaultStyledDocument.styleChangeListener:Ljavax/swing/event/ChangeListener;
ifnonnull 4
3: aload 0
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.createStyleChangeListener:()Ljavax/swing/event/ChangeListener;
putfield javax.swing.text.DefaultStyledDocument.styleChangeListener:Ljavax/swing/event/ChangeListener;
4: StackMap locals: java.util.Vector javax.swing.text.StyleContext
StackMap stack:
aload 0
getfield javax.swing.text.DefaultStyledDocument.styleChangeListener:Ljavax/swing/event/ChangeListener;
ifnull 32
aload 2
ifnull 32
5: aload 2
invokevirtual javax.swing.text.StyleContext.getStyleNames:()Ljava/util/Enumeration;
astore 3
start local 3 6: aload 0
getfield javax.swing.text.DefaultStyledDocument.listeningStyles:Ljava/util/Vector;
invokevirtual java.util.Vector.clone:()Ljava/lang/Object;
checkcast java.util.Vector
astore 4
start local 4 7: aload 0
getfield javax.swing.text.DefaultStyledDocument.listeningStyles:Ljava/util/Vector;
invokevirtual java.util.Vector.removeAllElements:()V
8: aload 0
getfield javax.swing.text.DefaultStyledDocument.styleChangeListener:Ljavax/swing/event/ChangeListener;
invokestatic javax.swing.text.DefaultStyledDocument$AbstractChangeHandler.getStaleListeners:(Ljavax/swing/event/ChangeListener;)Ljava/util/List;
9: astore 5
start local 5 10: goto 23
11: StackMap locals: java.util.Enumeration java.util.Vector java.util.List
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 12: aload 2
aload 6
invokevirtual javax.swing.text.StyleContext.getStyle:(Ljava/lang/String;)Ljavax/swing/text/Style;
astore 7
start local 7 13: aload 4
aload 7
invokevirtual java.util.Vector.indexOf:(Ljava/lang/Object;)I
istore 8
start local 8 14: aload 0
getfield javax.swing.text.DefaultStyledDocument.listeningStyles:Ljava/util/Vector;
aload 7
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
15: iload 8
iconst_m1
if_icmpne 22
16: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 19
StackMap locals: javax.swing.text.DefaultStyledDocument java.util.Vector javax.swing.text.StyleContext java.util.Enumeration java.util.Vector java.util.List java.lang.String javax.swing.text.Style int top java.util.Iterator
StackMap stack:
17: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.swing.event.ChangeListener
astore 9
start local 9 18: aload 7
aload 9
invokeinterface javax.swing.text.Style.removeChangeListener:(Ljavax/swing/event/ChangeListener;)V
end local 9 19: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
20: aload 7
aload 0
getfield javax.swing.text.DefaultStyledDocument.styleChangeListener:Ljavax/swing/event/ChangeListener;
invokeinterface javax.swing.text.Style.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
21: goto 23
22: StackMap locals: javax.swing.text.DefaultStyledDocument java.util.Vector javax.swing.text.StyleContext java.util.Enumeration java.util.Vector java.util.List java.lang.String javax.swing.text.Style int
StackMap stack:
aload 4
iload 8
invokevirtual java.util.Vector.removeElementAt:(I)V
end local 8 end local 7 end local 6 23: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 11
24: aload 4
invokevirtual java.util.Vector.size:()I
iconst_1
isub
istore 6
start local 6 25: goto 29
26: StackMap locals: int
StackMap stack:
aload 4
iload 6
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.text.Style
astore 7
start local 7 27: aload 7
aload 0
getfield javax.swing.text.DefaultStyledDocument.styleChangeListener:Ljavax/swing/event/ChangeListener;
invokeinterface javax.swing.text.Style.removeChangeListener:(Ljavax/swing/event/ChangeListener;)V
end local 7 28: iinc 6 -1
StackMap locals:
StackMap stack:
29: iload 6
ifge 26
end local 6 30: aload 0
getfield javax.swing.text.DefaultStyledDocument.listeningStyles:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ifne 32
31: aload 0
aconst_null
putfield javax.swing.text.DefaultStyledDocument.styleChangeListener:Ljavax/swing/event/ChangeListener;
end local 5 end local 4 end local 3 end local 2 32: StackMap locals: javax.swing.text.DefaultStyledDocument java.util.Vector
StackMap stack:
aload 1
monitorexit
33: goto 36
StackMap locals:
StackMap stack: java.lang.Throwable
34: aload 1
monitorexit
35: athrow
36: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Ljavax/swing/text/DefaultStyledDocument;
2 32 2 styles Ljavax/swing/text/StyleContext;
6 32 3 styleNames Ljava/util/Enumeration<*>;
7 32 4 v Ljava/util/Vector<Ljavax/swing/text/Style;>;
10 32 5 staleListeners Ljava/util/List<Ljavax/swing/event/ChangeListener;>;
12 23 6 name Ljava/lang/String;
13 23 7 aStyle Ljavax/swing/text/Style;
14 23 8 index I
18 19 9 l Ljavax/swing/event/ChangeListener;
25 30 6 counter I
27 28 7 aStyle Ljavax/swing/text/Style;
Exception table:
from to target type
1 33 34 any
34 35 34 any
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield javax.swing.text.DefaultStyledDocument.listeningStyles:Ljava/util/Vector;
1: aload 1
invokevirtual java.io.ObjectInputStream.readFields:()Ljava/io/ObjectInputStream$GetField;
astore 2
start local 2 2: aload 0
aload 2
ldc "buffer"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.text.DefaultStyledDocument$ElementBuffer
putfield javax.swing.text.DefaultStyledDocument.buffer:Ljavax/swing/text/DefaultStyledDocument$ElementBuffer;
3: aload 0
getfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
ifnonnull 10
4: aload 0
getfield javax.swing.text.DefaultStyledDocument.listenerList:Ljavax/swing/event/EventListenerList;
ldc Ljavax/swing/event/DocumentListener;
invokevirtual javax.swing.event.EventListenerList.getListenerCount:(Ljava/lang/Class;)I
ifle 10
5: aload 0
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.createStyleContextChangeListener:()Ljavax/swing/event/ChangeListener;
putfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
6: aload 0
getfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
ifnull 9
7: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getAttributeContext:()Ljavax/swing/text/AbstractDocument$AttributeContext;
checkcast javax.swing.text.StyleContext
astore 3
start local 3 8: aload 3
aload 0
getfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
invokevirtual javax.swing.text.StyleContext.addChangeListener:(Ljavax/swing/event/ChangeListener;)V
end local 3 9: StackMap locals: java.io.ObjectInputStream$GetField
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.updateStylesListeningTo:()V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/text/DefaultStyledDocument;
0 11 1 s Ljava/io/ObjectInputStream;
2 11 2 f Ljava/io/ObjectInputStream$GetField;
8 9 3 styles Ljavax/swing/text/StyleContext;
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
s
}
SourceFile: "DefaultStyledDocument.java"
NestMembers:
javax.swing.text.DefaultStyledDocument$AbstractChangeHandler javax.swing.text.DefaultStyledDocument$AbstractChangeHandler$DocReference javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit javax.swing.text.DefaultStyledDocument$ChangeUpdateRunnable javax.swing.text.DefaultStyledDocument$ElementBuffer javax.swing.text.DefaultStyledDocument$ElementBuffer$ElemChanges javax.swing.text.DefaultStyledDocument$ElementSpec javax.swing.text.DefaultStyledDocument$SectionElement javax.swing.text.DefaultStyledDocument$StyleChangeHandler javax.swing.text.DefaultStyledDocument$StyleChangeUndoableEdit javax.swing.text.DefaultStyledDocument$StyleContextChangeHandler
InnerClasses:
public abstract GetField = java.io.ObjectInputStream$GetField of java.io.ObjectInputStream
public final EventType = javax.swing.event.DocumentEvent$EventType of javax.swing.event.DocumentEvent
public abstract AbstractElement = javax.swing.text.AbstractDocument$AbstractElement of javax.swing.text.AbstractDocument
public abstract AttributeContext = javax.swing.text.AbstractDocument$AttributeContext 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
public LeafElement = javax.swing.text.AbstractDocument$LeafElement of javax.swing.text.AbstractDocument
abstract AbstractChangeHandler = javax.swing.text.DefaultStyledDocument$AbstractChangeHandler of javax.swing.text.DefaultStyledDocument
public AttributeUndoableEdit = javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit of javax.swing.text.DefaultStyledDocument
ChangeUpdateRunnable = javax.swing.text.DefaultStyledDocument$ChangeUpdateRunnable of javax.swing.text.DefaultStyledDocument
public ElementBuffer = javax.swing.text.DefaultStyledDocument$ElementBuffer of javax.swing.text.DefaultStyledDocument
public ElementSpec = javax.swing.text.DefaultStyledDocument$ElementSpec of javax.swing.text.DefaultStyledDocument
protected SectionElement = javax.swing.text.DefaultStyledDocument$SectionElement of javax.swing.text.DefaultStyledDocument
StyleChangeHandler = javax.swing.text.DefaultStyledDocument$StyleChangeHandler of javax.swing.text.DefaultStyledDocument
StyleChangeUndoableEdit = javax.swing.text.DefaultStyledDocument$StyleChangeUndoableEdit of javax.swing.text.DefaultStyledDocument
StyleContextChangeHandler = javax.swing.text.DefaultStyledDocument$StyleContextChangeHandler of javax.swing.text.DefaultStyledDocument