public final class com.google.common.escape.ArrayBasedEscaperMap
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.escape.ArrayBasedEscaperMap
super_class: java.lang.Object
{
private final char[][] replacementArray;
descriptor: [[C
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final char[][] EMPTY_REPLACEMENT_ARRAY;
descriptor: [[C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_0
iconst_0
multianewarray [[C 2
putstatic com.google.common.escape.ArrayBasedEscaperMap.EMPTY_REPLACEMENT_ARRAY:[[C
return
LocalVariableTable:
Start End Slot Name Signature
public static com.google.common.escape.ArrayBasedEscaperMap create(java.util.Map<java.lang.Character, java.lang.String>);
descriptor: (Ljava/util/Map;)Lcom/google/common/escape/ArrayBasedEscaperMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.escape.ArrayBasedEscaperMap
dup
aload 0
invokestatic com.google.common.escape.ArrayBasedEscaperMap.createReplacementArray:(Ljava/util/Map;)[[C
invokespecial com.google.common.escape.ArrayBasedEscaperMap.<init>:([[C)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 replacements Ljava/util/Map<Ljava/lang/Character;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/Character;Ljava/lang/String;>;)Lcom/google/common/escape/ArrayBasedEscaperMap;
MethodParameters:
Name Flags
replacements
private void <init>(char[][]);
descriptor: ([[C)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.google.common.escape.ArrayBasedEscaperMap.replacementArray:[[C
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/escape/ArrayBasedEscaperMap;
0 3 1 replacementArray [[C
MethodParameters:
Name Flags
replacementArray
char[][] getReplacementArray();
descriptor: ()[[C
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.escape.ArrayBasedEscaperMap.replacementArray:[[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/escape/ArrayBasedEscaperMap;
static char[][] createReplacementArray(java.util.Map<java.lang.Character, java.lang.String>);
descriptor: (Ljava/util/Map;)[[C
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokeinterface java.util.Map.isEmpty:()Z
ifeq 3
2: getstatic com.google.common.escape.ArrayBasedEscaperMap.EMPTY_REPLACEMENT_ARRAY:[[C
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.max:(Ljava/util/Collection;)Ljava/lang/Object;
checkcast java.lang.Character
invokevirtual java.lang.Character.charValue:()C
istore 1
start local 1 4: iload 1
iconst_1
iadd
anewarray char[]
astore 2
start local 2 5: aload 0
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: java.util.Map int char[][] top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Character
invokevirtual java.lang.Character.charValue:()C
istore 3
start local 3 7: aload 2
iload 3
aload 0
iload 3
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.toCharArray:()[C
aastore
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 map Ljava/util/Map<Ljava/lang/Character;Ljava/lang/String;>;
4 10 1 max C
5 10 2 replacements [[C
7 8 3 c C
Signature: (Ljava/util/Map<Ljava/lang/Character;Ljava/lang/String;>;)[[C
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN, location=[ARRAY_ELEMENT, ARRAY_ELEMENT]
com.google.common.annotations.VisibleForTesting()
MethodParameters:
Name Flags
map
}
SourceFile: "ArrayBasedEscaperMap.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtCompatible()