final class com.google.protobuf.TextFormatEscaper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.protobuf.TextFormatEscaper
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/protobuf/TextFormatEscaper;
static java.lang.String escapeBytes(com.google.protobuf.TextFormatEscaper$ByteSequence);
descriptor: (Lcom/google/protobuf/TextFormatEscaper$ByteSequence;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokeinterface com.google.protobuf.TextFormatEscaper$ByteSequence.size:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 33
3: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
iload 2
invokeinterface com.google.protobuf.TextFormatEscaper$ByteSequence.byteAt:(I)B
istore 3
start local 3 4: iload 3
lookupswitch { // 10
7: 5
8: 7
9: 15
10: 11
11: 17
12: 9
13: 13
34: 23
39: 21
92: 19
default: 25
}
5: StackMap locals: int
StackMap stack:
aload 1
ldc "\\a"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: goto 32
7: StackMap locals:
StackMap stack:
aload 1
ldc "\\b"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 32
9: StackMap locals:
StackMap stack:
aload 1
ldc "\\f"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: goto 32
11: StackMap locals:
StackMap stack:
aload 1
ldc "\\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: goto 32
13: StackMap locals:
StackMap stack:
aload 1
ldc "\\r"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: goto 32
15: StackMap locals:
StackMap stack:
aload 1
ldc "\\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: goto 32
17: StackMap locals:
StackMap stack:
aload 1
ldc "\\v"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: goto 32
19: StackMap locals:
StackMap stack:
aload 1
ldc "\\\\"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: goto 32
21: StackMap locals:
StackMap stack:
aload 1
ldc "\\'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: goto 32
23: StackMap locals:
StackMap stack:
aload 1
ldc "\\\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
24: goto 32
25: StackMap locals:
StackMap stack:
iload 3
bipush 32
if_icmplt 28
iload 3
bipush 126
if_icmpgt 28
26: aload 1
iload 3
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
27: goto 32
28: StackMap locals:
StackMap stack:
aload 1
bipush 92
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
29: aload 1
bipush 48
iload 3
bipush 6
iushr
iconst_3
iand
iadd
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
30: aload 1
bipush 48
iload 3
iconst_3
iushr
bipush 7
iand
iadd
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
31: aload 1
bipush 48
iload 3
bipush 7
iand
iadd
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 3 32: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
33: iload 2
aload 0
invokeinterface com.google.protobuf.TextFormatEscaper$ByteSequence.size:()I
if_icmplt 3
end local 2 34: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 input Lcom/google/protobuf/TextFormatEscaper$ByteSequence;
1 35 1 builder Ljava/lang/StringBuilder;
2 34 2 i I
4 32 3 b B
MethodParameters:
Name Flags
input final
static java.lang.String escapeBytes(com.google.protobuf.ByteString);
descriptor: (Lcom/google/protobuf/ByteString;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.protobuf.TextFormatEscaper$1
dup
aload 0
invokespecial com.google.protobuf.TextFormatEscaper$1.<init>:(Lcom/google/protobuf/ByteString;)V
1: invokestatic com.google.protobuf.TextFormatEscaper.escapeBytes:(Lcom/google/protobuf/TextFormatEscaper$ByteSequence;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 input Lcom/google/protobuf/ByteString;
MethodParameters:
Name Flags
input final
static java.lang.String escapeBytes(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.protobuf.TextFormatEscaper$2
dup
aload 0
invokespecial com.google.protobuf.TextFormatEscaper$2.<init>:([B)V
1: invokestatic com.google.protobuf.TextFormatEscaper.escapeBytes:(Lcom/google/protobuf/TextFormatEscaper$ByteSequence;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 input [B
MethodParameters:
Name Flags
input final
static java.lang.String escapeText(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.protobuf.ByteString.copyFromUtf8:(Ljava/lang/String;)Lcom/google/protobuf/ByteString;
invokestatic com.google.protobuf.TextFormatEscaper.escapeBytes:(Lcom/google/protobuf/ByteString;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 input Ljava/lang/String;
MethodParameters:
Name Flags
input final
static java.lang.String escapeDoubleQuotesAndBackslashes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "\\"
ldc "\\\\"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
ldc "\""
ldc "\\\""
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 input Ljava/lang/String;
MethodParameters:
Name Flags
input final
}
SourceFile: "TextFormatEscaper.java"
NestMembers:
com.google.protobuf.TextFormatEscaper$1 com.google.protobuf.TextFormatEscaper$2 com.google.protobuf.TextFormatEscaper$ByteSequence
InnerClasses:
com.google.protobuf.TextFormatEscaper$1
com.google.protobuf.TextFormatEscaper$2
private abstract ByteSequence = com.google.protobuf.TextFormatEscaper$ByteSequence of com.google.protobuf.TextFormatEscaper