class com.google.common.io.AppendableWriter extends java.io.Writer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.io.AppendableWriter
super_class: java.io.Writer
{
private final java.lang.Appendable target;
descriptor: Ljava/lang/Appendable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean closed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.Appendable);
descriptor: (Ljava/lang/Appendable;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.io.Writer.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Appendable
putfield com.google.common.io.AppendableWriter.target:Ljava/lang/Appendable;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/AppendableWriter;
0 3 1 target Ljava/lang/Appendable;
MethodParameters:
Name Flags
target
public void write(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.google.common.io.AppendableWriter.checkNotClosed:()V
1: aload 0
getfield com.google.common.io.AppendableWriter.target:Ljava/lang/Appendable;
new java.lang.String
dup
aload 1
iload 2
iload 3
invokespecial java.lang.String.<init>:([CII)V
invokeinterface java.lang.Appendable.append:(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
pop
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/AppendableWriter;
0 3 1 cbuf [C
0 3 2 off I
0 3 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cbuf
off
len
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.io.AppendableWriter.checkNotClosed:()V
1: aload 0
getfield com.google.common.io.AppendableWriter.target:Ljava/lang/Appendable;
iload 1
i2c
invokeinterface java.lang.Appendable.append:(C)Ljava/lang/Appendable;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/AppendableWriter;
0 3 1 c I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
public void write(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
invokevirtual com.google.common.io.AppendableWriter.checkNotClosed:()V
1: aload 0
getfield com.google.common.io.AppendableWriter.target:Ljava/lang/Appendable;
aload 1
invokeinterface java.lang.Appendable.append:(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/AppendableWriter;
0 3 1 str Ljava/lang/String;
Exceptions:
throws java.io.IOException
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.google.common.io.AppendableWriter.checkNotClosed:()V
1: aload 0
getfield com.google.common.io.AppendableWriter.target:Ljava/lang/Appendable;
aload 1
iload 2
iload 2
iload 3
iadd
invokeinterface java.lang.Appendable.append:(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;
pop
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/AppendableWriter;
0 3 1 str Ljava/lang/String;
0 3 2 off I
0 3 3 len I
Exceptions:
throws java.io.IOException
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
str
off
len
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.io.AppendableWriter.checkNotClosed:()V
1: aload 0
getfield com.google.common.io.AppendableWriter.target:Ljava/lang/Appendable;
instanceof java.io.Flushable
ifeq 3
2: aload 0
getfield com.google.common.io.AppendableWriter.target:Ljava/lang/Appendable;
checkcast java.io.Flushable
invokeinterface java.io.Flushable.flush:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/io/AppendableWriter;
Exceptions:
throws java.io.IOException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield com.google.common.io.AppendableWriter.closed:Z
1: aload 0
getfield com.google.common.io.AppendableWriter.target:Ljava/lang/Appendable;
instanceof java.io.Closeable
ifeq 3
2: aload 0
getfield com.google.common.io.AppendableWriter.target:Ljava/lang/Appendable;
checkcast java.io.Closeable
invokeinterface java.io.Closeable.close:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/io/AppendableWriter;
Exceptions:
throws java.io.IOException
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
invokevirtual com.google.common.io.AppendableWriter.checkNotClosed:()V
1: aload 0
getfield com.google.common.io.AppendableWriter.target:Ljava/lang/Appendable;
iload 1
invokeinterface java.lang.Appendable.append:(C)Ljava/lang/Appendable;
pop
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/AppendableWriter;
0 3 1 c C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
c
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 0
invokevirtual com.google.common.io.AppendableWriter.checkNotClosed:()V
1: aload 0
getfield com.google.common.io.AppendableWriter.target:Ljava/lang/Appendable;
aload 1
invokeinterface java.lang.Appendable.append:(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
pop
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/AppendableWriter;
0 3 1 charSeq Ljava/lang/CharSequence;
Exceptions:
throws java.io.IOException
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
charSeq
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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual com.google.common.io.AppendableWriter.checkNotClosed:()V
1: aload 0
getfield com.google.common.io.AppendableWriter.target:Ljava/lang/Appendable;
aload 1
iload 2
iload 3
invokeinterface java.lang.Appendable.append:(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;
pop
2: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/AppendableWriter;
0 3 1 charSeq Ljava/lang/CharSequence;
0 3 2 start I
0 3 3 end I
Exceptions:
throws java.io.IOException
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
charSeq
start
end
private void checkNotClosed();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.io.AppendableWriter.closed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "Cannot write to a closed writer."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/io/AppendableWriter;
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 com.google.common.io.AppendableWriter.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 com.google.common.io.AppendableWriter.append:(Ljava/lang/CharSequence;)Ljava/io/Writer;
areturn
LocalVariableTable:
Start End Slot Name Signature
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 com.google.common.io.AppendableWriter.append:(C)Ljava/io/Writer;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
SourceFile: "AppendableWriter.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()