final class com.google.protobuf.TextFormat$TextGenerator
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.protobuf.TextFormat$TextGenerator
super_class: java.lang.Object
{
private final java.lang.Appendable output;
descriptor: Ljava/lang/Appendable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.StringBuilder indent;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean singleLineMode;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean atStartOfLine;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private void <init>(java.lang.Appendable, boolean);
descriptor: (Ljava/lang/Appendable;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield com.google.protobuf.TextFormat$TextGenerator.indent:Ljava/lang/StringBuilder;
2: aload 0
iconst_0
putfield com.google.protobuf.TextFormat$TextGenerator.atStartOfLine:Z
3: aload 0
aload 1
putfield com.google.protobuf.TextFormat$TextGenerator.output:Ljava/lang/Appendable;
4: aload 0
iload 2
putfield com.google.protobuf.TextFormat$TextGenerator.singleLineMode:Z
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/protobuf/TextFormat$TextGenerator;
0 6 1 output Ljava/lang/Appendable;
0 6 2 singleLineMode Z
MethodParameters:
Name Flags
output final
singleLineMode
public void indent();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.TextFormat$TextGenerator.indent:Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/protobuf/TextFormat$TextGenerator;
public void outdent();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.TextFormat$TextGenerator.indent:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
istore 1
start local 1 1: iload 1
ifne 3
2: new java.lang.IllegalArgumentException
dup
ldc " Outdent() without matching Indent()."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.google.protobuf.TextFormat$TextGenerator.indent:Ljava/lang/StringBuilder;
iload 1
iconst_2
isub
invokevirtual java.lang.StringBuilder.setLength:(I)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/protobuf/TextFormat$TextGenerator;
1 5 1 length I
public void print(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.protobuf.TextFormat$TextGenerator.atStartOfLine:Z
ifeq 5
1: aload 0
iconst_0
putfield com.google.protobuf.TextFormat$TextGenerator.atStartOfLine:Z
2: aload 0
getfield com.google.protobuf.TextFormat$TextGenerator.output:Ljava/lang/Appendable;
aload 0
getfield com.google.protobuf.TextFormat$TextGenerator.singleLineMode:Z
ifeq 3
ldc " "
goto 4
StackMap locals:
StackMap stack: java.lang.Appendable
3: aload 0
getfield com.google.protobuf.TextFormat$TextGenerator.indent:Ljava/lang/StringBuilder;
StackMap locals: com.google.protobuf.TextFormat$TextGenerator java.lang.CharSequence
StackMap stack: java.lang.Appendable java.io.Serializable
4: invokeinterface java.lang.Appendable.append:(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield com.google.protobuf.TextFormat$TextGenerator.output:Ljava/lang/Appendable;
aload 1
invokeinterface java.lang.Appendable.append:(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
pop
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/protobuf/TextFormat$TextGenerator;
0 7 1 text Ljava/lang/CharSequence;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
text final
public void eol();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.protobuf.TextFormat$TextGenerator.singleLineMode:Z
ifne 2
1: aload 0
getfield com.google.protobuf.TextFormat$TextGenerator.output:Ljava/lang/Appendable;
ldc "\n"
invokeinterface java.lang.Appendable.append:(Ljava/lang/CharSequence;)Ljava/lang/Appendable;
pop
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.google.protobuf.TextFormat$TextGenerator.atStartOfLine:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/protobuf/TextFormat$TextGenerator;
Exceptions:
throws java.io.IOException
}
SourceFile: "TextFormat.java"
NestHost: com.google.protobuf.TextFormat
InnerClasses:
private final TextGenerator = com.google.protobuf.TextFormat$TextGenerator of com.google.protobuf.TextFormat