
com.groupbyinc.flux.common.google.common.escape.UnicodeEscaper.class Maven / Gradle / Ivy
???? 2 ? >com/groupbyinc/flux/common/google/common/escape/UnicodeEscaper 7com/groupbyinc/flux/common/google/common/escape/Escaper UnicodeEscaper.java ;Lcom/groupbyinc/flux/common/google/common/annotations/Beta; DLcom/groupbyinc/flux/common/google/common/annotations/GwtCompatible; DEST_PAD I ()V
this @Lcom/groupbyinc/flux/common/google/common/escape/UnicodeEscaper; escape (I)[C nextEscapeIndex (Ljava/lang/CharSequence;II)I codePointAt
java/lang/Character isSupplementaryCodePoint (I)Z
java/lang/CharSequence cp csq Ljava/lang/CharSequence; start end index &(Ljava/lang/String;)Ljava/lang/String; ;com/groupbyinc/flux/common/google/common/base/Preconditions ) checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; + ,
* - java/lang/String / length ()I 1 2
0 3
5
escapeSlow '(Ljava/lang/String;I)Ljava/lang/String; 7 8
9 string Ljava/lang/String; 8com/groupbyinc/flux/common/google/common/escape/Platform = charBufferFromThreadLocal ()[C ? @
> A [C C "java/lang/IllegalArgumentException E 'Trailing high surrogate at end of input G (Ljava/lang/String;)V I
F J
growBuffer ([CII)[C L M
N getChars (II[CI)V P Q
0 R java/lang/System T arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V V W
U X ([CII)V Z
0 [
destLength charsSkipped
sizeNeeded escaped nextIndex endIndex s dest destIndex unescapedChunkStart charAt (I)C g h ! i ? ?? ?? isLowSurrogate (C)Z n o
p toCodePoint (CC)I r s
t valueOf &(Ljava/lang/Object;)Ljava/lang/String; v w
0 x java/lang/StringBuilder z (I)V |
{ } %Expected low surrogate but got char ' append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
{ ? (C)Ljava/lang/StringBuilder; ? ?
{ ?
' with value ? (I)Ljava/lang/StringBuilder; ? ?
{ ?
at index ? in ' ? ' ? toString ()Ljava/lang/String; ? ?
{ ? $Unexpected low surrogate character ' ? #java/lang/IndexOutOfBoundsException ? Index exceeds specified range ?
? J c2 C c1 seq size copy
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile RuntimeInvisibleAnnotations! ?
? / *? ? ? ? A ? ? ;6? 2+? 6? $*? ? ? ? ? ? `6???? ? > # " ; ; # $ ; % ; &