class com.google.common.escape.CharEscaperBuilder$CharArrayDecorator extends com.google.common.escape.CharEscaper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.escape.CharEscaperBuilder$CharArrayDecorator
super_class: com.google.common.escape.CharEscaper
{
private final char[][] replacements;
descriptor: [[C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int replaceLength;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(char[][]);
descriptor: ([[C)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.escape.CharEscaper.<init>:()V
1: aload 0
aload 1
putfield com.google.common.escape.CharEscaperBuilder$CharArrayDecorator.replacements:[[C
2: aload 0
aload 1
arraylength
putfield com.google.common.escape.CharEscaperBuilder$CharArrayDecorator.replaceLength:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/escape/CharEscaperBuilder$CharArrayDecorator;
0 4 1 replacements [[C
MethodParameters:
Name Flags
replacements
public java.lang.String escape(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 4: iload 4
aload 0
getfield com.google.common.escape.CharEscaperBuilder$CharArrayDecorator.replacements:[[C
arraylength
if_icmpge 6
aload 0
getfield com.google.common.escape.CharEscaperBuilder$CharArrayDecorator.replacements:[[C
iload 4
aaload
ifnull 6
5: aload 0
aload 1
iload 3
invokevirtual com.google.common.escape.CharEscaperBuilder$CharArrayDecorator.escapeSlow:(Ljava/lang/String;I)Ljava/lang/String;
areturn
end local 4 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 3
end local 3 8: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/escape/CharEscaperBuilder$CharArrayDecorator;
0 9 1 s Ljava/lang/String;
1 9 2 slen I
2 8 3 index I
4 6 4 c C
MethodParameters:
Name Flags
s
protected char[] escape(char);
descriptor: (C)[C
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.google.common.escape.CharEscaperBuilder$CharArrayDecorator.replaceLength:I
if_icmpge 1
aload 0
getfield com.google.common.escape.CharEscaperBuilder$CharArrayDecorator.replacements:[[C
iload 1
aaload
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: char[]
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/escape/CharEscaperBuilder$CharArrayDecorator;
0 3 1 c C
MethodParameters:
Name Flags
c
}
SourceFile: "CharEscaperBuilder.java"
NestHost: com.google.common.escape.CharEscaperBuilder
InnerClasses:
private CharArrayDecorator = com.google.common.escape.CharEscaperBuilder$CharArrayDecorator of com.google.common.escape.CharEscaperBuilder