![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.escape.ArrayBasedUnicodeEscaper.class Maven / Gradle / Ivy
???? 4 }
-com/google/common/escape/ArrayBasedEscaperMap create @(Ljava/util/Map;)Lcom/google/common/escape/ArrayBasedEscaperMap;
1com/google/common/escape/ArrayBasedUnicodeEscaper F(Lcom/google/common/escape/ArrayBasedEscaperMap;IILjava/lang/String;)V
'com/google/common/escape/UnicodeEscaper ()V
$com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object;
getReplacementArray ()[[C replacements [[C ! " # replacementsLength I % java/lang/Integer??? ( ) # safeMin + , # safeMax . java/lang/Character ? ?? 2 3 4 safeMinChar C 6 7 4 safeMaxChar ??
: ; < = > java/lang/Math min (II)I
@ A B C D java/lang/String length ()I
@ F G H charAt (I)C
J K L
escapeSlow '(Ljava/lang/String;I)Ljava/lang/String;
N O P escapeUnsafe (I)[C R F S java/lang/CharSequence &(Ljava/util/Map;IILjava/lang/String;)V Code LineNumberTable LocalVariableTable this 3Lcom/google/common/escape/ArrayBasedUnicodeEscaper; replacementMap Ljava/util/Map; unsafeReplacement Ljava/lang/String; LocalVariableTypeTable 8Ljava/util/Map; MethodParameters Signature O(Ljava/util/Map;IILjava/lang/String;)V RuntimeVisibleTypeAnnotations 5Lorg/checkerframework/checker/nullness/qual/Nullable;
escaperMap /Lcom/google/common/escape/ArrayBasedEscaperMap;
StackMapTable escape &(Ljava/lang/String;)Ljava/lang/String; c i s chars [C cp RuntimeVisibleAnnotations Ljavax/annotation/CheckForNull; nextEscapeIndex (Ljava/lang/CharSequence;II)I csq Ljava/lang/CharSequence; index end
SourceFile ArrayBasedUnicodeEscaper.java :Lcom/google/common/escape/ElementTypesAreNonnullByDefault; RuntimeInvisibleAnnotations -Lcom/google/common/annotations/GwtCompatible;! " # ) # , # 3 4 7 4 T U u
*+? ? ? V
N O W 4
X Y
Z [
) #
, #
\ ] ^
Z _ ` Z ) , \ a b c d U ? T*?
+? W*+? ? **? ?? ? >&=*? '*? */? *0? 1*? 5? *?? 1*8? 9?? 5? V > d e f g h k ! l $ n ) o . ~ 4 ? : ? B ? H ? S ? W 4 T X Y T e f T ) # T , # T \ ] g ? $ @ ` e ) , \ c d h i U ? E+? W=+? ?? 7+? E>*? ? *? 2? *? 5? *? 1?
*+? I?????+? V ? ? ? ? 6 ? = ? C ? W * ( j 4 <