public abstract class com.google.common.escape.ArrayBasedUnicodeEscaper extends com.google.common.escape.UnicodeEscaper
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.escape.ArrayBasedUnicodeEscaper
super_class: com.google.common.escape.UnicodeEscaper
{
private final char[][] replacements;
descriptor: [[C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int replacementsLength;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int safeMin;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int safeMax;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final char safeMinChar;
descriptor: C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final char safeMaxChar;
descriptor: C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(java.util.Map<java.lang.Character, java.lang.String>, int, int, java.lang.String);
descriptor: (Ljava/util/Map;IILjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokestatic com.google.common.escape.ArrayBasedEscaperMap.create:(Ljava/util/Map;)Lcom/google/common/escape/ArrayBasedEscaperMap;
iload 2
iload 3
aload 4
invokespecial com.google.common.escape.ArrayBasedUnicodeEscaper.<init>:(Lcom/google/common/escape/ArrayBasedEscaperMap;IILjava/lang/String;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/escape/ArrayBasedUnicodeEscaper;
0 2 1 replacementMap Ljava/util/Map<Ljava/lang/Character;Ljava/lang/String;>;
0 2 2 safeMin I
0 2 3 safeMax I
0 2 4 unsafeReplacement Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/Character;Ljava/lang/String;>;IILjava/lang/String;)V
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
replacementMap
safeMin
safeMax
unsafeReplacement
protected void <init>(com.google.common.escape.ArrayBasedEscaperMap, int, int, java.lang.String);
descriptor: (Lcom/google/common/escape/ArrayBasedEscaperMap;IILjava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial com.google.common.escape.UnicodeEscaper.<init>:()V
1: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
invokevirtual com.google.common.escape.ArrayBasedEscaperMap.getReplacementArray:()[[C
putfield com.google.common.escape.ArrayBasedUnicodeEscaper.replacements:[[C
3: aload 0
aload 0
getfield com.google.common.escape.ArrayBasedUnicodeEscaper.replacements:[[C
arraylength
putfield com.google.common.escape.ArrayBasedUnicodeEscaper.replacementsLength:I
4: iload 3
iload 2
if_icmpge 7
5: iconst_m1
istore 3
6: ldc 2147483647
istore 2
7: StackMap locals: com.google.common.escape.ArrayBasedUnicodeEscaper com.google.common.escape.ArrayBasedEscaperMap int int java.lang.String
StackMap stack:
aload 0
iload 2
putfield com.google.common.escape.ArrayBasedUnicodeEscaper.safeMin:I
8: aload 0
iload 3
putfield com.google.common.escape.ArrayBasedUnicodeEscaper.safeMax:I
9: iload 2
ldc 55296
if_icmplt 13
10: aload 0
ldc 65535
putfield com.google.common.escape.ArrayBasedUnicodeEscaper.safeMinChar:C
11: aload 0
iconst_0
putfield com.google.common.escape.ArrayBasedUnicodeEscaper.safeMaxChar:C
12: goto 15
13: StackMap locals:
StackMap stack:
aload 0
iload 2
i2c
putfield com.google.common.escape.ArrayBasedUnicodeEscaper.safeMinChar:C
14: aload 0
iload 3
ldc 55295
invokestatic java.lang.Math.min:(II)I
i2c
putfield com.google.common.escape.ArrayBasedUnicodeEscaper.safeMaxChar:C
15: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/google/common/escape/ArrayBasedUnicodeEscaper;
0 16 1 escaperMap Lcom/google/common/escape/ArrayBasedEscaperMap;
0 16 2 safeMin I
0 16 3 safeMax I
0 16 4 unsafeReplacement Ljava/lang/String;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
escaperMap
safeMin
safeMax
unsafeReplacement
public final java.lang.String escape(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iconst_0
istore 2
start local 2 2: goto 9
3: StackMap locals: int
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 4: iload 3
aload 0
getfield com.google.common.escape.ArrayBasedUnicodeEscaper.replacementsLength:I
if_icmpge 5
aload 0
getfield com.google.common.escape.ArrayBasedUnicodeEscaper.replacements:[[C
iload 3
aaload
ifnonnull 7
5: StackMap locals: int
StackMap stack:
iload 3
aload 0
getfield com.google.common.escape.ArrayBasedUnicodeEscaper.safeMaxChar:C
if_icmpgt 7
6: iload 3
aload 0
getfield com.google.common.escape.ArrayBasedUnicodeEscaper.safeMinChar:C
if_icmpge 8
7: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual com.google.common.escape.ArrayBasedUnicodeEscaper.escapeSlow:(Ljava/lang/String;I)Ljava/lang/String;
areturn
end local 3 8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 2 10: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/google/common/escape/ArrayBasedUnicodeEscaper;
0 11 1 s Ljava/lang/String;
2 10 2 i I
4 8 3 c C
MethodParameters:
Name Flags
s
protected final char[] escape(int);
descriptor: (I)[C
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.google.common.escape.ArrayBasedUnicodeEscaper.replacementsLength:I
if_icmpge 4
1: aload 0
getfield com.google.common.escape.ArrayBasedUnicodeEscaper.replacements:[[C
iload 1
aaload
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
areturn
end local 2 4: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield com.google.common.escape.ArrayBasedUnicodeEscaper.safeMin:I
if_icmplt 6
iload 1
aload 0
getfield com.google.common.escape.ArrayBasedUnicodeEscaper.safeMax:I
if_icmpgt 6
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual com.google.common.escape.ArrayBasedUnicodeEscaper.escapeUnsafe:(I)[C
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/escape/ArrayBasedUnicodeEscaper;
0 7 1 cp I
2 4 2 chars [C
MethodParameters:
Name Flags
cp
protected final int nextEscapeIndex(java.lang.CharSequence, int, int);
descriptor: (Ljava/lang/CharSequence;II)I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: goto 7
1: StackMap locals:
StackMap stack:
aload 1
iload 2
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 4
start local 4 2: iload 4
aload 0
getfield com.google.common.escape.ArrayBasedUnicodeEscaper.replacementsLength:I
if_icmpge 3
aload 0
getfield com.google.common.escape.ArrayBasedUnicodeEscaper.replacements:[[C
iload 4
aaload
ifnonnull 8
3: StackMap locals: int
StackMap stack:
iload 4
aload 0
getfield com.google.common.escape.ArrayBasedUnicodeEscaper.safeMaxChar:C
if_icmpgt 8
4: iload 4
aload 0
getfield com.google.common.escape.ArrayBasedUnicodeEscaper.safeMinChar:C
if_icmpge 6
5: goto 8
6: StackMap locals:
StackMap stack:
iinc 2 1
end local 4 7: StackMap locals:
StackMap stack:
iload 2
iload 3
if_icmplt 1
8: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/escape/ArrayBasedUnicodeEscaper;
0 9 1 csq Ljava/lang/CharSequence;
0 9 2 index I
0 9 3 end I
2 7 4 c C
MethodParameters:
Name Flags
csq
index
end
protected abstract char[] escapeUnsafe(int);
descriptor: (I)[C
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
cp
}
SourceFile: "ArrayBasedUnicodeEscaper.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtCompatible()