public final class com.google.common.escape.CharEscaperBuilder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.escape.CharEscaperBuilder
super_class: java.lang.Object
{
private final java.util.Map<java.lang.Character, java.lang.String> map;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Character;Ljava/lang/String;>;
private int max;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield com.google.common.escape.CharEscaperBuilder.max:I
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.google.common.escape.CharEscaperBuilder.map:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/escape/CharEscaperBuilder;
public com.google.common.escape.CharEscaperBuilder addEscape(char, java.lang.String);
descriptor: (CLjava/lang/String;)Lcom/google/common/escape/CharEscaperBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.google.common.escape.CharEscaperBuilder.map:Ljava/util/Map;
iload 1
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iload 1
aload 0
getfield com.google.common.escape.CharEscaperBuilder.max:I
if_icmple 3
2: aload 0
iload 1
putfield com.google.common.escape.CharEscaperBuilder.max:I
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/escape/CharEscaperBuilder;
0 4 1 c C
0 4 2 r Ljava/lang/String;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
c
r
public com.google.common.escape.CharEscaperBuilder addEscapes(char[], java.lang.String);
descriptor: ([CLjava/lang/String;)Lcom/google/common/escape/CharEscaperBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: com.google.common.escape.CharEscaperBuilder char[] java.lang.String top int int char[]
StackMap stack:
2: aload 6
iload 4
caload
istore 3
start local 3 3: aload 0
iload 3
aload 2
invokevirtual com.google.common.escape.CharEscaperBuilder.addEscape:(CLjava/lang/String;)Lcom/google/common/escape/CharEscaperBuilder;
pop
end local 3 4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 2
6: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/escape/CharEscaperBuilder;
0 7 1 cs [C
0 7 2 r Ljava/lang/String;
3 4 3 c C
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
cs
r
public char[][] toArray();
descriptor: ()[[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield com.google.common.escape.CharEscaperBuilder.max:I
iconst_1
iadd
anewarray char[]
astore 1
start local 1 1: aload 0
getfield com.google.common.escape.CharEscaperBuilder.map:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.google.common.escape.CharEscaperBuilder char[][] top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Character
invokevirtual java.lang.Character.charValue:()C
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.String.toCharArray:()[C
aastore
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/escape/CharEscaperBuilder;
1 6 1 result [[C
3 4 2 entry Ljava/util/Map$Entry<Ljava/lang/Character;Ljava/lang/String;>;
public com.google.common.escape.Escaper toEscaper();
descriptor: ()Lcom/google/common/escape/Escaper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.escape.CharEscaperBuilder$CharArrayDecorator
dup
aload 0
invokevirtual com.google.common.escape.CharEscaperBuilder.toArray:()[[C
invokespecial com.google.common.escape.CharEscaperBuilder$CharArrayDecorator.<init>:([[C)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/escape/CharEscaperBuilder;
}
SourceFile: "CharEscaperBuilder.java"
NestMembers:
com.google.common.escape.CharEscaperBuilder$CharArrayDecorator
InnerClasses:
private CharArrayDecorator = com.google.common.escape.CharEscaperBuilder$CharArrayDecorator of com.google.common.escape.CharEscaperBuilder
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtCompatible()