com.google.common.base.CaseFormat.class Maven / Gradle / Ivy
???? 4 ?
!com/google/common/base/CaseFormat firstCharOnlyToUpper &(Ljava/lang/String;)Ljava/lang/String;
L(Ljava/lang/String;ILcom/google/common/base/CharMatcher;Ljava/lang/String;)V
LOWER_HYPHEN #Lcom/google/common/base/CaseFormat; LOWER_UNDERSCORE LOWER_CAMEL UPPER_CAMEL UPPER_UNDERSCORE $VALUES $[Lcom/google/common/base/CaseFormat;
! " # clone ()Ljava/lang/Object;
% & ' ( ) java/lang/Enum valueOf 5(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
% + , (Ljava/lang/String;I)V . / 0 wordBoundary $Lcom/google/common/base/CharMatcher; 2 3 4
wordSeparator Ljava/lang/String;
6 7 8 9 : $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object;
< = > convert I(Lcom/google/common/base/CaseFormat;Ljava/lang/String;)Ljava/lang/String;
@ A B C D "com/google/common/base/CharMatcher indexIn (Ljava/lang/CharSequence;I)I F java/lang/StringBuilder
H I J K L java/lang/String length ()I
E N O (I)V
H Q R S substring (II)Ljava/lang/String;
U V normalizeFirstWord
E X Y Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
\ ] ^ _ : java/util/Objects requireNonNull
a b
normalizeWord
H d R e (I)Ljava/lang/String;
E g h i toString ()Ljava/lang/String; k 1com/google/common/base/CaseFormat$StringConverter
j m n I(Lcom/google/common/base/CaseFormat;Lcom/google/common/base/CaseFormat;)V
H p q r isEmpty ()Z
E t u ()V
H w x y charAt (I)C
{ | } ~ com/google/common/base/Ascii toUpperCase (C)C
E ? Y ? (C)Ljava/lang/StringBuilder;
{ ? ? toLowerCase ? #com/google/common/base/CaseFormat$1
@ ? ? ? is '(C)Lcom/google/common/base/CharMatcher; ? -
? ? #com/google/common/base/CaseFormat$2 ? _
? ? #com/google/common/base/CaseFormat$3
@ ? ? ? inRange ((CC)Lcom/google/common/base/CharMatcher; ?
? ? #com/google/common/base/CaseFormat$4
? ? #com/google/common/base/CaseFormat$5
?
? ? ? $values &()[Lcom/google/common/base/CaseFormat; values Code LineNumberTable 7(Ljava/lang/String;)Lcom/google/common/base/CaseFormat; LocalVariableTable name MethodParameters this
$enum$name
$enum$ordinal Signature 9(Lcom/google/common/base/CharMatcher;Ljava/lang/String;)V to format str
StackMapTable s out Ljava/lang/StringBuilder; i I j converterTo G(Lcom/google/common/base/CaseFormat;)Lcom/google/common/base/Converter; targetFormat m(Lcom/google/common/base/CaseFormat;)Lcom/google/common/base/Converter; word q(Ljava/lang/String;ILcom/google/common/base/CharMatcher;Ljava/lang/String;Lcom/google/common/base/CaseFormat$1;)V x0 x1 x2 x3 x4 %Lcom/google/common/base/CaseFormat$1;
access$100 5Ljava/lang/Enum;
SourceFile CaseFormat.java RuntimeVisibleAnnotations 8Lcom/google/common/base/ElementTypesAreNonnullByDefault; RuntimeInvisibleAnnotations -Lcom/google/common/annotations/GwtCompatible; InnerClasses StringConverterD! % @
@ @ @ @ / 0 3 4
? ? ? "
? ? ? ? ? ( ? ? 4
*? $? ? ? ?
? 4 ? ??
? \ *+? **-? -*? 1? ? s t u v ? ? / 0 3 4 ? ? ? / 3 ? ? ? > ? m +? 5W,? 5W+*? ,? *+,? ;? ? ~
? ? ? ? ? 4 ? E H ? ? ? = > ? I ?N66*? -,?? ?Y6? a? -? EY,? G+? 1? Gh`? MN-+,? P? T? WW? -? [? E+,? P? `? WW-+? 1? WW*? 1? G`6???? +,? T? -? [? E+,? c? `? W? f? ? : ? ? ? ? ? ! ? 7 ? K ? b ? k ? z ? ? ? ? ? ? ? > ? ? ? ? ? ? 4 ? ? ? ? ? ? ? ? ? ? ? E? BV H ? ? ? ? ? ? >
? jY*+? l? ? ? ?
?
? ? ? ? ? b ? ? V ? : *+? `? ? ? ? ? ? 4 ? ?
? o ,*? o? *? #? EY? s*? v? z? ?*? c? ?? W? f? ? ? ? ? + ? ? , ? 4 ? _ H ? ?
? ? ? ; #? Y? SY? SY? SY? SY? S? ? ? ? f
*+-? ? ? ! ? >
?
? 4
? ?
? 0
? 4
? ? ? ? / *? ? ? ! ? ? 4 ? u ? ? o? ?Y?-? ??? ?? ? ?Y?_? ??? ?? ? ?Y?AZ? ??? ?? ? ?Y?AZ? ??? ?? ? ?Y?_? ??? ?? ? ?? ? ? # 6 ( I > V T ^ h ? ? ? ? ? ? ? ? ? 2 j ? ? @ ? @ ? @ ? @ ? @