public abstract class java.io.Writer implements java.lang.Appendable, java.io.Closeable, java.io.Flushable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.io.Writer
super_class: java.lang.Object
{
private char[] writeBuffer;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private final int writeBufferSize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
ConstantValue: 1024
protected java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
sipush 1024
putfield java.io.Writer.writeBufferSize:I
2: aload 0
aload 0
putfield java.io.Writer.lock:Ljava/lang/Object;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/io/Writer;
protected void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
sipush 1024
putfield java.io.Writer.writeBufferSize:I
2: aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
4: StackMap locals: java.io.Writer java.lang.Object
StackMap stack:
aload 0
aload 1
putfield java.io.Writer.lock:Ljava/lang/Object;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/io/Writer;
0 6 1 lock Ljava/lang/Object;
MethodParameters:
Name Flags
lock
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield java.io.Writer.lock:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
getfield java.io.Writer.writeBuffer:[C
ifnonnull 3
2: aload 0
sipush 1024
newarray 5
putfield java.io.Writer.writeBuffer:[C
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield java.io.Writer.writeBuffer:[C
iconst_0
iload 1
i2c
castore
4: aload 0
aload 0
getfield java.io.Writer.writeBuffer:[C
iconst_0
iconst_1
invokevirtual java.io.Writer.write:([CII)V
5: aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/io/Writer;
0 10 1 c I
Exception table:
from to target type
1 6 7 any
7 8 7 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
public void write(char[]);
descriptor: ([C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual java.io.Writer.write:([CII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/io/Writer;
0 2 1 cbuf [C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
public abstract void write(char[], int, int);
descriptor: ([CII)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
off
len
public void write(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.io.Writer.write:(Ljava/lang/String;II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/io/Writer;
0 2 1 str Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
public void write(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield java.io.Writer.lock:Ljava/lang/Object;
dup
astore 4
monitorenter
1: iload 3
sipush 1024
if_icmpgt 6
2: aload 0
getfield java.io.Writer.writeBuffer:[C
ifnonnull 4
3: aload 0
sipush 1024
newarray 5
putfield java.io.Writer.writeBuffer:[C
4: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield java.io.Writer.writeBuffer:[C
astore 5
start local 5 5: goto 7
end local 5 6: StackMap locals:
StackMap stack:
iload 3
newarray 5
astore 5
start local 5 7: StackMap locals: char[]
StackMap stack:
aload 1
iload 2
iload 2
iload 3
iadd
aload 5
iconst_0
invokevirtual java.lang.String.getChars:(II[CI)V
8: aload 0
aload 5
iconst_0
iload 3
invokevirtual java.io.Writer.write:([CII)V
end local 5 9: aload 4
monitorexit
10: goto 13
StackMap locals: java.io.Writer java.lang.String int int java.lang.Object
StackMap stack: java.lang.Throwable
11: aload 4
monitorexit
12: athrow
13: StackMap locals:
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 Ljava/io/Writer;
0 14 1 str Ljava/lang/String;
0 14 2 off I
0 14 3 len I
5 6 5 cbuf [C
7 9 5 cbuf [C
Exception table:
from to target type
1 10 11 any
11 12 11 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
off
len
public java.io.Writer append(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/io/Writer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
ldc "null"
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/io/Writer;
0 4 1 csq Ljava/lang/CharSequence;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
csq
public java.io.Writer append(java.lang.CharSequence, int, int);
descriptor: (Ljava/lang/CharSequence;II)Ljava/io/Writer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 1
ldc "null"
goto 2
StackMap locals:
StackMap stack:
1: aload 1
StackMap locals:
StackMap stack: java.lang.CharSequence
2: astore 4
start local 4 3: aload 0
aload 4
iload 2
iload 3
invokeinterface java.lang.CharSequence.subSequence:(II)Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
4: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/io/Writer;
0 5 1 csq Ljava/lang/CharSequence;
0 5 2 start I
0 5 3 end I
3 5 4 cs Ljava/lang/CharSequence;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
csq
start
end
public java.io.Writer append(char);
descriptor: (C)Ljava/io/Writer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual java.io.Writer.write:(I)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/io/Writer;
0 2 1 c C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
public abstract void flush();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public abstract void close();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
public java.lang.Appendable append(char);
descriptor: (C)Ljava/lang/Appendable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual java.io.Writer.append:(C)Ljava/io/Writer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public java.lang.Appendable append(java.lang.CharSequence, int, int);
descriptor: (Ljava/lang/CharSequence;II)Ljava/lang/Appendable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
iload 2
iload 3
invokevirtual java.io.Writer.append:(Ljava/lang/CharSequence;II)Ljava/io/Writer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
public java.lang.Appendable append(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Ljava/lang/Appendable;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual java.io.Writer.append:(Ljava/lang/CharSequence;)Ljava/io/Writer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
SourceFile: "Writer.java"