public abstract class javax.swing.text.AbstractWriter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.swing.text.AbstractWriter
super_class: java.lang.Object
{
private javax.swing.text.ElementIterator it;
descriptor: Ljavax/swing/text/ElementIterator;
flags: (0x0002) ACC_PRIVATE
private java.io.Writer out;
descriptor: Ljava/io/Writer;
flags: (0x0002) ACC_PRIVATE
private int indentLevel;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int indentSpace;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private javax.swing.text.Document doc;
descriptor: Ljavax/swing/text/Document;
flags: (0x0002) ACC_PRIVATE
private int maxLineLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int currLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int startOffset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int endOffset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int offsetIndent;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String lineSeparator;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean canWrapLines;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean isLineEmpty;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private char[] indentChars;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private char[] tempChars;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private char[] newlineChars;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private javax.swing.text.Segment segment;
descriptor: Ljavax/swing/text/Segment;
flags: (0x0002) ACC_PRIVATE
protected static final char NEWLINE;
descriptor: C
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 10
protected void <init>(java.io.Writer, javax.swing.text.Document);
descriptor: (Ljava/io/Writer;Ljavax/swing/text/Document;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
aload 2
invokeinterface javax.swing.text.Document.getLength:()I
invokespecial javax.swing.text.AbstractWriter.<init>:(Ljava/io/Writer;Ljavax/swing/text/Document;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/AbstractWriter;
0 2 1 w Ljava/io/Writer;
0 2 2 doc Ljavax/swing/text/Document;
MethodParameters:
Name Flags
w
doc
protected void <init>(java.io.Writer, javax.swing.text.Document, int, int);
descriptor: (Ljava/io/Writer;Ljavax/swing/text/Document;II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield javax.swing.text.AbstractWriter.indentLevel:I
2: aload 0
iconst_2
putfield javax.swing.text.AbstractWriter.indentSpace:I
3: aload 0
aconst_null
putfield javax.swing.text.AbstractWriter.doc:Ljavax/swing/text/Document;
4: aload 0
bipush 100
putfield javax.swing.text.AbstractWriter.maxLineLength:I
5: aload 0
iconst_0
putfield javax.swing.text.AbstractWriter.currLength:I
6: aload 0
iconst_0
putfield javax.swing.text.AbstractWriter.startOffset:I
7: aload 0
iconst_0
putfield javax.swing.text.AbstractWriter.endOffset:I
8: aload 0
iconst_0
putfield javax.swing.text.AbstractWriter.offsetIndent:I
9: aload 0
aload 2
putfield javax.swing.text.AbstractWriter.doc:Ljavax/swing/text/Document;
10: aload 0
new javax.swing.text.ElementIterator
dup
aload 2
invokeinterface javax.swing.text.Document.getDefaultRootElement:()Ljavax/swing/text/Element;
invokespecial javax.swing.text.ElementIterator.<init>:(Ljavax/swing/text/Element;)V
putfield javax.swing.text.AbstractWriter.it:Ljavax/swing/text/ElementIterator;
11: aload 0
aload 1
putfield javax.swing.text.AbstractWriter.out:Ljava/io/Writer;
12: aload 0
iload 3
putfield javax.swing.text.AbstractWriter.startOffset:I
13: aload 0
iload 3
iload 4
iadd
putfield javax.swing.text.AbstractWriter.endOffset:I
14: aload 2
ldc "__EndOfLine__"
invokeinterface javax.swing.text.Document.getProperty:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 15: aload 5
instanceof java.lang.String
ifeq 18
16: aload 0
aload 5
checkcast java.lang.String
invokevirtual javax.swing.text.AbstractWriter.setLineSeparator:(Ljava/lang/String;)V
17: goto 22
18: StackMap locals: javax.swing.text.AbstractWriter java.io.Writer javax.swing.text.Document int int java.lang.Object
StackMap stack:
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
astore 6
start local 6 19: aload 6
ifnonnull 21
20: ldc "\n"
astore 6
21: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 6
invokevirtual javax.swing.text.AbstractWriter.setLineSeparator:(Ljava/lang/String;)V
end local 6 22: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield javax.swing.text.AbstractWriter.canWrapLines:Z
23: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljavax/swing/text/AbstractWriter;
0 24 1 w Ljava/io/Writer;
0 24 2 doc Ljavax/swing/text/Document;
0 24 3 pos I
0 24 4 len I
15 24 5 docNewline Ljava/lang/Object;
19 22 6 newline Ljava/lang/String;
MethodParameters:
Name Flags
w
doc
pos
len
protected void <init>(java.io.Writer, javax.swing.text.Element);
descriptor: (Ljava/io/Writer;Ljavax/swing/text/Element;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
aload 2
invokeinterface javax.swing.text.Element.getEndOffset:()I
invokespecial javax.swing.text.AbstractWriter.<init>:(Ljava/io/Writer;Ljavax/swing/text/Element;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/AbstractWriter;
0 2 1 w Ljava/io/Writer;
0 2 2 root Ljavax/swing/text/Element;
MethodParameters:
Name Flags
w
root
protected void <init>(java.io.Writer, javax.swing.text.Element, int, int);
descriptor: (Ljava/io/Writer;Ljavax/swing/text/Element;II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield javax.swing.text.AbstractWriter.indentLevel:I
2: aload 0
iconst_2
putfield javax.swing.text.AbstractWriter.indentSpace:I
3: aload 0
aconst_null
putfield javax.swing.text.AbstractWriter.doc:Ljavax/swing/text/Document;
4: aload 0
bipush 100
putfield javax.swing.text.AbstractWriter.maxLineLength:I
5: aload 0
iconst_0
putfield javax.swing.text.AbstractWriter.currLength:I
6: aload 0
iconst_0
putfield javax.swing.text.AbstractWriter.startOffset:I
7: aload 0
iconst_0
putfield javax.swing.text.AbstractWriter.endOffset:I
8: aload 0
iconst_0
putfield javax.swing.text.AbstractWriter.offsetIndent:I
9: aload 0
aload 2
invokeinterface javax.swing.text.Element.getDocument:()Ljavax/swing/text/Document;
putfield javax.swing.text.AbstractWriter.doc:Ljavax/swing/text/Document;
10: aload 0
new javax.swing.text.ElementIterator
dup
aload 2
invokespecial javax.swing.text.ElementIterator.<init>:(Ljavax/swing/text/Element;)V
putfield javax.swing.text.AbstractWriter.it:Ljavax/swing/text/ElementIterator;
11: aload 0
aload 1
putfield javax.swing.text.AbstractWriter.out:Ljava/io/Writer;
12: aload 0
iload 3
putfield javax.swing.text.AbstractWriter.startOffset:I
13: aload 0
iload 3
iload 4
iadd
putfield javax.swing.text.AbstractWriter.endOffset:I
14: aload 0
iconst_1
putfield javax.swing.text.AbstractWriter.canWrapLines:Z
15: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/swing/text/AbstractWriter;
0 16 1 w Ljava/io/Writer;
0 16 2 root Ljavax/swing/text/Element;
0 16 3 pos I
0 16 4 len I
MethodParameters:
Name Flags
w
root
pos
len
public int getStartOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.startOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractWriter;
public int getEndOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.endOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractWriter;
protected javax.swing.text.ElementIterator getElementIterator();
descriptor: ()Ljavax/swing/text/ElementIterator;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.it:Ljavax/swing/text/ElementIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractWriter;
protected java.io.Writer getWriter();
descriptor: ()Ljava/io/Writer;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.out:Ljava/io/Writer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractWriter;
protected javax.swing.text.Document getDocument();
descriptor: ()Ljavax/swing/text/Document;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.doc:Ljavax/swing/text/Document;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractWriter;
protected boolean inRange(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.AbstractWriter.getStartOffset:()I
istore 2
start local 2 1: aload 0
invokevirtual javax.swing.text.AbstractWriter.getEndOffset:()I
istore 3
start local 3 2: aload 1
invokeinterface javax.swing.text.Element.getStartOffset:()I
iload 2
if_icmplt 4
3: aload 1
invokeinterface javax.swing.text.Element.getStartOffset:()I
iload 3
if_icmplt 6
4: StackMap locals: int int
StackMap stack:
iload 2
aload 1
invokeinterface javax.swing.text.Element.getStartOffset:()I
if_icmplt 7
5: iload 2
aload 1
invokeinterface javax.swing.text.Element.getEndOffset:()I
if_icmpge 7
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
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/AbstractWriter;
0 8 1 next Ljavax/swing/text/Element;
1 8 2 startOffset I
2 8 3 endOffset I
MethodParameters:
Name Flags
next
protected abstract void write();
descriptor: ()V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException, javax.swing.text.BadLocationException
protected java.lang.String getText(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.AbstractWriter.doc:Ljavax/swing/text/Document;
aload 1
invokeinterface javax.swing.text.Element.getStartOffset:()I
1: aload 1
invokeinterface javax.swing.text.Element.getEndOffset:()I
aload 1
invokeinterface javax.swing.text.Element.getStartOffset:()I
isub
2: invokeinterface javax.swing.text.Document.getText:(II)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/AbstractWriter;
0 3 1 elem Ljavax/swing/text/Element;
Exceptions:
throws javax.swing.text.BadLocationException
MethodParameters:
Name Flags
elem
protected void text(javax.swing.text.Element);
descriptor: (Ljavax/swing/text/Element;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.swing.text.AbstractWriter.getStartOffset:()I
aload 1
invokeinterface javax.swing.text.Element.getStartOffset:()I
invokestatic java.lang.Math.max:(II)I
istore 2
start local 2 1: aload 0
invokevirtual javax.swing.text.AbstractWriter.getEndOffset:()I
aload 1
invokeinterface javax.swing.text.Element.getEndOffset:()I
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 2: iload 2
iload 3
if_icmpge 8
3: aload 0
getfield javax.swing.text.AbstractWriter.segment:Ljavax/swing/text/Segment;
ifnonnull 5
4: aload 0
new javax.swing.text.Segment
dup
invokespecial javax.swing.text.Segment.<init>:()V
putfield javax.swing.text.AbstractWriter.segment:Ljavax/swing/text/Segment;
5: StackMap locals: int int
StackMap stack:
aload 0
invokevirtual javax.swing.text.AbstractWriter.getDocument:()Ljavax/swing/text/Document;
iload 2
iload 3
iload 2
isub
aload 0
getfield javax.swing.text.AbstractWriter.segment:Ljavax/swing/text/Segment;
invokeinterface javax.swing.text.Document.getText:(IILjavax/swing/text/Segment;)V
6: aload 0
getfield javax.swing.text.AbstractWriter.segment:Ljavax/swing/text/Segment;
getfield javax.swing.text.Segment.count:I
ifle 8
7: aload 0
aload 0
getfield javax.swing.text.AbstractWriter.segment:Ljavax/swing/text/Segment;
getfield javax.swing.text.Segment.array:[C
aload 0
getfield javax.swing.text.AbstractWriter.segment:Ljavax/swing/text/Segment;
getfield javax.swing.text.Segment.offset:I
aload 0
getfield javax.swing.text.AbstractWriter.segment:Ljavax/swing/text/Segment;
getfield javax.swing.text.Segment.count:I
invokevirtual javax.swing.text.AbstractWriter.write:([CII)V
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/swing/text/AbstractWriter;
0 9 1 elem Ljavax/swing/text/Element;
1 9 2 start I
2 9 3 end I
Exceptions:
throws javax.swing.text.BadLocationException, java.io.IOException
MethodParameters:
Name Flags
elem
protected void setLineLength(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.AbstractWriter.maxLineLength:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/AbstractWriter;
0 2 1 l I
MethodParameters:
Name Flags
l
protected int getLineLength();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.maxLineLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractWriter;
protected void setCurrentLineLength(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.AbstractWriter.currLength:I
1: aload 0
aload 0
getfield javax.swing.text.AbstractWriter.currLength:I
ifne 2
iconst_1
goto 3
StackMap locals:
StackMap stack: javax.swing.text.AbstractWriter
2: iconst_0
StackMap locals: javax.swing.text.AbstractWriter int
StackMap stack: javax.swing.text.AbstractWriter int
3: putfield javax.swing.text.AbstractWriter.isLineEmpty:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/AbstractWriter;
0 5 1 length I
MethodParameters:
Name Flags
length
protected int getCurrentLineLength();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.currLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractWriter;
protected boolean isLineEmpty();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.isLineEmpty:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractWriter;
protected void setCanWrapLines(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.AbstractWriter.canWrapLines:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/AbstractWriter;
0 2 1 newValue Z
MethodParameters:
Name Flags
newValue
protected boolean getCanWrapLines();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.canWrapLines:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractWriter;
protected void setIndentSpace(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield javax.swing.text.AbstractWriter.indentSpace:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/AbstractWriter;
0 2 1 space I
MethodParameters:
Name Flags
space
protected int getIndentSpace();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.indentSpace:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractWriter;
public void setLineSeparator(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.swing.text.AbstractWriter.lineSeparator:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/text/AbstractWriter;
0 2 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public java.lang.String getLineSeparator();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.lineSeparator:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractWriter;
protected void incrIndent();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.offsetIndent:I
ifle 3
1: aload 0
dup
getfield javax.swing.text.AbstractWriter.offsetIndent:I
iconst_1
iadd
putfield javax.swing.text.AbstractWriter.offsetIndent:I
2: goto 6
3: StackMap locals:
StackMap stack:
aload 0
dup
getfield javax.swing.text.AbstractWriter.indentLevel:I
iconst_1
iadd
dup_x1
putfield javax.swing.text.AbstractWriter.indentLevel:I
aload 0
invokevirtual javax.swing.text.AbstractWriter.getIndentSpace:()I
imul
aload 0
invokevirtual javax.swing.text.AbstractWriter.getLineLength:()I
if_icmplt 6
4: aload 0
dup
getfield javax.swing.text.AbstractWriter.offsetIndent:I
iconst_1
iadd
putfield javax.swing.text.AbstractWriter.offsetIndent:I
5: aload 0
dup
getfield javax.swing.text.AbstractWriter.indentLevel:I
iconst_1
isub
putfield javax.swing.text.AbstractWriter.indentLevel:I
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/text/AbstractWriter;
protected void decrIndent();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.offsetIndent:I
ifle 3
1: aload 0
dup
getfield javax.swing.text.AbstractWriter.offsetIndent:I
iconst_1
isub
putfield javax.swing.text.AbstractWriter.offsetIndent:I
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
dup
getfield javax.swing.text.AbstractWriter.indentLevel:I
iconst_1
isub
putfield javax.swing.text.AbstractWriter.indentLevel:I
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/AbstractWriter;
protected int getIndentLevel();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.text.AbstractWriter.indentLevel:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/text/AbstractWriter;
protected void indent();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.AbstractWriter.getIndentLevel:()I
aload 0
invokevirtual javax.swing.text.AbstractWriter.getIndentSpace:()I
imul
istore 1
start local 1 1: aload 0
getfield javax.swing.text.AbstractWriter.indentChars:[C
ifnull 2
iload 1
aload 0
getfield javax.swing.text.AbstractWriter.indentChars:[C
arraylength
if_icmple 8
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
newarray 5
putfield javax.swing.text.AbstractWriter.indentChars:[C
3: iconst_0
istore 2
start local 2 4: goto 7
5: StackMap locals: int
StackMap stack:
aload 0
getfield javax.swing.text.AbstractWriter.indentChars:[C
iload 2
bipush 32
castore
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 1
if_icmplt 5
end local 2 8: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.AbstractWriter.getCurrentLineLength:()I
istore 2
start local 2 9: aload 0
invokevirtual javax.swing.text.AbstractWriter.isLineEmpty:()Z
istore 3
start local 3 10: aload 0
aload 0
getfield javax.swing.text.AbstractWriter.indentChars:[C
iconst_0
iload 1
invokevirtual javax.swing.text.AbstractWriter.output:([CII)V
11: iload 3
ifeq 13
iload 2
ifne 13
12: aload 0
iconst_1
putfield javax.swing.text.AbstractWriter.isLineEmpty:Z
13: StackMap locals: int int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/swing/text/AbstractWriter;
1 14 1 max I
4 8 2 counter I
9 14 2 length I
10 14 3 wasEmpty Z
Exceptions:
throws java.io.IOException
protected void write(char);
descriptor: (C)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.swing.text.AbstractWriter.tempChars:[C
ifnonnull 2
1: aload 0
sipush 128
newarray 5
putfield javax.swing.text.AbstractWriter.tempChars:[C
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.text.AbstractWriter.tempChars:[C
iconst_0
iload 1
castore
3: aload 0
aload 0
getfield javax.swing.text.AbstractWriter.tempChars:[C
iconst_0
iconst_1
invokevirtual javax.swing.text.AbstractWriter.write:([CII)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/swing/text/AbstractWriter;
0 5 1 ch C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ch
protected void write(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 3: aload 0
getfield javax.swing.text.AbstractWriter.tempChars:[C
ifnull 4
aload 0
getfield javax.swing.text.AbstractWriter.tempChars:[C
arraylength
iload 2
if_icmpge 5
4: StackMap locals: int
StackMap stack:
aload 0
iload 2
newarray 5
putfield javax.swing.text.AbstractWriter.tempChars:[C
5: StackMap locals:
StackMap stack:
aload 1
iconst_0
iload 2
aload 0
getfield javax.swing.text.AbstractWriter.tempChars:[C
iconst_0
invokevirtual java.lang.String.getChars:(II[CI)V
6: aload 0
aload 0
getfield javax.swing.text.AbstractWriter.tempChars:[C
iconst_0
iload 2
invokevirtual javax.swing.text.AbstractWriter.write:([CII)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/AbstractWriter;
0 8 1 content Ljava/lang/String;
3 8 2 size I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
content
protected void writeLineSeparator();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual javax.swing.text.AbstractWriter.getLineSeparator:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 2: aload 0
getfield javax.swing.text.AbstractWriter.newlineChars:[C
ifnull 3
aload 0
getfield javax.swing.text.AbstractWriter.newlineChars:[C
arraylength
iload 2
if_icmpge 4
3: StackMap locals: java.lang.String int
StackMap stack:
aload 0
iload 2
newarray 5
putfield javax.swing.text.AbstractWriter.newlineChars:[C
4: StackMap locals:
StackMap stack:
aload 1
iconst_0
iload 2
aload 0
getfield javax.swing.text.AbstractWriter.newlineChars:[C
iconst_0
invokevirtual java.lang.String.getChars:(II[CI)V
5: aload 0
aload 0
getfield javax.swing.text.AbstractWriter.newlineChars:[C
iconst_0
iload 2
invokevirtual javax.swing.text.AbstractWriter.output:([CII)V
6: aload 0
iconst_0
invokevirtual javax.swing.text.AbstractWriter.setCurrentLineLength:(I)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/text/AbstractWriter;
1 8 1 newline Ljava/lang/String;
2 8 2 length I
Exceptions:
throws java.io.IOException
protected void write(char[], int, int);
descriptor: ([CII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual javax.swing.text.AbstractWriter.getCanWrapLines:()Z
ifne 14
1: iload 2
istore 4
start local 4 2: iload 2
iload 3
iadd
istore 5
start local 5 3: aload 0
aload 1
bipush 10
iload 2
iload 5
invokevirtual javax.swing.text.AbstractWriter.indexOf:([CCII)I
istore 6
start local 6 4: goto 10
5: StackMap locals: int int int
StackMap stack:
iload 6
iload 4
if_icmple 7
6: aload 0
aload 1
iload 4
iload 6
iload 4
isub
invokevirtual javax.swing.text.AbstractWriter.output:([CII)V
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.AbstractWriter.writeLineSeparator:()V
8: iload 6
iconst_1
iadd
istore 4
9: aload 0
aload 1
bipush 10
iload 4
iload 5
invokevirtual javax.swing.text.AbstractWriter.indexOf:([CCII)I
istore 6
10: StackMap locals:
StackMap stack:
iload 6
iconst_m1
if_icmpne 5
11: iload 4
iload 5
if_icmpge 89
12: aload 0
aload 1
iload 4
iload 5
iload 4
isub
invokevirtual javax.swing.text.AbstractWriter.output:([CII)V
end local 6 end local 5 end local 4 13: goto 89
14: StackMap locals:
StackMap stack:
iload 2
istore 4
start local 4 15: iload 2
iload 3
iadd
istore 5
start local 5 16: aload 0
invokevirtual javax.swing.text.AbstractWriter.getCurrentLineLength:()I
istore 6
start local 6 17: aload 0
invokevirtual javax.swing.text.AbstractWriter.getLineLength:()I
istore 7
start local 7 18: goto 88
19: StackMap locals: javax.swing.text.AbstractWriter char[] int int int int int int
StackMap stack:
aload 0
aload 1
bipush 10
iload 4
20: iload 5
21: invokevirtual javax.swing.text.AbstractWriter.indexOf:([CCII)I
istore 8
start local 8 22: iconst_0
istore 9
start local 9 23: iconst_0
istore 10
start local 10 24: aload 0
invokevirtual javax.swing.text.AbstractWriter.getCurrentLineLength:()I
istore 6
25: iload 8
iconst_m1
if_icmpeq 32
iload 6
26: iload 8
iload 4
isub
iadd
iload 7
if_icmpge 32
27: iload 8
iload 4
if_icmple 29
28: aload 0
aload 1
iload 4
iload 8
iload 4
isub
invokevirtual javax.swing.text.AbstractWriter.output:([CII)V
29: StackMap locals: int int int
StackMap stack:
iload 8
iconst_1
iadd
istore 4
30: iconst_1
istore 10
31: goto 84
32: StackMap locals:
StackMap stack:
iload 8
iconst_m1
if_icmpne 38
iload 6
33: iload 5
iload 4
isub
iadd
iload 7
if_icmpge 38
34: iload 5
iload 4
if_icmple 36
35: aload 0
aload 1
iload 4
iload 5
iload 4
isub
invokevirtual javax.swing.text.AbstractWriter.output:([CII)V
36: StackMap locals:
StackMap stack:
iload 5
istore 4
37: goto 84
38: StackMap locals:
StackMap stack:
iconst_m1
istore 11
start local 11 39: iload 5
iload 4
isub
40: iload 7
iload 6
isub
iconst_1
isub
41: invokestatic java.lang.Math.min:(II)I
istore 12
start local 12 42: iconst_0
istore 13
start local 13 43: goto 50
44: StackMap locals: int int int
StackMap stack:
aload 1
iload 13
45: iload 4
iadd
46: caload
invokestatic java.lang.Character.isWhitespace:(C)Z
47: ifeq 49
48: iload 13
istore 11
49: StackMap locals:
StackMap stack:
iinc 13 1
50: StackMap locals:
StackMap stack:
iload 13
iload 12
if_icmplt 44
51: iload 11
iconst_m1
if_icmpeq 57
52: iload 11
iload 4
iconst_1
iadd
iadd
istore 11
53: aload 0
aload 1
iload 4
iload 11
iload 4
isub
invokevirtual javax.swing.text.AbstractWriter.output:([CII)V
54: iload 11
istore 4
55: iconst_1
istore 9
56: goto 84
57: StackMap locals:
StackMap stack:
iconst_0
iload 12
invokestatic java.lang.Math.max:(II)I
istore 13
58: iload 5
iload 4
isub
istore 12
59: goto 67
60: StackMap locals:
StackMap stack:
aload 1
iload 13
61: iload 4
iadd
62: caload
invokestatic java.lang.Character.isWhitespace:(C)Z
63: ifeq 66
64: iload 13
istore 11
65: goto 68
66: StackMap locals:
StackMap stack:
iinc 13 1
67: StackMap locals:
StackMap stack:
iload 13
iload 12
if_icmplt 60
68: StackMap locals:
StackMap stack:
iload 11
iconst_m1
if_icmpne 72
69: aload 0
aload 1
iload 4
iload 5
iload 4
isub
invokevirtual javax.swing.text.AbstractWriter.output:([CII)V
70: iload 5
istore 11
71: goto 83
72: StackMap locals:
StackMap stack:
iload 11
iload 4
iadd
istore 11
73: aload 1
iload 11
caload
bipush 10
if_icmpne 79
74: aload 0
aload 1
iload 4
iload 11
iinc 11 1
75: iload 4
isub
76: invokevirtual javax.swing.text.AbstractWriter.output:([CII)V
77: iconst_1
istore 10
78: goto 83
79: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 4
iinc 11 1
iload 11
80: iload 4
isub
81: invokevirtual javax.swing.text.AbstractWriter.output:([CII)V
82: iconst_1
istore 9
83: StackMap locals:
StackMap stack:
iload 11
istore 4
end local 13 end local 12 end local 11 84: StackMap locals:
StackMap stack:
iload 10
ifne 85
iload 9
ifne 85
iload 4
iload 5
if_icmpge 88
85: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.AbstractWriter.writeLineSeparator:()V
86: iload 4
iload 5
if_icmplt 87
iload 10
ifne 88
87: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.swing.text.AbstractWriter.indent:()V
end local 10 end local 9 end local 8 88: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmplt 19
end local 7 end local 6 end local 5 end local 4 89: StackMap locals: javax.swing.text.AbstractWriter char[] int int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 90 0 this Ljavax/swing/text/AbstractWriter;
0 90 1 chars [C
0 90 2 startIndex I
0 90 3 length I
2 13 4 lastIndex I
3 13 5 endIndex I
4 13 6 newlineIndex I
15 89 4 lastIndex I
16 89 5 endIndex I
17 89 6 lineLength I
18 89 7 maxLength I
22 88 8 newlineIndex I
23 88 9 needsNewline Z
24 88 10 forceNewLine Z
39 84 11 breakPoint I
42 84 12 maxBreak I
43 84 13 counter I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
chars
startIndex
length
protected void writeAttributes(javax.swing.text.AttributeSet);
descriptor: (Ljavax/swing/text/AttributeSet;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.swing.text.AttributeSet.getAttributeNames:()Ljava/util/Enumeration;
astore 2
start local 2 1: goto 4
2: StackMap locals: java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
astore 3
start local 3 3: aload 0
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
aload 3
invokeinterface javax.swing.text.AttributeSet.getAttribute:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.swing.text.AbstractWriter.write:(Ljava/lang/String;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 2
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/text/AbstractWriter;
0 6 1 attr Ljavax/swing/text/AttributeSet;
1 6 2 names Ljava/util/Enumeration<*>;
3 4 3 name Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
attr
protected void output(char[], int, int);
descriptor: ([CII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual javax.swing.text.AbstractWriter.getWriter:()Ljava/io/Writer;
aload 1
iload 2
iload 3
invokevirtual java.io.Writer.write:([CII)V
1: aload 0
aload 0
invokevirtual javax.swing.text.AbstractWriter.getCurrentLineLength:()I
iload 3
iadd
invokevirtual javax.swing.text.AbstractWriter.setCurrentLineLength:(I)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/text/AbstractWriter;
0 3 1 content [C
0 3 2 start I
0 3 3 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
content
start
length
private int indexOf(char[], char, int, int);
descriptor: ([CCII)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: goto 4
1: StackMap locals:
StackMap stack:
aload 1
iload 3
caload
iload 2
if_icmpne 3
2: iload 3
ireturn
3: StackMap locals:
StackMap stack:
iinc 3 1
4: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmplt 1
5: iconst_m1
ireturn
end local 4 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/AbstractWriter;
0 6 1 chars [C
0 6 2 sChar C
0 6 3 startIndex I
0 6 4 endIndex I
MethodParameters:
Name Flags
chars
sChar
startIndex
endIndex
}
SourceFile: "AbstractWriter.java"