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 listeningStyles;
descriptor: Ljava/util/Vector;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
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.StringBuffer
dup
invokespecial java.lang.StringBuffer.<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.StringBuffer 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.StringBuffer.append:([CII)Ljava/lang/StringBuffer;
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.StringBuffer.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.StringBuffer.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/StringBuffer;
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.StringBuffer
dup
invokespecial java.lang.StringBuffer.<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.StringBuffer 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.StringBuffer.append:([CII)Ljava/lang/StringBuffer;
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.StringBuffer.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.StringBuffer.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.StringBuffer.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/StringBuffer;
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 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: ldc 2147483647
istore 7
start local 7 8: iload 1
istore 8
start local 8 9: goto 20
10: StackMap locals: javax.swing.text.DefaultStyledDocument int int javax.swing.text.AttributeSet int javax.swing.text.AbstractDocument$DefaultDocumentEvent javax.swing.text.AttributeSet int int
StackMap stack:
aload 0
iload 8
invokevirtual javax.swing.text.DefaultStyledDocument.getCharacterElement:(I)Ljavax/swing/text/Element;
astore 9
start local 9 11: aload 9
invokeinterface javax.swing.text.Element.getEndOffset:()I
istore 7
12: iload 8
iload 7
if_icmpne 14
13: goto 21
14: StackMap locals: 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 15: 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
16: iload 4
ifeq 18
17: aload 10
aload 10
invokeinterface javax.swing.text.MutableAttributeSet.removeAttributes:(Ljavax/swing/text/AttributeSet;)V
18: 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 19: iload 7
istore 8
StackMap locals:
StackMap stack:
20: iload 8
iload 1
iload 2
iadd
if_icmplt 10
end local 8 21: StackMap locals:
StackMap stack:
aload 5
invokevirtual javax.swing.text.AbstractDocument$DefaultDocumentEvent.end:()V
22: aload 0
aload 5
invokevirtual javax.swing.text.DefaultStyledDocument.fireChangedUpdate:(Ljavax/swing/event/DocumentEvent;)V
23: 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 7 end local 6 end local 5 24: goto 28
StackMap locals: javax.swing.text.DefaultStyledDocument int int javax.swing.text.AttributeSet int
StackMap stack: java.lang.Throwable
25: astore 11
26: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
27: aload 11
athrow
28: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.writeUnlock:()V
29: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljavax/swing/text/DefaultStyledDocument;
0 30 1 offset I
0 30 2 length I
0 30 3 s Ljavax/swing/text/AttributeSet;
0 30 4 replace Z
5 24 5 changes Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
7 24 6 sCopy Ljavax/swing/text/AttributeSet;
8 24 7 lastEnd I
9 21 8 pos I
11 19 9 run Ljavax/swing/text/Element;
15 19 10 attr Ljavax/swing/text/MutableAttributeSet;
Exception table:
from to target type
2 25 25 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: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 2
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: aconst_null
astore 2
start local 2 1: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getDefaultRootElement:()Ljavax/swing/text/Element;
astore 2
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 38
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 38
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 37
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
31: iload 17
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.swing.text.DefaultStyledDocument$ElementSpec
32: astore 18
start local 18 33: aload 18
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getType:()S
iconst_1
if_icmpne 36
34: aload 18
astore 14
35: goto 38
end local 18 36: StackMap locals:
StackMap stack:
iinc 17 -1
37: StackMap locals:
StackMap stack:
iload 17
ifge 30
end local 17 38: StackMap locals:
StackMap stack:
iload 15
ifne 40
39: aload 7
invokeinterface javax.swing.text.Element.getAttributes:()Ljavax/swing/text/AttributeSet;
astore 6
40: StackMap locals:
StackMap stack:
aload 0
iload 3
iload 4
aload 12
invokevirtual javax.swing.text.DefaultStyledDocument.getText:(IILjavax/swing/text/Segment;)V
41: aload 12
getfield javax.swing.text.Segment.array:[C
astore 17
start local 17 42: aload 12
getfield javax.swing.text.Segment.offset:I
aload 12
getfield javax.swing.text.Segment.count:I
iadd
istore 18
start local 18 43: aload 12
getfield javax.swing.text.Segment.offset:I
istore 19
start local 19 44: aload 12
getfield javax.swing.text.Segment.offset:I
istore 20
start local 20 45: goto 60
46: 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 59
47: iload 20
iconst_1
iadd
istore 21
start local 21 48: aload 13
49: new javax.swing.text.DefaultStyledDocument$ElementSpec
dup
aload 2
iconst_3
50: iload 21
iload 19
isub
51: invokespecial javax.swing.text.DefaultStyledDocument$ElementSpec.<init>:(Ljavax/swing/text/AttributeSet;SI)V
52: invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
53: aload 13
54: new javax.swing.text.DefaultStyledDocument$ElementSpec
dup
aconst_null
iconst_2
invokespecial javax.swing.text.DefaultStyledDocument$ElementSpec.<init>:(Ljavax/swing/text/AttributeSet;S)V
55: invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
56: 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
57: aload 13
aload 14
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
58: iload 21
istore 19
end local 21 59: StackMap locals:
StackMap stack:
iinc 20 1
StackMap locals:
StackMap stack:
60: iload 20
iload 18
if_icmplt 46
end local 20 61: iload 19
iload 18
if_icmpge 67
62: aload 13
63: new javax.swing.text.DefaultStyledDocument$ElementSpec
dup
aload 2
iconst_3
64: iload 18
iload 19
isub
65: invokespecial javax.swing.text.DefaultStyledDocument$ElementSpec.<init>:(Ljavax/swing/text/AttributeSet;SI)V
66: invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
67: 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 68: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getLength:()I
istore 21
start local 21 69: aload 20
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getType:()S
iconst_3
if_icmpne 72
70: aload 11
aload 2
invokeinterface javax.swing.text.AttributeSet.isEqual:(Ljavax/swing/text/AttributeSet;)Z
ifeq 72
71: aload 20
iconst_4
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
72: StackMap locals: javax.swing.text.DefaultStyledDocument$ElementSpec int
StackMap stack:
aload 14
ifnull 84
73: iload 15
ifeq 76
74: aload 14
iload 16
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
75: goto 84
76: StackMap locals:
StackMap stack:
aload 7
invokeinterface javax.swing.text.Element.getEndOffset:()I
iload 9
if_icmpeq 79
77: aload 14
bipush 7
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
78: goto 84
79: StackMap locals:
StackMap stack:
aload 7
invokeinterface javax.swing.text.Element.getParentElement:()Ljavax/swing/text/Element;
astore 22
start local 22 80: aload 22
iload 3
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
istore 23
start local 23 81: iload 23
iconst_1
iadd
aload 22
invokeinterface javax.swing.text.Element.getElementCount:()I
if_icmpge 84
82: 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 84
83: aload 14
iconst_5
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
end local 23 end local 22 84: StackMap locals:
StackMap stack:
iload 10
ifeq 99
iload 9
iload 21
if_icmpge 99
85: aload 13
invokevirtual java.util.Vector.lastElement:()Ljava/lang/Object;
checkcast javax.swing.text.DefaultStyledDocument$ElementSpec
astore 22
start local 22 86: aload 22
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getType:()S
iconst_3
if_icmpne 108
87: aload 22
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getDirection:()S
iconst_4
if_icmpeq 108
88: aload 14
ifnonnull 90
aload 5
aload 7
if_acmpeq 92
89: iload 15
ifne 92
90: StackMap locals: javax.swing.text.DefaultStyledDocument$ElementSpec
StackMap stack:
aload 14
ifnull 108
aload 14
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getDirection:()S
91: bipush 6
if_icmpeq 108
92: StackMap locals:
StackMap stack:
aload 5
aload 5
93: iload 9
invokeinterface javax.swing.text.Element.getElementIndex:(I)I
94: invokeinterface javax.swing.text.Element.getElement:(I)Ljavax/swing/text/Element;
astore 23
start local 23 95: aload 23
invokeinterface javax.swing.text.Element.isLeaf:()Z
ifeq 108
96: 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 108
97: aload 22
iconst_5
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
end local 23 end local 22 98: goto 108
99: StackMap locals:
StackMap stack:
iload 10
ifne 108
aload 14
ifnull 108
100: aload 14
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getDirection:()S
101: bipush 7
102: if_icmpne 108
103: aload 13
invokevirtual java.util.Vector.lastElement:()Ljava/lang/Object;
checkcast javax.swing.text.DefaultStyledDocument$ElementSpec
astore 22
start local 22 104: aload 22
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getType:()S
iconst_3
if_icmpne 108
105: aload 22
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.getDirection:()S
iconst_4
if_icmpeq 108
106: aload 2
aload 11
invokeinterface javax.swing.text.AttributeSet.isEqual:(Ljavax/swing/text/AttributeSet;)Z
ifeq 108
107: aload 22
iconst_5
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
end local 22 108: StackMap locals:
StackMap stack:
aload 2
invokestatic javax.swing.text.Utilities.isComposedTextAttributeDefined:(Ljavax/swing/text/AttributeSet;)Z
ifeq 113
109: aload 2
checkcast javax.swing.text.MutableAttributeSet
aload 11
invokeinterface javax.swing.text.MutableAttributeSet.addAttributes:(Ljavax/swing/text/AttributeSet;)V
110: aload 2
checkcast javax.swing.text.MutableAttributeSet
ldc "$ename"
111: ldc "content"
112: invokeinterface javax.swing.text.MutableAttributeSet.addAttribute:(Ljava/lang/Object;Ljava/lang/Object;)V
113: StackMap locals:
StackMap stack:
aload 13
invokevirtual java.util.Vector.size:()I
anewarray javax.swing.text.DefaultStyledDocument$ElementSpec
astore 22
start local 22 114: aload 13
aload 22
invokevirtual java.util.Vector.copyInto:([Ljava/lang/Object;)V
115: 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 116: goto 118
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
117: pop
118: 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
119: 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 120 0 this Ljavax/swing/text/DefaultStyledDocument;
0 120 1 chng Ljavax/swing/text/AbstractDocument$DefaultDocumentEvent;
0 120 2 attr Ljavax/swing/text/AttributeSet;
1 120 3 offset I
2 120 4 length I
5 120 5 paragraph Ljavax/swing/text/Element;
6 120 6 pattr Ljavax/swing/text/AttributeSet;
7 120 7 pParagraph Ljavax/swing/text/Element;
10 120 8 run Ljavax/swing/text/Element;
11 120 9 endOffset I
14 120 10 insertingAtBoundry Z
15 120 11 cattr Ljavax/swing/text/AttributeSet;
16 116 12 s Ljavax/swing/text/Segment;
17 116 13 parseBuffer Ljava/util/Vector;
18 116 14 lastStartSpec Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
19 116 15 insertingAfterNewline Z
20 116 16 lastStartDirection S
29 38 17 counter I
33 36 18 spec Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
42 116 17 txt [C
43 116 18 n I
44 116 19 lastOffset I
45 61 20 i I
48 59 21 breakOffset I
68 116 20 first Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
69 116 21 docLength I
80 84 22 parent Ljavax/swing/text/Element;
81 84 23 pParagraphIndex I
86 98 22 last Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
95 98 23 nextRun Ljavax/swing/text/Element;
104 108 22 last Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
114 116 22 spec [Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
Exception table:
from to target type
15 116 117 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, int, 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 47
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 47
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: aconst_null
astore 11
start local 11 32: aload 8
invokevirtual java.util.Vector.size:()I
iconst_1
isub
istore 12
start local 12 33: goto 42
34: 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:
new javax.swing.text.DefaultStyledDocument$ElementSpec
dup
aload 8
35: 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;
36: iconst_1
37: invokespecial javax.swing.text.DefaultStyledDocument$ElementSpec.<init>:(Ljavax/swing/text/AttributeSet;S)V
astore 11
38: iload 12
ifle 40
39: aload 11
iconst_5
invokevirtual javax.swing.text.DefaultStyledDocument$ElementSpec.setDirection:(S)V
40: StackMap locals:
StackMap stack:
aload 4
aload 11
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
41: iinc 12 -1
StackMap locals:
StackMap stack:
42: iload 12
43: ifge 34
end local 12 44: aload 8
invokevirtual java.util.Vector.size:()I
ifle 46
45: iconst_5
ireturn
46: StackMap locals:
StackMap stack:
bipush 7
ireturn
end local 11 end local 10 end local 9 end local 8 end local 7 47: 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 48 0 this Ljavax/swing/text/DefaultStyledDocument;
0 48 1 paragraph Ljavax/swing/text/Element;
0 48 2 pParagraph Ljavax/swing/text/Element;
0 48 3 pattr Ljavax/swing/text/AttributeSet;
0 48 4 parseBuffer Ljava/util/Vector;
0 48 5 offset I
0 48 6 endOffset I
2 10 7 spec Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
8 10 8 parent Ljavax/swing/text/Element;
11 47 7 leftParents Ljava/util/Vector;
12 47 8 rightParents Ljava/util/Vector;
13 47 9 e Ljavax/swing/text/Element;
19 47 10 leftIndex I
25 31 11 counter I
32 47 11 spec Ljavax/swing/text/DefaultStyledDocument$ElementSpec;
33 44 12 counter I
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;
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=3, locals=3, 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.defaultReadObject:()V
2: aload 0
getfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
ifnonnull 9
3: 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 9
4: aload 0
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.createStyleContextChangeListener:()Ljavax/swing/event/ChangeListener;
putfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
5: aload 0
getfield javax.swing.text.DefaultStyledDocument.styleContextChangeListener:Ljavax/swing/event/ChangeListener;
ifnull 8
6: aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.getAttributeContext:()Ljavax/swing/text/AbstractDocument$AttributeContext;
checkcast javax.swing.text.StyleContext
astore 2
start local 2 7: aload 2
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 2 8: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.DefaultStyledDocument.updateStylesListeningTo:()V
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/text/DefaultStyledDocument;
0 10 1 s Ljava/io/ObjectInputStream;
7 8 2 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 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 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